2024-12-30 12:52 AM
Hello everyone, why is it that the ITM output does not display when the IDE jumps from boot to Appli? Clicking on the wrench (settings) does not make any changes, and running it again can display the output content normally?
Run until the output test 33333 ITM output window does not display any content
At this point, click on 'Settings' and then close the settings window to continue running the program
It can display the content normally
Please click the wrench icon now...
=== Before Click ===
ITM->TCR = 0x0001000F
ITM->TER = 0x00000001
CoreDebug->DEMCR = 0x01000000
TPI->ACPR = 0x00000000
=== After Click ===
ITM->TCR = 0x0081000F
ITM->TER = 0x00000001
CoreDebug->DEMCR = 0x01000000
TPI->ACPR = 0x00000000
=== Changes ===
TCR changed: 0x0001000F -> 0x0081000F
The above test code shows that the ITM register is different before and after, and the value changes after clicking the wrench