You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
I am developing a special Arduino Compatible board with a slightly different communication system for programming. I can't share the details of the same here, but while making the programmer code and using it with AVRdude, I realized that there is a bug with the source avrdude. I noticed the bug due to the messy communication system I am using.
To replicate the same, you will need an Arduino, and a compiled hex file with relatively large size (2 to 4kb should be perfect).
Exact conditions for error
Use the following code to start upload to the Arduino
./avrdude -c arduino -p m328p -P /dev/cu.usbmodem1411 -U flash:w:.hex
Keep you hand ready on the reset button of the Arduino.
As soon as avrdude goes into write mode press the reset button.
Do not release the button until avrdude starts giving the error
avrdude: stk500_recv(): programmer is not responding
Leave the reset button.
The code gets stuck in the same loop and keeps printing the error message every 1 second.
I know I can fix this for myself by resetting the board again at the right time, but then again, I feel that the code should be able to handle this and at the least exit so that it does not claim system resources.
The text was updated successfully, but these errors were encountered:
Hi,
I am developing a special Arduino Compatible board with a slightly different communication system for programming. I can't share the details of the same here, but while making the programmer code and using it with AVRdude, I realized that there is a bug with the source avrdude. I noticed the bug due to the messy communication system I am using.
To replicate the same, you will need an Arduino, and a compiled hex file with relatively large size (2 to 4kb should be perfect).
Exact conditions for error
./avrdude -c arduino -p m328p -P /dev/cu.usbmodem1411 -U flash:w:.hex
avrdude: stk500_recv(): programmer is not responding
The code gets stuck in the same loop and keeps printing the error message every 1 second.
I know I can fix this for myself by resetting the board again at the right time, but then again, I feel that the code should be able to handle this and at the least exit so that it does not claim system resources.
The text was updated successfully, but these errors were encountered: