kzbin.info/www/bejne/Y37cn3t3r5yHqas Check out this video on adding the additional 1.5k of Flash programming space back to your Nano before flashing your new bootloader. Even on a genuine Arduino nano you are losing this space with the new bootloader so I'll show you how to gain it back!
@WorldWarSelection2 жыл бұрын
Hi, can this method be used to get the old bootloader onto a new nano?
@DesignBuildDestroy2 жыл бұрын
@@WorldWarSelection Yes, but not sure what the benefit would be?
@WorldWarSelection2 жыл бұрын
@@DesignBuildDestroy the old bootloader nanos seem to have a bug on it, that actually benefits what I need it for. Weird one, but that seems to be the only way. I’ve contacted every seller at Ali express to try and find the old bootloader nanos. I received one today, meant to be old bootloader, which it is, and it’s loads up the sketch, but doesn’t function the way it should. Actually freezes the system I put it in. So I’m guessing it’s a faulty one.
@JoeyGarcia Жыл бұрын
3 years later and these instructions still worked! Nice!
@stevee-bc1gt7 ай бұрын
You used two micro controllers?
@JoeyGarcia7 ай бұрын
@@stevee-bc1gt Yup. I used two Arduino Nano. One to upgrade the boot loader on the other one that had a old boot loader.
@Allazander Жыл бұрын
Thank you. I'm new to working with Arduino and I had a couple Nano that I couldn't upload to period, not even using an Uno as programmer. I was able to use a good Nano to flash the new bootloader to them following your video but they still wouldn't work. The tx LED was constantly lit up on both of them and I'd tried hitting 'reset' as I started an upload to no effect. Out of frustration I eventually did a double click of the reset button after I'd started an upload and surprisingly the one I did that to uploaded, so I did the same on the other and that fixed that one as well. Now they both can be uploaded to without issue, no more constant on tx LED and no more having to select 'old bootloader' either. Now all my Arduino have the current bootloader. Thank you!
@parranoic2 жыл бұрын
Using an old uno as a programmer and connecting the way you showed I managed to update to the new bootloader in a few seconds. Thank you so much!
@lucadelgiudice5624Ай бұрын
why I can upload at same new bootloader without change anything in boards file with arduino as isp also me?
@greenelectron Жыл бұрын
Very nice video, everything clearly explained. After spending almost 5 hours on troubleshooting my AliExpress Arduino Nano, this is the only video that managed to work for me. I connected it to my original Arduino Uno and burned the new bootloader onto it. Thank you for saving my money, keep up the good work!
@rolandberendonck3900 Жыл бұрын
Very nice upload! Thank you :) With your help I finally managed to get my rf nano's up and running by flashing a working bootloader to it 😊
@WhiteError373 жыл бұрын
Always thought you had to have a board with the new bootloader on there defacto! this is great going to upgrade all my old boards today 🤙🏻
@PerchEagle4 жыл бұрын
I like your work, top recording, concise tutorial and directly to the point.
@DesignBuildDestroy4 жыл бұрын
Much appreciated!
@OnosTech4 жыл бұрын
Thanks for this tutorial. It is very helpful. I just followed it to upgrade my nano. However, I found the boards.txt file in this path for my computer -> C:\Program Files (x86)\Arduino\hardware\arduino\avr 👍👍👍
@DesignBuildDestroy4 жыл бұрын
Yea so after someone pointed out you can get to the path via Preferences menu mine takes me directly into the users AppData folder as I showed not to program files. The files exist in both locations but not sure why ha may depend on how you install it. In any case if it works for you GREAT! Thanks for sharing it might help other's out there :)
@DesignBuildDestroy4 жыл бұрын
TIP FOR FINDING ARUDINO SETTING FILES: Someone pointed out to me you can go to the FILE menu in Arduino IDE -> Click Preferences, in the settings box that pops up at the bottom will be a link to click to "More preferences can be edited directly in the file". Click the path below it and you'll be taken to the path where your Arduino files are stored. From there just find Packages folder, and through the rest of the path Arduino/Hardware/AVR/xxxx your avr version.
@NetworkDirection Жыл бұрын
Worked perfectly, thank you!
@yataghan2k3 жыл бұрын
Thanks buddy....This worked for me ... I bootloaded by UNO using this tutorial... :)
@yataghan2k3 жыл бұрын
C:\Program Files (x86)\Arduino\hardware\arduino\avr ( Pah for boards.txt )
@naasking2 жыл бұрын
Excellent guide, worked perfectly.
@realbonbonbon5 ай бұрын
Great tutorial! No bullsh... around. Thanks!
@ruenjou Жыл бұрын
Worked as advertises. Thanks.
@tubeDude483 жыл бұрын
At the end when you said 'over write it', were you talking about (old Bootloader)?
@DesignBuildDestroy3 жыл бұрын
I'm referring to the board you loaded the Arduino ISP sketch too to act as the programmer. I meant you do not need to keep it as a "programmer" put that sucker into some cool project and load your new sketch to it overwriting the Arduino ISP sketch. Unless you want to keep it on hand as an ICSP programmer that is :)
@tohcp57292 жыл бұрын
impress and help me a lot as beginners
@stealthjoe3 жыл бұрын
Excellent tutorial. One basic question. In case I want to update a nano having old bootloader (to be programmed) with another nano already having new bootloader (programmer) for the first time, would the above text file modification be still necessary. Thanks!!
@DesignBuildDestroy3 жыл бұрын
I don't believe you would have to if the "programmer" is already on Optiboot. The reason for changing the boards.txt file is due to the different baud rates coded in the bootloaders so when using an OLD bootloader as your programmer it will fail to communicate with the programmer to push the new bootloader to another board. And you can't just change the baud rate in the file because the rate is hard coded in the old bootloader so flipping the bootloader source is the only way I found. But check out my last video on gaining 1.5k of flash space kzbin.info/www/bejne/Y37cn3t3r5yHqas this is a good reason to edit your boards.txt before burning the bootloader to your board. As well as flipping them around and using the newly upgraded one to be the programmer and flash your existing Nano! Even a genuine Arduino using Optiboot still has the wrong setting, so even though your new bootloader is 512 bytes it still locks up a full 2k for bootloader space.
@Nilmoy Жыл бұрын
the answer to your question is actually in the tutorial.
@electrotsmishar2 жыл бұрын
Thank you. Very helpful
@JustMe-jp6we4 жыл бұрын
Hi, this is a good video. I was not aware that you can upgrade the boot loader. However, I thought that you need a 10 mF capacitor between ground a reset of the Arduino on the programmer side.
@DesignBuildDestroy4 жыл бұрын
The cap prevents the master side from resetting on serial connection being open. But if my thinking is correct and you are using latest version of Arduino IDE, AVRDude will open the serial connection which may reset the master in that instance, but that's ok, the master runs back up instantly and the firmware starts to push through. I suspect it was more of an issue with older versions, at least that's been my working theory. I have never needed to use the capacitor on reset line.
@JustMe-jp6we4 жыл бұрын
@@DesignBuildDestroy Thanks!
@conesillyvalley71823 жыл бұрын
Great video, One suggestion : try not to touch the pins of nano-clones, static energy damages the i/o and may result in irratic behavior
@girishchandra67223 жыл бұрын
thanks brother my arduino nano got new bootloader
@cristiandumitru41582 жыл бұрын
I upgraded 2 Nanos (each other) to the new bootloader without changing the borards.txt file. I just selected the new bootloader in the tools/processor menu before burning the bootloader.
@DesignBuildDestroy2 жыл бұрын
That did not work for me, but it could be differences in IDE versions and installations. Arduino IDE is kinda weird which is why some of us all have our boards.txt files in different folders etc. But good to know it worked for you and will work for some other folks out there
@cristiandumitru41582 жыл бұрын
@@DesignBuildDestroy I used 1.8.19 for Linux and I replicated it on 2.0.2 for Linux.
@samdeur3 жыл бұрын
Thank your for this great vid.. i'm going to be getting my first nano in a few weeks chipping from china is really slow. Wanted to know if i could do this using a uno to update a nano ???? .. or did i have to buy two of them ?
@DesignBuildDestroy3 жыл бұрын
Sure can!, An UNO and a Nano are the same device just in a different board format. Both use Atmega328p microcontroller. The only difference is the Nano ships with the old bootloader (whether it is a genuine Nano or not).
@samdeur3 жыл бұрын
@@DesignBuildDestroy awesome thanks..greetings from The Netherlands.
@ozgemmo34453 жыл бұрын
Great instructional video! Question; I am the Administrator in Win10 64bit, but when I edit the old Nano bootloader txt file as shown by you, it won't allow me to "save" or "save as" the changed version! Any suggestions on how to do this please? FYI: I am not a programmer's bootlace!!!! Cheers
@ozgemmo34453 жыл бұрын
Please don't worry about replying now as I have found a "shotgun" fix to this problem in Win 10! Cheers and thanks
@F74D3N8r0T3 жыл бұрын
Nice Video. Thank you. Unfortunately I am not able to select the Nano anymore. Checking my boards.txt reveals it is no longer existing, hence I chose what was available and made it a UNO. This works well, although I would like to know how to get the Nano back. I have version 1.83 of the AVR Boards installed on a MAC.
@DesignBuildDestroy3 жыл бұрын
Maybe try going to boards manager and reinstalling Arduino AVR boards profile. I don't know any way the core Arduino profiles get removed unless you accidentally deleted it. Even in IDE you can't choose to uninstall just 1 Arduino board the AVR profile is all or nothing. In any case UNO is a Nano with a different layout so it does work. The only real difference is nano has an extra couple ADC pins, that SMC Uno has them on it's chip but not run out to headers for you to use. Throw back to when Uno used a DIP style chip which did not contain the additional ADC pins they didn't want to change the board layout after updating but code wise the bootloaders are identical so it all still works with nano.
@F74D3N8r0T3 жыл бұрын
@@DesignBuildDestroy Thanks! I did check if the pinout is the same and it showed that it is. For the next project I will use the Nanos called Uno, but I need to find a working Nano. Haven't you mentioned you're selling them somehow? Also I cannot build one without having the option to choose the darn thing.
@DesignBuildDestroy3 жыл бұрын
@@F74D3N8r0T I don't sell anything, I buy my Nano's on Amazon. Specifically Rexqualis brand they are good quality and cheap if you are in the US amzn.to/2YNt9GI
@F74D3N8r0T3 жыл бұрын
@@DesignBuildDestroy Thanks. Since I am not from the US I will buy some others, but sure you helped me a lot. Thank you!
@damiensiviero Жыл бұрын
good video thanks
@HappyHermitt2 жыл бұрын
Where do we find this optiboot?
@motorbikesjp79612 жыл бұрын
As of July 2022, the price of these replica NANOs has jumped to three times the price of a year ago. Therefore, I would buy MAKER NANO, which is manufactured in Singapore, instead of NANO, which is made in China.
@NhatNguyen__08 ай бұрын
Tried this on a nano that I can't upload. Turns out it has a defected chip. What a bummer.
@HappyHermitt2 жыл бұрын
I've had nothing but problems with bootloader. From nano to nano, uno to nano, uno to attiny85, etc
@pierpa_76pierpaolo3 жыл бұрын
Good morning, I own several Uno\Nano arduino boards in clone version that don't want to know how to work anymore. What do I do? I have loaded the drivers and when I insert the sketch I don't get any error but at the end it doesn't execute the code. A port problem, com3 and sometimes com7 appears too. To load my code I guess I have to use "bootloader" or something similar? I do not think there are components to replace but I hope to find a solution soon. Regards.
@DesignBuildDestroy3 жыл бұрын
If you can upload the code without any errors, it may not a bootloader problem. Try loading the blink sketch with nothing else connected to the pins of the board. You can find Blink under File -> Examples-> Basic. If that uploads and the onboard LED blinks then the problem may be your original code or circuit.
@pierpa_76pierpaolo3 жыл бұрын
@@DesignBuildDestroy No. Yesterday I tried again to load a sketch and then under Tools > Nano module ic >Atmega328P (old bootloader). My board does not come up to date with ISP and compiling the projects in this "old bootloader" mode, they work perfectly. Finally I can breathe a sigh of relief. For this problem I had to abandon completely Arduino (I use only clone versions) but now I'm happy to start again with them. Thank you very much.
@DesignBuildDestroy3 жыл бұрын
@@pierpa_76pierpaolo AH yes the clones are almost always the old bootloader for whatever reason. Now that you know they are working you can upgrade the bootloader following this video if you'd like :)
@v.k_3 жыл бұрын
if you install arduino ide from windows store this is impossible because windows doesnt allow edit windowsApp folder. you need intall arduino from their website and install installer. you can find it Download options and win 7 or newer, not Windows app who send you to windows store
@rabbirt Жыл бұрын
Is there a way to do this with just 1?
@joselagunas10383 жыл бұрын
I followed very close every step and when uploading it says uploaded and on second nano the led blinks once and does not stays on, when burning bootloader show this error "avrdude: Expected signature for ATmega328P is 1E 95 0F Double check chip, or use -F to override this check. Lets say everything came right, the txt file should be returned as it was? Thanks
@DesignBuildDestroy3 жыл бұрын
Assuming it is actually a Atmega328P chip, then it could be a connection issue, check all the wiring on both chips. There have also been lots of knock off chips themselves where it's not just an Arduino clone board, but they managed to make a fake Atmega328p chip itself check out: www.sparkfun.com/news/364. I've never had that issue with this particular brand but I have had problems with some other off brand Arduino clones the chip just doesn't work right for anything let alone trying to burn bootloader. As for changing the text file back you could if you want, I personally leave it as is since I basically only buy clones and first thing I do is upgrade the bootloader it if needed.
@redneckwarriors13 жыл бұрын
this may be a stupid question, but when i try to edit the boards.txt file it keeps saying i need administrator privlidge in order to save the file.i am the admin and i have gone into the properties of all the arduino folders and gave myself full control and unchecked the read only box for the boards.txt file, nut it still wont let me save.can anyone help?
@redneckwarriors13 жыл бұрын
nvm, figured it out. blonde moment
@caedenv25753 жыл бұрын
@@redneckwarriors1 what was the solution I'm having a blonde moment
@redneckwarriors13 жыл бұрын
@@caedenv2575 i think it was that i had to make myself an administrator over everything in my file path which was C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards. in the Properties menu i went down to Advanced i changed all of it to give myself permission
@caedenv25753 жыл бұрын
@@redneckwarriors1 okie sounds good thanks
@redneckwarriors13 жыл бұрын
@@caedenv2575 let me know if it helps
@vindulaherath64004 жыл бұрын
I have a orginal arduino UNO and clone FTDI Nano which is using old bootloader. So can I update the new bootloader to the clone Nano using UNO?
@DesignBuildDestroy4 жыл бұрын
You sure can! Just load the ArduinoISP sketch to the UNO first making sure to select UNO as the board type. Then After wiring everything up (the wiring pins numbers are the same for the UNO as Nano), change the Arduino IDE board to the device type you want the bootloader for, in your case Arduino Nano with processor Atmega328p and hit the burn bootloader menu option.
@vindulaherath64004 жыл бұрын
@@DesignBuildDestroy thank you so much 👍🏻
@alnoorratansi93643 жыл бұрын
Can this be done with USBASP programmer and how ?
@DesignBuildDestroy3 жыл бұрын
Same method, except choose USBASP as your programmer and go directly to Burn Bootloader after having made the bootloader.txt file changes. You won't need the ArduinoISP sketch. Just make sure you wire the programmer up correctly the ICSP pins on the Arduino.
@mtalhakhalid16793 жыл бұрын
Using arduino nanon 1 as ISP
@sharithstembo20623 жыл бұрын
new Version Arduino Software location Should be :- C:\Program Files (x86)\Arduino\hardware\arduino\avr