Skip to content

Last IDE 2.3.2 error stk500_getsync() attempt 1...10 of 10: not in sync: resp=0x03 #2470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
Domigome opened this issue Jul 17, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project

Comments

@Domigome
Copy link

Domigome commented Jul 17, 2024

Describe the problem

Using an Arduino as ISP (Arduino UNO R3) the bootloader was uploaded to another Arduino UNO R3 ATMEGA328P, but any attempt to upload any code to the new UNO fails with error:

stk500_getsync() attempt 1...10 of 10: not in sync: resp=0x03

(I have try pressing the reset pin before and after clicking Upload without any success).

To reproduce

  1. Open Example > Blink.
  2. Select Board > Arduino UNO,
  3. Select COM.
  4. Click Upload.

Expected behavior

Upload Done.

Arduino IDE version

2.3.2

Operating system

Windows

Operating system version

Windows 10

Additional context

Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM7" -b57600 -D "-Uflash:w:C:\Users\USER\AppData\Local\Temp\arduino\sketches\5B140AD7671CDF90B2B0BD93DDED1160/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\USER\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM7
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: ser_recv(): read error: The I/O operation has been aborted because of either a thread exit or an application request.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
avrdude: ser_drain(): read error: The device does not recognize the command.



avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@Domigome Domigome added the type: imperfection Perceived defect in any part of project label Jul 17, 2024
@per1234 per1234 self-assigned this Jul 19, 2024
@per1234
Copy link
Contributor

per1234 commented Jul 19, 2024

Hi @Domigome. This error comes from a tool named AVRDUDE, rather than from Arduino IDE (Arduino IDE simply runs AVRDUDE from the command line). So this report is off topic for the Arduino IDE repository.

We actively support this type of problem over on Arduino Forum. If you haven't already, please make a post over there. We'll be happy to provide assistance:

https://forum.arduino.cc/c/using-arduino/avrdude-stk500-bootloader-issues/81

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2024
@per1234 per1234 added the conclusion: off topic Off topic for this repository label Jul 19, 2024
@Domigome
Copy link
Author

Domigome commented Jul 23, 2024

Hi @Domigome. This error comes from a tool named AVRDUDE, rather than from Arduino IDE (Arduino IDE simply runs AVRDUDE from the command line). So this report is off topic for the Arduino IDE repository.

We actively support this type of problem over on Arduino Forum. If you haven't already, please make a post over there. We'll be happy to provide assistance:

https://forum.arduino.cc/c/using-arduino/avrdude-stk500-bootloader-issues/81

Thanks, I am aware of their repo and I have search in both before.

But this issue seems relate to the bootloader that Arduino IDE uploads, or the settings that Arduino uses for avrdude. So I doubt that the problem is coming from their side.

Could you please consider reopening the issue and having this documented here until otherwise confirmed it is not an Arduino parameters/config issue?

@arduino arduino locked as off-topic and limited conversation to collaborators Aug 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants