This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ULink PRO - Streaming ETM trace does not work

I own a ULINK Pro. Managed to get ETM trace working on my STM32F4,
but when I stop the CPU or run into a breakpoint, I can only
look back about 1ms (at 168MHz) or about 2ms at 100MHz.
How much I can see in the trace window seems to depend on the
complexity of the code. More function calls or even function pointers
seem to reduce the number of instructions.

It seems to me that I can not use streaming trace, but only the
buffer in the ULINK Pro, which seems to be very small (around 64KB?)
With streaming trace, the number of instructions should be unlimited since
my harddrive can be used as buffer.

Any way to get streaming trace up and running?

Parents
  • It would be helpful if Bob Boys jumped in here to provide some definitive statement about the function and configuration of the trace modes.

    One of the compelling cases for trace is a long term buffer that can run indefinitely and provide postmortem data about just how the heck the code got to where it is, and why.

    As Sven points out, the STM32 family has a complete debug instantiated with the core. The STM3240G board has trace headers as I recall.

Reply
  • It would be helpful if Bob Boys jumped in here to provide some definitive statement about the function and configuration of the trace modes.

    One of the compelling cases for trace is a long term buffer that can run indefinitely and provide postmortem data about just how the heck the code got to where it is, and why.

    As Sven points out, the STM32 family has a complete debug instantiated with the core. The STM3240G board has trace headers as I recall.

Children