Skip to content

avrdude: stk500v2_ReceiveMessage(): timeout #1594

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
glikar opened this issue Sep 28, 2013 · 2 comments
Closed

avrdude: stk500v2_ReceiveMessage(): timeout #1594

glikar opened this issue Sep 28, 2013 · 2 comments
Labels
Component: Bootloader The bootloader is the program used to load the uploaded program into the microcontroller's memory Type: Duplicate Another item already exists for this topic

Comments

@glikar
Copy link

glikar commented Sep 28, 2013

Here's a strange bug. If this line is part of a sketch upload fails.

lcd.print(" Dangerous!!!"); // creates up load error time out

This is the console message: "avrdude: stk500v2_ReceiveMessage(): timeout"
Three explanation marks alone also cause the error, but really why would I use !!! anyway?
Details: Ubuntu/xfce4; Arduino 1.0.5; Mega2650 ADK.

@matthijskooijman
Copy link
Collaborator

Hmm, I remember looking at the stk500 bootloader code and seeing that ! is some kind of special character in the protocol. Perhaps avrdude should be escaping it in the uploaded code somehow?

@cmaglie
Copy link
Member

cmaglie commented Sep 28, 2013

The triple "!!!" bug, was one of the (many) bugs resolved on the Mega2560(ADK)'s bootloader.

You must update your bootloader (or introduce workarounds in your sketch to avoid the triple exclamation mark).

For reference look:
#1183

Closing as duplicate of #392

@cmaglie cmaglie closed this as completed Sep 28, 2013
@per1234 per1234 added Component: Bootloader The bootloader is the program used to load the uploaded program into the microcontroller's memory Type: Duplicate Another item already exists for this topic labels Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bootloader The bootloader is the program used to load the uploaded program into the microcontroller's memory Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

4 participants