I finally get it to work. The problem for me is that at 4:08, the procedure was not explained enough. Spoken was "nano" but shown is "genuine UNO". There is no reason why "genuine UNO" is shown. Just confusing. Step four should be to SWITCH from UNO to nano without changing the comx. There is no comx for the nano, only the UNO. Programmer at the UNO should be "Arduino as ISP". This should be clear.
Well, sorry for the inconvenience. This is kind of an advanced video and may require some additional knowledge. The video demonstrates how to use Arduino Uno as ISP (In-system programming) to burn bootloader on Arduino Nano (ATmega 328). In step 4 UNO is used as ISP to burn Nano bootloader. In step 5 we switch to Nano for a test.
Some help in understanding the definition of bootloader at 0:43 What is meant by "at every reset"? Does it mean by the pressing of the reset button? It seems that it cannot be, since the pressing of the reset button is not needed to upload.
every time when you turn on (or restart) the board, the bootloader looks for a sketch/firmware to upload or if such is not detected it loads the existing firmware.
Great video and explanations.. I had to rewind video a few times, you was a bit too fast, and video was on the small side..I had to F11 to be able to see it better....otherwise excellent video..
So I had been struggling to get a Pro Micro to burn the bootloader because the device was not being recognized in Windows. I was trying to use a Mega2560R3 and kept getting a number of different errors. I watched a number of videos trying to resolve it with no luck and came across yours. I had just read the ISP code header comments and saw that white wire stretching over from pin 10 on you setup. *Smacks forehead* I was using the ICSP reset not pin 10! (as was noted in the fore mentioned code comments) Changed that and bam, newly burned loader! I also discovered my original issue of the device not showing up is/was an issue with the micro usb connector. If I pushed the connector all the way in it would not be seen. However, if I pulled it out slightly it would connect. I should have know as I would get intermittent connect/disconnects when attaching the usb cable. Ahhh, life on the edge LOL
Thanks for the feedback. I am happy that the video is useful. I tried to explain this advanced topic in a simple way and keep the video relatively short.
I noticed you are using an Arduino Uno with a SMD Atmega328P-AU chip. Have you tried using an Arduino Uno with a DIP Atmega328p-pu chip to burn the bootloader and does it work?
The purpose of the capacitor is to prevent the main board in this ISP setup from resetting while the serial port is opened. So eventually a different value may do the trick. In my opinion give it a try - does it work for you with100uF?
@@johanfernandoromoeligio7029 cool! Thanks for the feedback. It is a very useful knowledge. I am sure someone else might be interested in using a 100uF capacitor.
@@LeonAnavi yeah! Of course I could buy the correct capacitor, but the store is very far from my home and I am lazy, so I decided to try it and works! Thank u man, you saved my project :D
@@johanfernandoromoeligio7029 I totally understand you! I am happy to hear you found an alternative and it is working. Thanks for the feedback. In the recent years small local electronic stores are going out of business and it is often not worth ordering online something tiny like a single capacitor. I am lucky that there are still a few well-packed local shops in my hometown Plovdiv, Bulgaria.
yes, you can use a similar process to burn bootloader on Arduino Leonardo. It is also with Microchip ATmega32U4. How did you lose the COM port and USB port?
@@LeonAnavi i install a code for beamania IIDX the i don't know if i pressed the reset button or i append the another code without wiping (erase) the old data installed into leonardo
@@LeonAnavi (before the bad incident) i have a chatmate then he sent me a another (new) code. its called "joystick" code then added the konami library code
well, this is a very specific use case and since I am not familiar with the details about the situation I cannot provide exact recommendation. As troubleshooting I guess it is worth trying to upload a simple known arduino sketch and eventually to burn again proper bootloader.
In this tutorial Arduino Uno is used as ISP (In-system programming) to burn bootloader on AVR devices with Microchip ATmega 328, ATmega 32U4, etc. Arduino Nano is used just for an example.
Yes but it is tricky. There are useful articles online which can give you an idea what is required, for example: www.rapid7.com/blog/post/2019/04/16/extracting-firmware-from-microcontrollers-onboard-flash-memory-part-1-atmel-microcontrollers/
It should be possible to do it the same way as explained in the video. Btw Arduino docs share even more details: docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP
@@hennenberg88physqm16 the capacitor is required to prevent the Arduino from resetting when the serial port is opened during flashing. However, it is needed only for the boards that have an interface between the microcontroller and the computer's USB, like Mega, UNO, Mini, Nano. Boards like Leonardo, Esplora and Micro, with the USB directly managed by the microcontroller, don't need the capacitor. For details read: docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP
@@joeblow7374 no, no. The length is just the indication of the polarity. A polarized component can only be connected to a circuit in a single direction. SparkFun have published an article with more details: learn.sparkfun.com/tutorials/polarity/all
I finally get it to work.
The problem for me is that at 4:08, the procedure was not explained enough. Spoken was "nano" but shown is "genuine UNO".
There is no reason why "genuine UNO" is shown. Just confusing.
Step four should be to SWITCH from UNO to nano without changing the comx. There is no comx for the nano, only the UNO. Programmer at the UNO should be "Arduino as ISP". This should be clear.
Well, sorry for the inconvenience. This is kind of an advanced video and may require some additional knowledge. The video demonstrates how to use Arduino Uno as ISP (In-system programming) to burn bootloader on Arduino Nano (ATmega 328).
In step 4 UNO is used as ISP to burn Nano bootloader. In step 5 we switch to Nano for a test.
Some help in understanding the definition of bootloader at 0:43
What is meant by "at every reset"? Does it mean by the pressing of the reset button? It seems that it cannot be, since the pressing of the reset button is not needed to upload.
every time when you turn on (or restart) the board, the bootloader looks for a sketch/firmware to upload or if such is not detected it loads the existing firmware.
Great video and explanations.. I had to rewind video a few times, you was a bit too fast, and video was on the small side..I had to F11 to be able to see it better....otherwise excellent video..
Thank you! I am happy to hear the video is useful.
So I had been struggling to get a Pro Micro to burn the bootloader because the device was not being recognized in Windows.
I was trying to use a Mega2560R3 and kept getting a number of different errors. I watched a number of videos trying to resolve it with no luck and came across yours. I had just read the ISP code header comments and saw that white wire stretching over from pin 10 on you setup. *Smacks forehead* I was using the ICSP reset not pin 10! (as was noted in the fore mentioned code comments) Changed that and bam, newly burned loader!
I also discovered my original issue of the device not showing up is/was an issue with the micro usb connector. If I pushed the connector all the way in it would not be seen. However, if I pulled it out slightly it would connect. I should have know as I would get intermittent connect/disconnects when attaching the usb cable. Ahhh, life on the edge LOL
Thanks for the feedback. I am happy that the video is useful. I tried to explain this advanced topic in a simple way and keep the video relatively short.
I noticed you are using an Arduino Uno with a SMD Atmega328P-AU chip. Have you tried using an Arduino Uno with a DIP Atmega328p-pu chip to burn the bootloader and does it work?
No, I haven't tried it with Atmega328p DIP but as long as it is an Arduino Uno or pin to pin compatible clone, I think there should be no difference.
@@LeonAnavi Thanks for letting me know
@@arnoldc1724 you are welcome :)
Браво.
Would it work if I have a 100 uF capacitor?
The purpose of the capacitor is to prevent the main board in this ISP setup from resetting while the serial port is opened. So eventually a different value may do the trick.
In my opinion give it a try - does it work for you with100uF?
@@LeonAnavi yes! Nothing went wrong :) thank you
@@johanfernandoromoeligio7029 cool! Thanks for the feedback. It is a very useful knowledge. I am sure someone else might be interested in using a 100uF capacitor.
@@LeonAnavi yeah! Of course I could buy the correct capacitor, but the store is very far from my home and I am lazy, so I decided to try it and works! Thank u man, you saved my project :D
@@johanfernandoromoeligio7029 I totally understand you! I am happy to hear you found an alternative and it is working. Thanks for the feedback.
In the recent years small local electronic stores are going out of business and it is often not worth ordering online something tiny like a single capacitor. I am lucky that there are still a few well-packed local shops in my hometown Plovdiv, Bulgaria.
Great video!
Glad you enjoyed it :)
Sir..
Any tips for losing the COM port and USB port in Arduino Leonardo.?
and can i burn bootloader same leonardo board?
yes, you can use a similar process to burn bootloader on Arduino Leonardo. It is also with Microchip ATmega32U4.
How did you lose the COM port and USB port?
@@LeonAnavi i install a code for beamania IIDX the i don't know if i pressed the reset button or i append the another code without wiping (erase) the old data installed into leonardo
@@LeonAnavi (before the bad incident) i have a chatmate then he sent me a another (new) code. its called "joystick" code then added the konami library code
well, this is a very specific use case and since I am not familiar with the details about the situation I cannot provide exact recommendation. As troubleshooting I guess it is worth trying to upload a simple known arduino sketch and eventually to burn again proper bootloader.
@@LeonAnavi if i burnbootloader my bricked arduino leonardo the board will be back as normal like a package be like?
Why arduino nano you only have to connect Target. And the atmega has to connect programmer and also target
In this tutorial Arduino Uno is used as ISP (In-system programming) to burn bootloader on AVR devices with Microchip ATmega 328, ATmega 32U4, etc. Arduino Nano is used just for an example.
Is there a form to read bootloader ?
Yes but it is tricky. There are useful articles online which can give you an idea what is required, for example: www.rapid7.com/blog/post/2019/04/16/extracting-firmware-from-microcontrollers-onboard-flash-memory-part-1-atmel-microcontrollers/
How burn bootloader on Arduino Mega via Leonardo?
It should be possible to do it the same way as explained in the video. Btw Arduino docs share even more details:
docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP
@@LeonAnavi programmer=Leonardo and target=Arduino mega r3....capacitor between reset and gnd dont work
@@hennenberg88physqm16 the capacitor is required to prevent the Arduino from resetting when the serial port is opened during flashing. However, it is needed only for the boards that have an interface between the microcontroller and the computer's USB, like Mega, UNO, Mini, Nano. Boards like Leonardo, Esplora and Micro, with the USB directly managed by the microcontroller, don't need the capacitor. For details read: docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP
can this be done nano to uno?,
Yes, I think it should be possible. Did you try it?
@@LeonAnavi no not yet,lots of vids uno to nano but no nano to uno!.
@@paul.alarner6410 keep in mind that both nano and uno feature microchip ATmega328 in different packages and form factors of the PCB.
Mantap.....
According to Google Translate it seems you like the video so thank you for the feedback :)
Siap laksanakan.......👍👍👍
thx men :>>
You're welcome :)
What kind of electrical characteristics are those - a long leg and a short leg?
Polarity, the longer leg indicates the positive anode pin.
@@LeonAnavi So, if I cut the longer leg shorter than the short one it will become the cathode?
@@joeblow7374 no, no. The length is just the indication of the polarity. A polarized component can only be connected to a circuit in a single direction. SparkFun have published an article with more details: learn.sparkfun.com/tutorials/polarity/all
@@LeonAnavi ))) I know that. I was just trying to tell you that you are using imprecise terminology.
@@joeblow7374 ok