stk500_recv(): programmer is not responding

Hi, Thanks for the Reply,

I read somewhere that upload via programmer messes with the bootloader?
I remember onetime I accedently clicked on it and closed the browser that opened (not sure if that was related?!?!)

Not sure about clone or not,
On the board it says UNO
Board into in Arduino says the following.

BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it

Here is info from upload log.
D:\Software\arduino-1.8.7\arduino-builder -dump-prefs -logger=machine -hardware D:\Software\arduino-1.8.7\hardware -tools D:\Software\arduino-1.8.7\tools-builder -tools D:\Software\arduino-1.8.7\hardware\tools\avr -built-in-libraries D:\Software\arduino-1.8.7\libraries -libraries D:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552 -warnings=none -build-cache C:\Users\PieterC\AppData\Local\Temp\arduino_cache_591167 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=D:\Software\arduino-1.8.7\hardware\tools\avr -verbose C:\Users\PieterC\AppData\Local\Temp\untitled661141511.tmp\sketch_nov30a\sketch_nov30a.ino
D:\Software\arduino-1.8.7\arduino-builder -compile -logger=machine -hardware D:\Software\arduino-1.8.7\hardware -tools D:\Software\arduino-1.8.7\tools-builder -tools D:\Software\arduino-1.8.7\hardware\tools\avr -built-in-libraries D:\Software\arduino-1.8.7\libraries -libraries D:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552 -warnings=none -build-cache C:\Users\PieterC\AppData\Local\Temp\arduino_cache_591167 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Software\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=D:\Software\arduino-1.8.7\hardware\tools\avr -verbose C:\Users\PieterC\AppData\Local\Temp\untitled661141511.tmp\sketch_nov30a\sketch_nov30a.ino
Using board 'uno' from platform in folder: D:\Software\arduino-1.8.7\hardware\arduino\avr
Using core 'arduino' from platform in folder: D:\Software\arduino-1.8.7\hardware\arduino\avr
Detecting libraries used...
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\cores\arduino" "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\variants\standard" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\sketch\sketch_nov30a.ino.cpp" -o nul
Generating function prototypes...
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\cores\arduino" "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\variants\standard" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\sketch\sketch_nov30a.ino.cpp" -o "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\preproc\ctags_target_for_gcc_minus_e.cpp"
"D:\Software\arduino-1.8.7\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\cores\arduino" "-ID:\Software\arduino-1.8.7\hardware\arduino\avr\variants\standard" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\sketch\sketch_nov30a.ino.cpp" -o "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\sketch\sketch_nov30a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\PieterC\AppData\Local\Temp\arduino_cache_591167\core\core_arduino_avr_uno_31314b8875c88b759a279e520c72f59b.a
Linking everything together...
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.elf" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552\sketch\sketch_nov30a.ino.cpp.o" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/..\arduino_cache_591167\core\core_arduino_avr_uno_31314b8875c88b759a279e520c72f59b.a" "-LC:\Users\PieterC\AppData\Local\Temp\arduino_build_607552" -lm
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.elf" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.eep"
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.elf" "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.hex"
"D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avr-size" -A "C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.elf"
Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avrdude -CD:\Software\arduino-1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\PieterC\AppData\Local\Temp\arduino_build_607552/sketch_nov30a.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "D:\Software\arduino-1.8.7\hardware\tools\avr/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=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x4b

avrdude done. Thank you.

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

Response which is not 0x00 nor 0xFF, usually points to incorrect settings: board, programmer...
Cannot be that you have another device on COM6 which is not the UNO?

Mmmm if I remove the USB cable while it is counting the errors for uploading then it does the following.

C:\Users\PieterC>D:\Software\arduino-1.8.7\hardware\tools\avr/bin/avrdude -CD:\Software\arduino-1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\PieterC\AppData\Local\Temp\arduino_build_686597/sketch_nov30a.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "D:\Software\arduino-1.8.7\hardware\tools\avr/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=0x0a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0a
============= Removed the cable to UNO here ========================================
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0a
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0a
avrdude: ser_drain(): read error: Access is denied.

