|
|
|
|
Re: Logging via UART [message #1028057 is a reply to message #1024250] |
Wed, 27 March 2013 19:39   |
Sasha Slijepcevic Messages: 115 Registered: July 2009 |
Senior Member |
|
|
Kawada,
the System provider you are using is SysMin, and it maintains a buffer whose default size is 1024 bytes. If you print more than 1024 characters before calling System_flush(), the oldest characters that weren't printed yet will be overwritten. You can configure the buffer size to be large enough so that the buffer doesn't get filled up between executions of the Idle thread. Depending how much you care about memory consumption and the completeness of the output, you can decrease or increase the buffer size.
If you have to have both, low memory usage and the complete output, you'll have to call System_flush after each Log_print.
[Updated on: Wed, 27 March 2013 19:41] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02370 seconds