I’m trying to get the profiler working on a PAC5532 (Cortex M4F). I followed the instructions here: https://visualgdb.com/tutorials/profiler/embedded/instrumentation/ It looks pretty straight forward.
I enabled the Fast Semihosting and Embedded Profiler in the VisualGDB project settings and added a call to InitializeInstrumentingProfiler() in the startup code.
But when I try to run the profiler (Analyze->Analyze Performance with VisualGDB), I get a popup saying the project is missing the embedded profiler. If I click no to dismiss the message, the firmware is flashed and then a error pops up saying “The debugged program does not contain the sampling profiler”.
I’ve attached the .map file, which shows it has the profiler in it.
The project I’m trying to debug uses a bootloader. Could that be part of the problem? I have the debug steps to flash the bootloader and everything else the application needs (crc, lengths, etc) before trying to debug the application.
Attachments:
You must be
logged in to view attached files.