Very strange.....
Just to be complete, you call reset_serial one time in the history of the world.....
IE you only open the serial port onece, you don't close and reopen for every message?
The printf stuff in your log functions are using a Differnt serial port than the one you call gateway, correct?
Your 100% certain on the answer tot he previous question?
What is the task priority for the SSL and the serial monitoring functions?
Serial overrun error
-
- Posts: 19
- Joined: Fri Dec 19, 2014 3:07 pm
Re: Serial overrun error
Sorry for the late reply... I was on travel.
Yes I open the serial once only and I am 100%. I put in some logging to verify.
The iprintf prints to UART0 and the serial port I call gateway is on UART1.
The task priority for the SSL functions are on MAIN_PRIO - 1
and the task priority for the Serial read function are on MAIN_PRIO - 2
I seem to see the issue less when running with a release build vs. a debug build.
Yes I open the serial once only and I am 100%. I put in some logging to verify.
The iprintf prints to UART0 and the serial port I call gateway is on UART1.
The task priority for the SSL functions are on MAIN_PRIO - 1
and the task priority for the Serial read function are on MAIN_PRIO - 2
I seem to see the issue less when running with a release build vs. a debug build.