Nano Loading Problem (Comms?)

My PC is running Win 8.1 32-bit.

I am trying to load the original 1sec/1sec "blink.ino" into a 5V Nano Mini, which is currently running a modified 1sec/5sec "blink.ino" version ... (so the mini works OK) ..but the original programme won't load. The board and processor types are correctly entered in the code

I'm using a USB-TTL 4-wire adaptor (it has a SILABS CP2102 chip).
All this kit is cheap Chinese, but ....
Those same Mini/adaptor devices loaded/ran fine via a friend's laptop on Sat.
(after resetting the mini to load the new code)

My problem seems to be a comms problem

The error mesages say:-
stk500_recv () : programmer is not responding
stk500_getsync () attempt 1 of 10: not in sync: resp=0x75
etc

Both the PC and the code show port COM6 115200.
My PC recognises the SILAB CP210x chip by name and says that the driver is "up to date" and is "working properly".

I have had many failed attempts with all sorts of resetting-timing combinations and no successes.

I can't find the solution!

Help would be appreciated.

Regards John M

Are you using a Arduino Nano or a Arduino Mini or a Sparkfun Pro Mini?

Did you select the correct board?

sterretje:
Are you using a Arduino Nano or a Arduino Mini or a Sparkfun Pro Mini?

Did you select the correct board?

Thanks sterretje for your quick response.

The set-ups are correct - the board, the processor, the port and the baud rate ...see my 2nd and 6th paragraphs.

It's a Chinese Arduino Pro Mini, not a Sparkfun (only an unused VReg, a few R and C, a reset button and the 328 processor on board). Hard to imagine the problem is in the Arduino? But stranger things are not unknown!

It seems to be a comms problem involving compatibility between my PC's USB and the USB/serial adapter, (or maybe it's the driver? although Windows doesn't think so).

I cannot find what the problem is.

John M

Please do this:

  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to “Show verbose output during: compilation”
  • Check the checkbox next to "Show verbose output during: upload
  • Click “OK”
  • Sketch > Upload
  • After the upload fails, you’ll see a button on the right side of the orange bar “Copy error messages” (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum’s code tags markup to your reply.
  • Press “Ctrl + V”. This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

Thanks for your reply pert.

I'm in Melbourne Australia and it's nearly midnight here (bed time for an old man -Lol!)

I'll follow your suggestion tomorrow

Regards John M

Ah!

I now see that I may have caused some confusion with the title!

It's NOT about a NANO .... that should have read a MINI

My apologies.

I am imperfect .... but working on that! - Lol!

John M

Arduino: 1.8.2 (Windows 8.1), Board: "Arduino Mini, ATmega328"

Archiving built core (caching) in: C:\Users\John\AppData\Local\Temp\arduino_cache_719497\core\core_arduino_avr_mini_cpu_atmega328_13f9339dac7da1d6b88e92b142778040.a
Sketch uses 928 bytes (3%) of program storage space. Maximum is 28672 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Users\John\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude -CC:\Users\John\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\John\AppData\Local\Temp\arduino_build_758901/Blink.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Users\John\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"

Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x74
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x74

avrdude done. Thank you.

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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

It's a Chinese Arduino Pro Mini,

Arduino: 1.8.2 (Windows 8.1), Board: "Arduino Mini, ATmega328"

It might work if you select "Pro Mini" instead of "Mini".

John VK from Canada.
I got exactly the same messages a few days ago trying to upload a sketch to a
Nano ATmega328p.
I know it's a slightly different board but the messages were the same.
it turned out to be an old bootloader on the chip.
go to tools>board>Nano>and select ATmega(old bootloader)
or download an upto date bootloader.
it uploaded fine and sketch working great.

Hope it'll work for you !

Good luck

Thanks for your interest John,

I'll try that out.

But I doubt that's the answer, because the same kit worked OK using a friend's laptop to load the code.

I deduce that it must be something to do with drivers on my PC, but I can't figure out what that is.

I've loaded many Nanos , many times, from my PC and never struck this problem with them.

Cheers, John M

A good thought kprims, thanks for that.

I tried it a few times, with a Pro Mini selected. but it still won't load.

I'm considering abandoning these (very cheap) Minis and sticking to (also pretty cheap) Nanos which work fine with no problems.

I have one project in mind that needs to minimise battery power consumption. That's why I thought that a Mini would be a better choice than a Nano.

Instead, I think I'll just get a bit more creative with programming, adding a very low power RTC to power-up the Nano via an alarm setting and having the Nano set a new alarm time and turn itself off most of the time.

Life is too short (mine certainly is, I'm 84) to spend too much time on problems which can be worked around.

No use getting older if you don't get wiser!

Thanks guys for your interest and helpful advice.

Cheers, John M