cancel
Showing results for 
Search instead for 
Did you mean: 

Why does Appli's ITM output require clicking on settings to display content correctly?

AMOMO
Associate

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?

 

AMOMO_0-1735548483528.png

Run until the output test 33333 ITM output window does not display any content

AMOMO_1-1735548529557.png

At this point, click on 'Settings' and then close the settings window to continue running the program

 

AMOMO_2-1735548575009.png

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

0 REPLIES 0