How to enter debug mode in TC297

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19462
Level 1
Level 1
First reply posted First question asked
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.
0 Likes
1 Reply
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
0 Likes