Hello. I have Arudino Nano (clone) currently, and I cannot upload my sketch to it. It has CH340C chip and ATMega328PB.
What I have:
Installed Arduino IDE from official website
Installed CH340C driver (CH341SER)
Have working USB Data cable.
My problem is that I have successfully uploaded my sketch twice, but the uploading process (avrdude) has never finished successfully (it failed on reading or writing stage). It always says different errors like protocol error, 'programmer is not responding', etc. Now I can't upload next sketch.
My Aruduino IDE settings are:
Arudino Nano, Processor: ATmega 328p (old bootloader), COM13 (there is also COM1 as the second choice, but it doesn't work).
OS: Windows 7 x64
CPU: AMD
Latest error log:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0
MrOnlineCoder:
My Aruduino IDE settings are:
Arudino Nano, Processor: ATmega 328p (old bootloader), COM13 (there is also COM1 as the second choice, but it doesn't work).
P.S. I have tried 3 different USB cables, all of them work correctly (board is detected by Windows and IDE) and with 1 of them I had writing process completed.
Tried uploading when USB cable is connected to back port of my PC. Doesn't work. Seems that there is a problem in my Arduino. How can I make sure of this?
Well, I have burned bootloader for Arduino Uno to my nano using another Arduino Uno as ISP. Now my nano refuses to program - 'programmer is not responding: resp = 0x0e / 0x9e / etc'.
Note: When I was burning bootloader, avrdude refused to do it, it said 'invalid device signature, double check the chip'. The signature was different by 1 byte from original. So I used -F (--force) flag to do it. Process has completed without any errors.