11 posts were split to a new topic: Upload fails: avrdude: ser_open(): can't set com-state for "\.\COM6"
4 posts were split to a new topic: Upload to ESP32-S2 board fails: "WARNING: ESP32-S2FNR2 (revision v0.0) chip was placed into download mode using GPIO0."
A post was split to a new topic: Uploading to UNO R3 fails: "exit status 1"
A post was merged into an existing topic: Nano Every burning hot and upload fails: "sign-on command: status -1"
A post was split to a new topic: Upload to MKR WiFi 1010 fails: "No device found on COM10"
A post was split to a new topic: Upload to UNO R4 WiFi fails: No device found on COM8
Hi @khaled_hr . About the same issue with an Arduino Uno board,
.
If I tested the red button and the LED's dont blink multiple times, can we confirm hardware damage?
One thing to be careful of is that there are multiple boards with "UNO" in their name, for example:
- UNO (R1, R2, R3) or Uno Mini
- This includes clone/derivative boards as long as they have the ATmega328P microcontroller.
- UNO R4 Minima
- UNO R4 WiFi
- UNO WiFi
- UNO WiFi Rev2
- ...and other 3rd party boards
The discussion above has been specific to the UNO (R1, R2, R3) or Uno Mini boards.
Some of the other boards with similar names have significant technical differences and so the information shared here is not relevant if you have one of those boards.
Please note that it it only the LED which is labeled "L" on the silkscreen of the PCB that is expected to blink multiple times quickly after the reset button on the board is pressed.
That is one of the possible causes, but there are other possibilities.
If the LED doesn't blink, this tells us that one of the following two things is happening:
- The ATmega328P microcontroller on the board is not running.
- The bootloader (a program stored in a special area of memory in the microcontroller that handles sketch uploads) was somehow erased or corrupted.
If the microcontroller on the board is not running, this might be caused by permanent physical damage to the hardware. However, it can also be caused by a short or problem with some external circuitry/shield/module that is connected to the board. Although some such problems cause permanent physical damage by subjecting the hardware to conditions outside the maximum tolerance, others may simply be disabling the microcontroller without subjecting the hardware to any harmful conditions. In this case, the board will return to full functionality without any lasting harm once the problem with the external circuitry is resolved.
If the bootloader is erased or corrupted, this might have been caused by the microcontroller having been subjected to conditions outside the maximum tolerance. It is not clear how the bootloader might become unexpectedly damaged or erased under normal conditions since the microcontroller is specifically designed to prevent such a thing from happening. However, some users do report that their boards return to apparent fully working order after they replace the bootloader by performing a "Burn Bootloader" operation.
7 posts were split to a new topic: My problem not solve
A post was split to a new topic: Upload to Pro Mini fails: "stk500_recv(): programmer is not responding"
A post was split to a new topic: Upload to Mega 2560 fails: "avrdude: stk500v2_ReceiveMessage(): timeout"
A post was split to a new topic: Mega/ESP8266 upload error exit status 1
Sketch uses 924 bytes (2%) 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.
"C:\Users\DELL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\DELL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM6" -b115200 -D "-Uflash:w:C:\Users\DELL\AppData\Local\Temp\arduino\sketches\C0C77426C847F35C379B4C45753974F3/Blink.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\DELL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/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=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x62
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Hi @eunice1211. Please add a reply here on this forum thread to tell us which Arduino board you are using.
Please be as specific as possible as some Arduino boards with similar names have significant differences and the forum helpers can only provide effective assistance if we are aware of which one is being used.
If you aren't sure how to describe which board you are using, you can provide the link to the online product listing you bought the board from and we'll proceed based on the information found there.
Hello, @ptillisch . Like eunice1211, I am currently experiencing a similar issue. Is it possible for me to respond to you right here?
It might be better to start your own topic in Avrdude, stk500, Bootloader issues - Arduino Forum.
"Similar issue" does not mean the same issue (or even related). When starting your new topic, please provide as much detail as possible.
- Which board?
- Which version of the IDE?
- Which operating system?
- Did it work in the past?
- Observed behaviour. Enable verbose output during opload and disable verbose output during compilation under file/preferences in the IDE, attempt an upload of the blink sketch (or empty sketch) and post the results in the new topic (please use code tags as described in How to get the best out of this forum).
3 posts were split to a new topic: Can't get set com state
A post was split to a new topic: Can u say what Arduino board I am using