Uploading from Win 10 64 bit to Nano

Hope someone can help. I compiled and uploaded a simple sketch and tested it using my Uno. All worked fine, so now I want to upload to a Nano board.

But it won't, and I can't see anything that helps in the suggestions. I'm using Windows 10, 64 bit PC with the Nano on COM1 (it is shown at the bottom of the IDE window).

This is the relevant section of the error messages:

Sketch uses 1,154 bytes (3%) of program storage space. Maximum is 30,720 bytes.
Global variables use 17 bytes (0%) of dynamic memory, leaving 2,031 bytes for local variables. Maximum is 2,048 bytes.
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM1 -b57600 -D -Uflash:w:C:\Users\John\AppData\Local\Temp\build1b4f60508f459ca967c88c057b1fe536.tmp/voltage_switch.txt.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM1
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x45

(etc - repeated but edited out here)

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x45

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude done. Thank you.

Am I using the wrong programmer? Or is it a driver problem? Where do I get the correct driver from?

(Device manager shows no drivers installed for USB 2.0 Serial) and I/Windows can't find one in the Arduino directories)

A rea Nano uses FT232 for Serial interface.
www.ftdichip.com
Click Drivers on the left.

[quote author=johnatg link=msg=2565428 date=1452798219]
it is shown at the bottom of the IDE window).
[/quote]
That is no guarantee at all! It will just show you the last setting [b]you[/b] made. So if it's a Uno @ COM1 you get an error. If it's just the build in (real old school) COM port you get an error. It will even show a COM port that's not even plugged in at the moment...

[quote author=johnatg link=msg=2565428 date=1452798219]
Am I using the wrong programmer?
[/quote]
You're not using a programmer ;) You try to serial upload it via the bootloader.

[quote author=johnatg link=msg=2565428 date=1452798219]
Or is it a driver problem?

Probably. Just open the Windows Device manager. Is there a device with a !

johnatg:
Where do I get the correct driver from?

Is it a clone (eBay, AliExpress, China) or the real deal? CrossRoads pointed you to the drivers for the real deal. If it's a clone it probably uses a CH340

Thank you - looks like it's a clone. I downloaded the CH340 driver install and now IDE shows an additional COM port (COM4). The upload seems to have worked. I'll try the board out tomorrow.

septillion:
...
Is it a clone (eBay, AliExpress, China) or the real deal? CrossRoads pointed you to the drivers for the real deal. If it's a clone it probably uses a CH340

Hi Septillion.

Can i make you a question?

The underboard chip of this Nano clones is marked as CH340 (or something like) or have a Fake FTDI Logo? I have one nano clone with the same problem, works on Win7 and don't works on Win10, but the underboard chip is marked as FTDI232R and Win7 recognizes it as FTDI232R.

Thank you in advance.

Then you're probably just lucky t still works on Win7. Probably it's just a fake chip. Does it still work under Win7? There was a time FTDI tried to kill fake chips...

I never had any fake FTDI chips (PL2303 and CH340 here) but I think this should work:

Thank you.

I have a couple of PCs with Win7 (Home premium 64bits) and NANO clone works fine. i am writing this message with one of them. In this PC, the FTDI driver version is "2.8.14.0", probably the included in the IDE Arduino that i had when i plugged for first time the fake nano. This driver work whith fake FTDI chips and the PC enumerates the serial port as FTDI232R.

The actual FTDI driver version is 2.12.14 FTDI Drivers

The problem is that in the Win10 each time we plug some new hardware, it search in Microsoft Driver Repository and Microsoft have the newest version. This capability should be changed but i can't find how. Win 7 don't install the FTDI driver automatically. We must go to the arduino/drivers folder to install it.

In this moment i recovered the win 7 on my updated to win10 PC (we have 30 days since the update to recover previous version of Win) and i can't do more test on win10. I removed the driver updated with win10 from hard disk with USBDEVIEW tool and reinstalled a old version and the nano works normally again.

Thank you, and sorry for my english.

Hi,

I think installing the correct drivers and then running this MS tool should do the trick :slight_smile:

This let's you disable a specific driver or windows update. Seems to work just fine for my PL2303 which have the same problem :slight_smile:

And I would recommend Window 10 now you can. Especially because it let you switch to 64-bit Windows if you run 32-bit now (of course only if the machine has a 64-bit cpu :D). And of course Win10 has it's own flaws but so does win7. (And any other os for that matter.) I really liked Win7 but new features like improved memory management etc pulled me over the line. Just run Anti Beacon after installing and it's all fine. So with win10 MS sticks to the bad Windows, good Windows cycle :smiley: