I've really embraced using DuinOS for my project. But I'm noticing some strange behaviors when using serial on an Arduino MEGA. I have a few tasks, one which reads data from Serial2 which is a GPS device, another which handles reading various sensors (accelerometer, voltage (0-1v)) and processes a tachometer input (the input is handled by an interrupt, which increments a counter, ever 250ms, the handler task runs and converts it to RPM). All of these tasks queue messages to a handler task which will output through Serial2 to a Arduino Pro Mini which will drive a LCD display. In the QueueHandler function, if I only do a "Serial.print" of a string, everything works fine. When I try and Serial.print data from the queued message things just hang. Things also hang when I try and Serial2.write out to the Pro Mini.
Sometimes the led on Pin 13 blinks, sometimes it goes solid, but in most cases it just remains off.
Anyone have any ideas what may be the issue here.
I'd post the code, but its quite large. I'm happy to send via email. Note, I've tried playing with stack sizes on the tasks when they are created going as large as 4K. No joy there.