Keil Logo

TraceSuspend (ETM)

Suspends capturing ETM instructions when the expression tp_expr evaluates to TRUE. This command affects ETM instruction trace only. The command syntax is:

Syntax Description
TS tp_expr Suspends ETM tracing when the expression is TRUE. ETM tracing must have been started with TraceRun.

Examples:

TS  LED_Init                           // suspend trace when PC reaches the entry of LED_Init()
TS  \\Blinky\Blinky.c\47               // suspend trace when PC arrives at line 47 of Blinky.c
TS  _writeacc_((0x8000,0xFF)) == 10    // suspend trace when value 10 is written to an element
                                       // in the address range of 0x8000 - 0x80FF
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.