Hi,
I have ST Microelectronics EVAL board having STM32L1xx series MCU and I am using Keil uVision 5. I connect the board to the PC using USB Type B connector, which also gives power to the board. I programmed the EVAL board with Demo code from ST. Now I want to profile the CPU and Memory usage.
How can I achieve this? Do I need any additional debugger to do this?
Appreciate your quick reply.
Thanks, Dhaval
In case my assumption is correct that with "profile" you mean analyzing your project, then refer to: www.keil.com/.../uv4_db_dbg_win_dialogs.htm
Thanks for your reply.
Yes, I want to know the memory and CPU usage while code is running. Also, time taken by the functions. I think that I can achieve using "Execution Profiling" option, but that option is greyed out. So I can't start it. Why is that so? What should I do to enable it?
Also, the 'Event Viewer' is not showing any events!!
Please help me here.
follow these instructions, i.e. to enable ETM Trace at "Options For Taget/Debug/Trace": www.keil.com/.../uv4_db_dbg_execprofiler.htm The left site on this website offers more helpful details, btw
View all questions in Keil forum