HOW TO BURN BOOTLOADER IN ATMEGA328P MICROCONTROLLER . HELP OF USING ARDUINO UNO

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 155

  • @bhavikbhate7864
    @bhavikbhate7864 2 года назад +10

    This is the best explanation ever.
    I was about to throw away my new atmega328P. However after successful burning the bootloader, I am now able to use the IC.
    Thank you

  • @siyabongaseti9054
    @siyabongaseti9054 3 года назад +22

    This is literally the best Bootloader ATmega328 chip video to to learn about the ATmega328 chip in the ATmega328 chip world.

    • @CCSDBAS
      @CCSDBAS Месяц назад

      Which chip was he using in the video? lol

  • @beethovenkasompe7395
    @beethovenkasompe7395 3 года назад +8

    the most well explained video on boot loading i have found so far. Thank you

  • @richardherring9307
    @richardherring9307 10 месяцев назад

    Your descriptions were excellent. I understand much more than before. Plus I now have "refreshed" and newly burned microcontrollers. You definitely have a new subscriber.

  • @spyrostsimpinos2985
    @spyrostsimpinos2985 2 года назад +1

    Thanks very much my men, all the day i was struggling with a usb to ttl, and with your video and arduino uno finally it works.

  • @ronmoz5815
    @ronmoz5815 Год назад +1

    i try today , i follow your demo. is successful, thanks

  • @jumbo999614
    @jumbo999614 3 года назад +5

    Hi, I'm a beginner. So to put bootloader into a chip, you use sketch called ArduinoISP with 'ArduinoISP' profile. After compiling and succesfully upload the sketch, you switch different profile called 'Arduino As ISP' and burn bootloader. Do I understand it correctly?
    Now how do I put a sketch to the new chip if I don't want to remove atmega chip from my working arduino?

  • @0124akash
    @0124akash 11 месяцев назад

    Clear and to the point, very knowledgeable vdo, thankyou sir.

  • @davidkinuthia1052
    @davidkinuthia1052 2 года назад +1

    hallo im could say gladly your a genius indeed i have followed every step and everything worked thanks man

  • @ArshadMehmood-kz6ez
    @ArshadMehmood-kz6ez Год назад

    Great Teaching Technique
    Very goog dilivery and practicals.thanks

  • @taz3837
    @taz3837 Год назад +3

    Great video! The music was too loud!!! Do your videos without music in the future so they are easier to watch!!!

  • @rajdeepdas86
    @rajdeepdas86 3 года назад +1

    very good video. now we can burn any code directly to the ATmega328 chip by using FTDI cable and make it work.

  • @DmitryStopkevich
    @DmitryStopkevich 2 года назад

    Thanks, now I can burn the bootloader to the ATMEGA THREE HUNDRED TWENTY EIGHT CHIP

  • @andrewmcisaac1363
    @andrewmcisaac1363 Год назад +1

    Thank you for this posting - it really helped me.

  • @karthikregu6952
    @karthikregu6952 3 года назад +2

    is it possible to chip to atmega 328 as i2c with out Arduino after programming in with Arduino

  • @Rich-can-do
    @Rich-can-do 10 месяцев назад

    Very nice now I want to set it up as 8mhz internal RC

    • @Circuitoptimize23
      @Circuitoptimize23  10 месяцев назад +1

      For an Arduino, you can set it up to use the internal 8MHz clock. Configure your Arduino to utilize the internal 8MHz clock, and remember to adjust any timing-sensitive parts of your code accordingly, as the clock frequency has changed. If your arduino originally had a 16MHz external crystal, this alteration might impact the timing of your program.

  • @IamKoala
    @IamKoala 3 года назад +4

    Very clear and helpful. You're a life saver :)

  • @victorugoo8683
    @victorugoo8683 3 года назад +1

    I have a problem, I have tried all your step as you mentioned but trying to burn bootloader, is telling me this error message "could not find usbtiny device (0x2341/0x49)

  • @tiennguyenminh6454
    @tiennguyenminh6454 3 года назад +4

    Very clear and helpful!! Thank you so much !

  • @k9gh25
    @k9gh25 3 года назад +1

    My Arduino UNO has a surface mount chip and not through hole can i use the same method to burn bootloader on a through hole microcontroller? I want to use the new microcontroller on a breadboard with Arduino codes not to replace the old chip on my Arduino.

  • @madushanjayasinghe4264
    @madushanjayasinghe4264 2 года назад +1

    very clear explanation

  • @Danny-vm6hz
    @Danny-vm6hz 3 года назад +1

    Wow, you made it easier.... thanks for the video 👏

  • @juanmanuelluciasegovia4636
    @juanmanuelluciasegovia4636 2 года назад

    Thanks for saving my exam scorexD

  • @kprathikkamath4883
    @kprathikkamath4883 Год назад +1

    This helped a lot thanks for the crystal clear content

  • @gtechninja
    @gtechninja 3 года назад

    oh bro I don't know what to say. it took me to understand this. tnx, a lot !!!

  • @fenixmunozgarcia2021
    @fenixmunozgarcia2021 2 года назад +3

    I have this error:
    Error quemando bootloader
    avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.

    • @PanicProductions
      @PanicProductions Месяц назад

      Avrdude dislikes your lovely 328-PU chips and says “avrdude: Yikes! Invalid device signature.” or "avrdude: Expected signature for ATMEGA328P is 1E 95 0F"
      Soln:- This problem happens becoz ur arduino uses 328p - pu and if u bought 328pu(a couple dollars cheap).
      The soln is to modify Arduino > hardware >tools>avr>etc and open avrdude.conf file as word document.keep backup of this file incase u mess up.
      find 1E 95 0F text under Atmega328 and change it to 1E 95 14 and save.
      restart arduino environment and burn bootloaders on all ur chips.use status leds as mogul said.they help a lot.
      After burning change the text in avrdude.conf file back to 1E 95 0F and restart arduino ide.Then u can uplode code normally.

  • @AndreeewP
    @AndreeewP Месяц назад

    If the chip has an internal clock is there a method to program without the oscillator and capacitors?

  • @ronmoz5815
    @ronmoz5815 2 года назад +1

    thanks the explanation, i learned something

  • @kingmusicbeats6915
    @kingmusicbeats6915 2 года назад +1

    thank you so much sir very helpful video

  • @vargheseselestin5552
    @vargheseselestin5552 3 года назад +1

    Thanks man
    It's really working perfectly

  • @bappapan1297
    @bappapan1297 3 года назад +1

    thank you Sir for such a nice explanation.

  • @Engbic
    @Engbic 3 года назад +2

    Bunch of thanks to you for your helpful explanation.

  • @petervanderhilst2801
    @petervanderhilst2801 Год назад

    Very clear and helpful. thanks a lot

  • @mertman9625
    @mertman9625 4 года назад +2

    Very very thanks for this. Good explanation

  • @lenspalace3942
    @lenspalace3942 Год назад +1

    GREAT TEACHER!

  • @bharatkumar9048
    @bharatkumar9048 4 месяца назад

    Thanks a lot. New chip working

  • @erfanborhani246
    @erfanborhani246 Год назад

    Thank you Sir , problem solved 🫡

  • @skiciful
    @skiciful 3 года назад +1

    Does it work with atmega 32u4 too? Can we burn bootloader to a smd type 32u4 with arduino uno like you showed?

  • @mahaveerkatighar7232
    @mahaveerkatighar7232 Год назад

    Hello! Could you please provide guidance on how to bootload an ATmega328P?

  • @owaismech6596
    @owaismech6596 3 года назад

    Sir, i have a request for you please making video on how to burn bootloader into to atmega328p by using Arduino Nano please.

  • @motazmsaddak5242
    @motazmsaddak5242 3 года назад

    doesn't work for me... I don't know why
    this is the error message :
    avrdude: Expected signature for ATmega328P is 1E 95 0F
    Double check chip, or use -F to override this check.
    Erreur lors de la gravure de la séquence d'initialisation.
    Ce rapport pourrait être plus détaillé avec
    l'option "Afficher les résultats détaillés de la compilation"
    activée dans Fichier -> Préférences.

  • @andre4419
    @andre4419 Год назад

    Would like to know, I'm doing a project with Arduino and already programmed him. But I had to change the code so needed to program again. I need to do all this steps again, like load Arduino as ISP to Atmega328?

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      Yes, if you need to reprogram your Atmega328 chip, you will need to follow the steps to load the Arduino as ISP onto the chip again. This includes connecting the appropriate wires and using the Arduino IDE to upload the ISP sketch. Once the Arduino is set up as an ISP, you can then upload your new code to the Atmega328 chip using the appropriate programmer settings in the IDE.

  • @cxshoppermag3239
    @cxshoppermag3239 Год назад

    short and sweet, thank you :)

  • @BrunoTechno
    @BrunoTechno 3 года назад +1

    help me pls this methode not work for me
    ( avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check)
    i have two new atmega328p

    • @fenixmunozgarcia2021
      @fenixmunozgarcia2021 2 года назад

      I have the same problem, did you fix it?

    • @PanicProductions
      @PanicProductions Месяц назад

      Avrdude dislikes your lovely 328-PU chips and says “avrdude: Yikes! Invalid device signature.” or "avrdude: Expected signature for ATMEGA328P is 1E 95 0F"
      Soln:- This problem happens becoz ur arduino uses 328p - pu and if u bought 328pu(a couple dollars cheap).
      The soln is to modify Arduino > hardware >tools>avr>etc and open avrdude.conf file as word document.keep backup of this file incase u mess up.
      find 1E 95 0F text under Atmega328 and change it to 1E 95 14 and save.
      restart arduino environment and burn bootloaders on all ur chips.use status leds as mogul said.they help a lot.
      After burning change the text in avrdude.conf file back to 1E 95 0F and restart arduino ide.Then u can uplode code normally.

  • @pradipbhattacharjee1932
    @pradipbhattacharjee1932 2 года назад

    I understand
    Thank u sir
    Now how can I program led pixel software in this chip plz help
    Pz help

  • @ps_abhishek
    @ps_abhishek 3 года назад +4

    താങ്ക്യൂ..👌👏
    This video helps me a lot.❤️👏

    • @Circuitoptimize23
      @Circuitoptimize23  3 года назад +3

      നന്ദി സഹോദരാ

    • @ps_abhishek
      @ps_abhishek 3 года назад +1

      @@Circuitoptimize23 😳😳 WTH..
      R you Malayali?🤔

    • @Circuitoptimize23
      @Circuitoptimize23  3 года назад +2

      😉.. Yes

    • @AdithyanKNair
      @AdithyanKNair 3 года назад

      @@Circuitoptimize23 poli...engane ingane nannayitt english samsarikkan padichu.source onnu parayamo plzz

    • @Circuitoptimize23
      @Circuitoptimize23  3 года назад

      Athu oruu valeya storyaa 😁😜

  • @0124akash
    @0124akash 11 месяцев назад

    Sir am design digital DC Volt metre using UNO board, working is fine. But using only ATmega ic + 16MHz crystal, working is not fine LCD reading is very fluctuate. Program is same. Any solution sir ?

    • @Circuitoptimize23
      @Circuitoptimize23  10 месяцев назад

      Fluctuations in the LCD reading could be due to issues with the power supply or noise affecting the analog components. Ensure a stable power source for the ATmega IC, check the connections, and consider adding decoupling capacitors near the power pins. Additionally, grounding and shielding can help reduce noise. Double-check the wiring and try isolating potential sources of interference.

  • @amirkharchi4273
    @amirkharchi4273 Год назад +1

    Thank you brother

  • @aijazahmed9113
    @aijazahmed9113 2 года назад +1

    Nice

  • @eletrotheory8398
    @eletrotheory8398 3 года назад

    Would this work with arduino leonardo chip? Atmega32u4?

  • @Dailyoneminute1
    @Dailyoneminute1 4 месяца назад

    THANK YOU VERY MUCH, LOVE YOU MAN LOVE YOU

  • @dieg006z
    @dieg006z Год назад

    I get this error
    avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1a
    What I can do?

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      The Arduino IDE displays anavrdude: stk500_recv(): programmer is not responding error message indicating its inability to establish communication with the ATmega328PU chip. To address this issue, you can consider a few potential solutions. First, updating the Arduino IDE software might prove helpful. Additionally, installing the latest drivers for your USB port could resolve the problem. Ensuring that the ATmega328PU chip is in reset mode before attempting to burn the bootloader is essential; this can be achieved by grounding the reset pin on the chip. For Mac users, trying the deactivation of the "USB Debugging" option in the Arduino IDE preferences might be worth considering.

  • @Boyner.
    @Boyner. Год назад

    May I ask, if it is a chip type, bootloader connection is all the same, right?

  • @wolleausmallo1
    @wolleausmallo1 2 года назад

    I forgot. Was that really an ATMEGAthreehundredtwentyeightmicrocontrollerchip?

  • @apoorvgupta9617
    @apoorvgupta9617 Год назад +1

    Arduino: 1.8.15 (Windows 10), Board: "Arduino Uno"
    Error while burning bootloader.
    avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.

    • @gabrielpereira9061
      @gabrielpereira9061 Год назад

      Same here. Did you solve it?

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      Sorry for the late reply.. So if you're issue is related on (Invalid device signature) so this the common problem. Invalid device signature error indicates that the signature read from the microcontroller does not match what is expected for the selected microcontroller. Make sure Ensure that the clock frequency settings in the Arduino IDE match the clock configuration of your microcontroller. The ATmega328P can be operated at different clock frequencies, and this needs to be correctly set in your code. And select the correct microcontroller model in the Arduino IDE or programming software. For an ATmega328PU, you should select "ATmega328P" as the board. If you've double-checked all of these aspects and are still encountering the error, you might want to try using the -F flag as suggested in the error message to override the device signature check. However, be cautious with this approach as it might lead to programming the microcontroller with incorrect settings.

  • @sufisongsroohanichannel5577
    @sufisongsroohanichannel5577 3 года назад +1

    Dear sir hi, when I upload the program in arduino uno like a blink led or fade program through android phone, mobile screen show,
    Error, problem up loading to board.
    Plz help me explain me how I fix this problem.
    I also select the arduino uno board in board setting. I tried so many time but same issue plz help me, explain me, if you no mind plz help me thnx.

    • @Circuitoptimize23
      @Circuitoptimize23  3 года назад

      Sir my recommend please used PC... If you going to burn arduino bootloader I highly recommend pc version arduino ide,

  • @plus10per-tacer95
    @plus10per-tacer95 2 года назад +1

    Can I use 104 instead of capacitor 22?

  • @aalaz6913
    @aalaz6913 Год назад

    How can i fix this? avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.
    Thank you

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      Check Connections: Ensure all connections between the programmer and AVR microcontroller are secure and correct.
      Clock Settings: Match the clock settings in your programming software with the microcontroller's actual clock frequency.
      Device Selection: Select the correct microcontroller model in your programming software.
      If the issue persists, consider trying a different set of hardware components or using the -F flag with AVRDUDE to override the check.Please try these steps and check if they resolve the issue. If you continue to face problems, kindly provide more details about your setup. Alternatively, you can join my WhatsApp, and I will guide you through the troubleshooting process.

  • @arduinomaquinas
    @arduinomaquinas Год назад +1

    Very good ❤👏👏👏👏👏🇧🇷😉👍

  • @matyasfazekas2481
    @matyasfazekas2481 3 года назад +1

    Hi!
    When I tryed to burn the bootloader to the chip, I recieved the folowwing message:
    avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.
    Can anybody help me?

    • @fenixmunozgarcia2021
      @fenixmunozgarcia2021 2 года назад

      I have the same problem, did you fix it?

    • @matyasfazekas2481
      @matyasfazekas2481 2 года назад

      @@fenixmunozgarcia2021 yeah, i had contact problema on the breadboard

    • @fenixmunozgarcia2021
      @fenixmunozgarcia2021 2 года назад

      @@matyasfazekas2481 Oh, thanks, maybe that is also my problem.

  • @mazharkhaliq1971
    @mazharkhaliq1971 10 месяцев назад

    Really helpfull thank you

  • @FrustratedBaboon
    @FrustratedBaboon 3 года назад +1

    I bought 6 of those chips and I threw them in the bon fire with some gasoline. They are now all burned.

  • @Danny-vm6hz
    @Danny-vm6hz 3 года назад +1

    Thanks a lot I really needed this🙏

  • @musix_lane
    @musix_lane 2 года назад

    Is there any possible way to do this using a phone?😐 Im asking bcz i doesn't have a pc

    • @Circuitoptimize23
      @Circuitoptimize23  2 года назад

      Must need pc are laptop .. Not possible in phone...

    • @musix_lane
      @musix_lane 2 года назад

      @@Circuitoptimize23 😥

  • @sirashsayanju793
    @sirashsayanju793 3 года назад +1

    why i have this problem..
    Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
    avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.

    • @blackhatgaming5497
      @blackhatgaming5497 3 года назад +1

      Same problem bro

    • @MirAclE-mf2pu
      @MirAclE-mf2pu 3 года назад +1

      Hey i am having the same issue, kindly help me to solve this i searched a lot to resolve this but cant find any solution for now, please help@ CREATIVE GENIUS

    • @MirAclE-mf2pu
      @MirAclE-mf2pu 3 года назад +1

      @@Circuitoptimize23 i need some help, i am having same issue, error during upload how can i solve this one

  • @roghibashfahani15
    @roghibashfahani15 Год назад

    hello sir can you make standalone programmer for arduino without PC, maybe the arduino using SDcard for save the hex file then just like click the push button and it going flash the atmega8

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      Creating a standalone programmer for Arduino without a PC is indeed possible. You can use an Arduino board to achieve this, along with an SD card module and a simple user interface, such as buttons and a display. However, implementing this would require a good understanding of Arduino programming, knowledge of the AVR programming protocol, and careful hardware connections to ensure proper functioning.

    • @roghibashfahani15
      @roghibashfahani15 Год назад

      @@Circuitoptimize23 can you make a tutorial for that

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      May be in future..

  • @Sumanth-t7w
    @Sumanth-t7w 10 месяцев назад

    hello sir....I have this error, can you please help me resolve it .......avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.
    Failed chip erase: uploading error: exit status 1

    • @desenhos.dafé
      @desenhos.dafé 7 месяцев назад

      same here.

    • @PanicProductions
      @PanicProductions Месяц назад

      Avrdude dislikes your lovely 328-PU chips and says “avrdude: Yikes! Invalid device signature.” or "avrdude: Expected signature for ATMEGA328P is 1E 95 0F"
      Soln:- This problem happens becoz ur arduino uses 328p - pu and if u bought 328pu(a couple dollars cheap).
      The soln is to modify Arduino > hardware >tools>avr>etc and open avrdude.conf file as word document.keep backup of this file incase u mess up.
      find 1E 95 0F text under Atmega328 and change it to 1E 95 14 and save.
      restart arduino environment and burn bootloaders on all ur chips.use status leds as mogul said.they help a lot.
      After burning change the text in avrdude.conf file back to 1E 95 0F and restart arduino ide.Then u can uplode code normally.

  • @bootakaiser6561
    @bootakaiser6561 3 года назад +1

    Please share synmatic diagram of 5.1 amplifier

  • @rjkkumar2808
    @rjkkumar2808 4 года назад +1

    Can I re-burn my old ic?

  • @tolakangin2042
    @tolakangin2042 2 года назад +1

    can this method be applied using arduino nano or arduino pro mini?
    Thanks

    • @Circuitoptimize23
      @Circuitoptimize23  2 года назад

      Arduino nano possible this method, but pro mini not possible...

    • @tolakangin2042
      @tolakangin2042 2 года назад

      @@Circuitoptimize23
      ok thanks

  • @0124akash
    @0124akash 11 месяцев назад

    Sir how to upload program without removing the UNO board ic ?

    • @Circuitoptimize23
      @Circuitoptimize23  11 месяцев назад

      Contact me on what's app.. Number provide in the video description...

  • @ranasingha2273
    @ranasingha2273 3 года назад

    Pixel dezin ka hex or bin file arduino sa progrem ho sakta hi

  • @vishalr4551
    @vishalr4551 3 месяца назад

    thank you so much

  • @mahmoudabdelghany7782
    @mahmoudabdelghany7782 Год назад

    I have an error while burning:expected signature for at mega 328p is 1e 95 0f
    Use -f to override error while burning

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      It looks like you're encountering an error while trying to burn a program onto an ATmega328P microcontroller. The error message 'expected signature for at mega 328p is 1e 95 0f' usually indicates a mismatch between the target microcontroller and the one selected in your programming environment. To resolve this, please double-check the following
      Ensure, you've selected the correct microcontroller model (ATmega328P) in your programming software.
      Verify your connections between the programmer and the microcontroller, making sure they are secure and correctly wired.
      Confirm that you have the appropriate bootloader and firmware for your specific ATmega328P chip version.

    • @mahmoudabdelghany7782
      @mahmoudabdelghany7782 Год назад

      @@Circuitoptimize23 the error is corrected thank you ❤❤🥰

  • @pivot947
    @pivot947 2 года назад +1

    Thank you!!

  • @buckybarnes7337
    @buckybarnes7337 2 года назад

    why mine keep saying invalid device signature TT help plsss

  • @ssaahil
    @ssaahil Год назад

    Is it possible to do it with ATmega32A?

  • @dranwariqbal
    @dranwariqbal 4 месяца назад

    Can i use 20mhz crystal??

  • @owaismech6596
    @owaismech6596 3 года назад

    sir can we replace atmega328p-pu wit atmega328p-u, please reply

  • @MikeRamirez
    @MikeRamirez 3 года назад

    Pretty awesome!

  • @bamrahelectronics6176
    @bamrahelectronics6176 2 года назад

    Hello brother can we upload any code inAmega8-16pu ic.

    • @Circuitoptimize23
      @Circuitoptimize23  Год назад

      Yes, it is possible to upload code to an Atmega8-16PU IC. The process is called "programming" and it typically involves using a programmer device connected to the IC and a computer running software to transfer the code to the IC's memory. The specific process will depend on the programmer and software being used.

  • @hsvs4064
    @hsvs4064 4 года назад +2

    👍

  • @معتصمالعراقي-ن9ه
    @معتصمالعراقي-ن9ه Месяц назад

    think you

  • @نشوانالظاهر-م9ف
    @نشوانالظاهر-م9ف Год назад

    👍👍👍👍👍❤👍👍👍👍👍

  • @lectuervcb8490
    @lectuervcb8490 3 года назад

    pls tell me background song name in this video

  • @sagnikaniruddha4364
    @sagnikaniruddha4364 Год назад

    Thanks

  • @DARA-6
    @DARA-6 3 года назад

    thank you

  • @varung3094
    @varung3094 3 года назад

    thanks 👍👍👍👍❤️

  • @SAM-xj9ur
    @SAM-xj9ur 3 года назад

    Sir can you please tell me why we use 22p F capacitor? can we use different values of capacitor also?? Plz Plz answer

    • @Circuitoptimize23
      @Circuitoptimize23  3 года назад

      No no you only used 22pf capacitor, for 16mhz oscillator...

  • @ichoosemovies7067
    @ichoosemovies7067 4 года назад

    i have a problem

  • @abhay3578
    @abhay3578 3 года назад

    500 w amplifier

  • @shawonafthab3572
    @shawonafthab3572 3 года назад

    Thanks soooooooo much