Combining the power of the ATmega2560 MCU with onboard Ethernet, a microSD card slot, an efficient switchmode power supply, and a small prototyping area. [Product page
- Joined:Fri Apr 12, 2013 6:27 pm
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 = Serial1.read();
....Process the byte
Does anyone else have experience with this problem?
- Freetronics Staff
- Joined:Sun Jul 14, 2013 7:06 am
- Location:Melbourne, Australia
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?