I have used Uno and Nano boards in the past without problems. I just purchased a genuine Nano board, and tried to upload a sketch and the following error was reported.
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Arduino software\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x28
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x2c
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x31
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x35
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x2c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x31
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x37
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x37
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x2c
avrdude done. Thank you.
I am using IDE ver 1.8.1. i tried using an earlier version of the IDE ver 1.0.5 and the same error was reported. After trying various things I tried selecting the Uno board from the Tools drop down menu in IDE ver 1.8.1 and the sketch uploaded without error. I then verified that the sketch was working as expected on the Nano board in my project. I then tried to upload the sketch again this time selecting the Nano board from the Tools drop down menu. The same error as above was reported again. I then selected the Uno board from the Tools drop down menu and the sketch uploaded without error. Can anyone tell me what is going on here?