Arduino IDE won't upload to Nano - xLoader will - possible workaround

I have had a problem where the IDE (version 1.8.5) won't upload to Nanos. Only had this problem since updating the IDE and have not found a solution to it.

As a workaround, I have been using xLoader.

This is how I have done it, so should be the same or very similar for others on a Windows machine. I am using Windows 10 Pro x64.

  1. Open the Arduino IDE and the sketch you want to upload with the nano attached.
  2. Verify the sketch using the verify button (tick at top left of IDE window).
  3. Leave the Arduino IDE open - do not close it
  4. Open xLoader
  5. Navigate to C:\Users\[yourname]\AppData\Local\Temp\arduino_build_[some number]\
  6. You should see two hex files with the name of the sketch.
  7. Select the file without 'bootloader' at the end.
  8. Then select your board and COM port in xLoader
  9. Press 'Upload'

XLoader will then verify if the sketch has uploaded or not.

The Arduino IDE will delete the files when you close it because they are temporary files. If you want to keep them then you will have to copy them somewhere.

I have searched the internet and spent a long time checking, reinstalling, and trying other workarounds and this is the simplest I have found.

XLoader is available here:

No need to install, just extract it where you want to.

Hope this helps.

Does the Arduino IDE recognize that the Nano is connected?

What about the Windows Device Manager?

(deleted)

No need to go through all this XLoader crazyness. Just select Tools > Processor > ATmega328P (Old bootloader).

Mcmlxi:
I have searched the internet and spent a long time checking, reinstalling, and trying other workarounds and this is the simplest I have found.

I'm surprised. This has been a very common topic of discussion. In fact it's even documented in the Nano's Getting Started page:
https://www.arduino.cc/en/Guide/ArduinoNano#toc4