Skip to content

Arduino mega freezes if send "!!!" by serial #6314

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
daiolix opened this issue May 23, 2017 · 2 comments
Closed

Arduino mega freezes if send "!!!" by serial #6314

daiolix opened this issue May 23, 2017 · 2 comments
Labels
Type: Duplicate Another item already exists for this topic

Comments

@daiolix
Copy link

daiolix commented May 23, 2017

While debugging my progect have found that arduino mega 2560 freezes and holding serial port if i try to send "!!!" somewhere in code. Only if unplug and plug the board i can continue. Progect didn't download, board is empty.
I don't know is it bug, or "!!!" is fobbiden.
Have tested with code below, tried different speeds. Same with Serial.write
Now i can't test it with uno.

void setup() {
Serial.begin(9600);
Serial.print("!!!");
}

void loop() {
}

@PaulStoffregen
Copy link
Contributor

Are you using a genuine Arduino Mega?

This problem was fixed many years ago.

@matthijskooijman
Copy link
Collaborator

matthijskooijman commented May 23, 2017

This is a duplicate of #392. To fix it, you'll have to update the bootloader in the mega. The version shipped with the Arduino IDE should have the fix, so you can use the "Burn Bootloader" option of the IDE. You will need an ISP programmer (or another arduino using the ArduinoISP sketch), Google probably has pointers on how to set this up.

@matthijskooijman matthijskooijman added the Type: Duplicate Another item already exists for this topic label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants