Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Execution Graph Gaps due to Data Loss and Log Start Control

$
0
0

I understand that I have to pause execution to download the data.  I have been doing that.  The problem is that since I have enabled logging SWIs and they execute from code start until I can hit the send button on my terminal emulator program any buffer size I have tried is insufficient to capture the event as the buffer is full of SWI events.


What I want to do is TURN OFF logging until the first character of my transmission from the terminal emulator is detected in the callback routine so that the log will ONLY have events from that point forward.

With respect to the 5ms issue - I was afraid that this might be the case.  The intent of my code was that I can start a timer when the first character is received and then on each successive character STOP the timer, reset it back to initial value (5 tics), and restart it.  Theoretically, this would allow receipt of an entire buffer's worth of characters before the timer timed out and fired the SWI.  Is this functionality possible in SYSBIOS?


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>