Go Down

Topic: Arduino FREEZE (Read 487 times) previous topic - next topic



On my arduin, rx led constant blink because he constantly receiving data from pc, and that's OK.

But after a while my Arduino hangs (freeze), probably because it is rx buffer full... How to solve this? Is there any way to flush rx buffer?

Thanks in advance, and sorry on my bad English :)


Most likely you have a bug in your code, for example a buffer overflow or an out-of-memory condition.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.


Is there any way to flush rx buffer?

You could read all the characters out of it.

It would be useful to see your code.
Never heard of rx buffer overflow happening; it just wraps.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131