Sorry to post about this again... I know there is a ton of questions about it, but the standard fixes aren't working. It is the "avrdude: stk500_getsync(): not in sync: resp=0x00" error, but it only occurs on my laptop and just starting this morning. I have two nanos, one wired up on a drone and the other is bare. Both give the same error. No, nothing is attached to RX/TX, yes, I have nano selected, yes, I have the right COM selected. Yesterday, I could upload code. Today I cannot. I also took the same arduinos and was able to load code with no problem on other computers, so its just a local issue. I have restart arduino, my pc, and reinstalled the IDE.
Further ideas?
Hmm, "right COM selected". Can you see the port in the device manager? Does Rx LED blink as it try to upload?
In 1.8.5, there are differences between Nano versions: Nano ATmega328P, Nano ATmega328p (Old Bootloader) and ATmega168
I have tried all 3 versions of nano (the chip is a 328) with the same result. The RX light gives a very faint (and almost imperceptible) blink.
To add to the mystery, I installed the Window's App version of the IDE from the Windows store and the board works fine. Same version (although this version, still 1.8.5, only has 328 and 168. No old bootloader) and same COM port selected. I can upload a code no problem. Hop right back to the other version and get the same error.
I can just use the app version, but I'd rather solve the mystery than just abandon the program. Especially in case the same thing goes wrong in the app version.
Wrong driver for the USB serial port?
ptnapivoski:
Wrong driver for the USB serial port?
But I am using the same USB port between the two programs. The fact that it works in one program indicates the driver is valid, correct?
Maybe the app version is upgrading the driver.
Install 1.8.5 without installing the USB drivers and update the driver of the USB serial port with the updated drivers from FTDI D2XX Drivers - FTDI