cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F2xx Keil Performance Analyzer

felipe
Associate II
Posted on July 25, 2013 at 19:17

Hi all,

I am using the STM32F207IG with uVision4 from Keil.

For my suprise, the perfomance analyzer didnt apear in the Debug Section.

I have found this link that show how to active: ''

http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_trace_perf_analyzer.htm

''

I tried it but with no sucess.

Anyone knows if I can use this tool with stm32f207 in uVsion? It is really important for my application to see the time for each task.

If we cant do it in Keil maybe in other compiler?

Byebye

3 REPLIES 3
Posted on July 25, 2013 at 21:41

If you have a

http://www.keil.com/ulinkpro/

, then you should probably be seeking support directly from Keil.

ULink's only work with Keil. A Segger J-Trace would be more portable.

Doing SWD trace does require the core frequency to be set correctly.

There is a

http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/FreeRTOS_Plus_Trace.shtml

, which seems to work quite nicely. I'm not sure of it's general utility as I tend to instrument my own code.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
felipe
Associate II
Posted on July 25, 2013 at 22:14

I have Ulink2 and ST-LINk/V2.

So Its possible to do Permance Analyze with the STM32F2xx in Keil?

Posted on July 25, 2013 at 22:53

I'm not sure a ULink-2 is going to get it done, I'm surprised you were able to follow the instructions you cited, as I don't see half the options on the Trace pane.

You can get a regular ULink-2 to do ''PC Sample'', and view the Trace Records. You might be able to drive states in the Logic Analyzer window.

I've done SWD on ULink-2/ME and ST-Link V2. My J-Trace is the ARM7/9 model, so no use on the Cortex-Mx

http://www.mouser.com/ProductDetail/Keil-Tools/ULINKPRO/?qs=sZfk%252bfAlGe7MXAkdJqOOuQ==

http://www.mouser.com/ProductDetail/Segger-Microcontroller/J-Trace-for-Cortex-M/?qs=sGAEpiMZZMvu8NZDyZ4K0VCic1l%252bMnXf

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