Page 1 of 1

Serial1 Lockup

Posted: Thu Aug 08, 2013 7:07 am
by JamesBrown
I have several EtherMega's that are setup to read a serial stream and they all lock up after a few minutes. I have the link rate set at 9600 baud but the problem does not seem to be rate sensitive. The messages are all short, about 36 binary characters.
The code is very straightforward reading one character at a time, processing it and then returning for the next.

Code: Select all

if (  Serial1.available() )
		data =;
      ....Process the byte

Does anyone else have experience with this problem?

Re: Serial1 Lockup

Posted: Thu Aug 08, 2013 7:20 am
by andrew
Haven't heard of anyone with that specific problem in the past. Would you mind posting your sketch and how you've wired things up?