Skip to main content
spflanze
Associate II
March 21, 2016
Question

Tracing Using ST-Link V2 and Ac6 System Workbench

  • March 21, 2016
  • 1 reply
  • 522 views
Posted on March 21, 2016 at 01:50

The processor is an STM32F373VCT. The emulator probe is an ST-Link V2 iso.

I have on the board JTAG connections to all five of the processor's trace pins (CK, D0-D3). In the Ac6 System Workbench's Trace Control window I see that when I have a debug session in progress there is the message  ''Tracing is not supported.'' Is this because the DBGMCU->CR register is left in its default state? If I set TRACE_IOEN, and TRACE_MODE bits in this register would tracing be supported? Or is tracing not supported in ST-Link V2 hardware?

 
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    March 21, 2016
    Posted on March 21, 2016 at 02:12

    The ST-LINK is not capable of Cortex Trace, just SWV via the SWO pin.

    The commercial trace pods use FPGA with SDRAM, and USB HS to attain the data rates required, these things run $1500, not $15

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..