2016-01-22 04:20 AM
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 #profile2016-01-22 05:53 AM
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.