cancel
Showing results for 
Search instead for 
Did you mean: 

Profile time taken by a function on STM32L152D-EVAL using Keil uVision 5

dhaval
Associate II
Posted on January 22, 2016 at 13:20

Hi,

I have STM32L152D-EVAL board and I am using Keil uVision 5. I programmed the board with the Demo Firmware. I am powering up the board using USB Type B cable connected on CN 14 connector.

Now I want to profile the time taken by a function. I don't have any debugger and the Execution Profiling option is greyed out. How can I achieve this? Is it possible to do it using SysTick Timer?

Appreciate your quick reply.

Thanks,

Dhaval

#stm32l1xx #profile
1 REPLY 1
Posted on January 22, 2016 at 14:53

May be you need to invest in a debugger? Presuming this is an evaluation uV5

When benchmarking code I use the DWT_CYCCNT functionality. Review related threads here.

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