I need to do execution profiling on an STM32F405 (Cortex-M4). My firmware is built using MDK-ARM Professional 5.40. I have debug access via SWD + SWO; I don't have the available I/O to support ETM.
Debug adapters I currently have on hand are the STLINK/V2 and the Keil ULINK 2.
What I need to know: What are the minimum requirements for execution profiling with this processor and IDE? Is the ULINK 2 sufficient, or do I need a more expensive debug adapter?
It is surprisingly difficult to get an answer to this question from the available documentation. Plenty of sales talk, very little useful information.
Thanks,
Steve Hersey
developer.arm.com/.../Execution-Profiler
Thanks. I've run across that link, and it says the following (typo is in the original):
As noted in my original post, I don't have access to the ETM hardware lines. Does that mean I have no options for any kind of execution profiling? What, if anything, can I get out of having the TRACESWO line in this regard?
As far as I have seen, the TRACESWO is usually used by allowing you to "putc() / printf()" to the connected SWD device.
You can get limited trace visibility via SWO:
https://learn.arm.com/learning-paths/embedded-and-microcontrollers/uv_debug/4_swv/