avrdude done. Thank you.

Please, use code tags for logs otherwise the topic quickly becomes unclear.

Can you see any life signs like blinking Rx on programming attempts?

Tags will do (Not sure how)

When plugged in the power and L light comes on and stays no other lights are blinking or anything!
nothing changes when upload is done nor anything when reset button is pressed as well.

Try the loopback (search the forum) test to check USB/serial transceiver.
Is it CH340G chip as USB/serial transceiver or which driver is used?

From the device manager I can see the following

"USB-SERIAL CH340 (COM6)"

Settings on Adruino,
Board is set to Arduino/Genuino UNO
Port: COM6
Programmer: IVR ISP

I assume the Board setting determines the driver.

It's Chinese clone. Correct driver must be installed on OS (Win).
Board setting has no affect to the driver.
Try the loopback test if the CH340 works.

Hi, Thanks,Will search for the driver BUT Question: I did manage to upload some 10 or so programs to the UNO before this happenend, THUS is the driver not correct then?

The Loopback test does not seems to work.
Could I have burnt something If I connected a led on pin AREG and GND?
I also tried opening setial to COM6 with Mobaxterm and It seems to connect BUT nothing is happening.
Just a blank screen no matter what I type and on the UNO the TC and RX does blink when I hit keys!

I think I have found something.
if I connect the UNO to PC quickly start loopback test then I have about 5 secs where the response is working in the terminal then it stops. what could that be?

The Loopback test does not seems to work.

The Loopback test usually doesn't work, for most Uno's and Nano's with the CH340chip as written in the forum.

With the Uno plugged into the PC, press the reset key on the Uno.

Does your L led brighten?

When you release the Reset key , does it flash 3 times? If it does not flash 3 times you probably have lost the Bootloader.

Hi, Thanks,Will search for the driver BUT Question: I did manage to upload some 10 or so programs to the UNO before this happenend, THUS is the driver not correct then?

Must be good then.

The Loopback test usually doesn't work, for most Uno's and Nano's with the CH340chip as written in the forum.

Really? It is new for me. I have no experience with CH340 but I know how the USB-serial works. Just think. The loopback test is just sending data from Tx back to Rx. USB/serial transceiver (any feasible for our needs) must do this without problems.

If you very carefully short pin 2&3 on the ch340g chip you can make the loopback test work.

https://forum.arduino.cc/index.php?topic=492655.msg3362392#msg3362392

@kprims

The Loopback test usually doesn't work...

It is due to 1k resistors and signaling LEDs, right? Shorting pins 2&3 then should work. (+1)

It is due to 1k resistors and signaling LEDs, right?

That's the way I understand it.

Thanks for the +1. :slight_smile:

Karma is your the only reward. 8)

Hi,

Thanks for your assistance!! I think I have managed to get it working again by timing the release of the reset button with when I hit compile. I can now upload a sketch again BUT only some 2/3 then I am back to the same issue again.
My next question is must you remove the USB and circuit before you upload again? or should you just be able to upload one after the other without disconnecting?

The reset pulse do not pass that you have to use the button. Check this, use LED with resistor in series between VCC and RESET or with DMM.
Only ~2/3 of image. I have similar on Linux and MS Visual Code Studio. Make sure that another application doesn't operate with the port. It requires some investigation on the OS. Try unplug and plug after unsuccessful upload, but it is just shot into the dark. There is also probability of bad USB/serial transceiver. Should by good to test it with external USB/serial if you have some.

Arduino: 1.8.8 (Windows 10), Board: "ATtiny25/45/85, Enabled, CPU, ATtiny85, 8 MHz (internal), EEPROM retained, B.O.D. Disabled"

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xac
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xac
Error while burning bootloader.

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