Differences between debug mode and normal running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-17 2:23 AM
Hi all,
I have a piece of code that does DMA on a UART port. This DMA i read in an buffer and i reply in 1 ms
Sometimes i dont get the incomming UART message. I wanted to confimr this with the debug mode and reading the buffer with "live expressions". But when i use debug mode with live expresions the error never occurs. The rest of the codde is the same.
Is there a difference in timing with the DMA UART when debug is enabled?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-17 3:05 AM
Mostly code order and optimization.
Would watch for appropriate use of volatile and cache coherence protocols where those may be an issue.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-17 3:05 AM
Mostly code order and optimization.
Would watch for appropriate use of volatile and cache coherence protocols where those may be an issue.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-17 3:15 AM
Thank you very much. I will do as adviced
