Uploading to Nano


#1

Hi, I have started using XOD, no problems at all on my Arduino Uno, but on the Nano, although the projects are compiling they are not uploading to the Nano.

Errors appearing are as shown below:
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0x24

This happens 10 times and then the process aborts.

The sketch code, if copied into the Arduino IDE and also uploaded to the Nano works fine.

Ideas and suggestions regarding what is going on would be greatly appreciated,

73’s


#2

I had this problem just the other way around. With the new arduino IDE 1.8.6 I have to choose the “old bootloader” to upload directly from the IDE when I use the NANO.

Uploading from XOD was doing fine all the times.


#3

I’m wondering if it is because I used the same PC to send code to both Uno and Nano versions (not at the same time of course) - but could this have mucked up something in the engine room of XOD


#4

Hmmm, it seems that if I just select Arduino Uno - even though the Nano is attached, that it works.

Something funky going on in there :slight_smile:


#5

That’s interesting and can be the root cause… I can’t find anything similar in my Arduino IDE though. If I choose Arduino Nano and can switch between ATmega328/ATmega168 but see no option related to the old bootloader you’ve mentioned.

Where do you see the bootloader option?


#6

Unfortunately I can not make a screenshot at this time. But there are three entries: Atmega328, Atmega 328 (old bootloader) and Atmega 168. After the update Atmega328 was default and I also got “error-sync” messages. After changing to “old bootloader” upload was possible.
I will make a screenshot later.


#7

Voila, here is the screenshot:

(Unfortunately it is the german version…)


#8

Ok, folks, thank you for the feedback! With it, the root cause seems quite obvious. I’ve put an issue on the GitHub.

Long story short: @dox you have an older Nano, @m0iti you have a newer Nano. XOD can’t upload to newer Nanos directly yet. Arduino IDE can upload to both, a user has to choose his version.