May 08, 2020
02:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 08, 2020
02:57 AM
Hello,
For certifications purposes we are working on a function stubbing mechanism which uses breakpoints. So basically our program sets breakpoints in certain places in the program itself while a test is running.
At some point we restart the board to run a different test. The problem is that when the MCU restarts the debug mode is not enabled, so our stubbing mechanism doesn't work anymore.
The documentation states that "How the DBGSR.DE bit is controlled and how the CDC is enabled or disabled, is system dependent"
So, the question is, how can I enable debug mode from the program that is running in the TC297?
Thanks for your help,
Francis Merino.
For certifications purposes we are working on a function stubbing mechanism which uses breakpoints. So basically our program sets breakpoints in certain places in the program itself while a test is running.
At some point we restart the board to run a different test. The problem is that when the MCU restarts the debug mode is not enabled, so our stubbing mechanism doesn't work anymore.
The documentation states that "How the DBGSR.DE bit is controlled and how the CDC is enabled or disabled, is system dependent"
So, the question is, how can I enable debug mode from the program that is running in the TC297?
Thanks for your help,
Francis Merino.
- Tags:
- IFX
1 Reply
May 08, 2020
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 08, 2020
04:40 AM
See this post to enable debug mode:
https://www.infineonforums.com/threads/6711-Performance-Counter-Registers-on-TC297-board?p=19491&vie...
https://www.infineonforums.com/threads/6711-Performance-Counter-Registers-on-TC297-board?p=19491&vie...