This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320C5515: How do I profile on the C5515?

Part Number: TMS320C5515

Tool/software: Code Composer Studio

I have a C5515 on an ezDSP development board. I can program and debug it with CCS7, but I'm trying to figure out how to profile it to measure CPU cycles taken up by particular functions.

I've tried using Tools > Profile > Setup profile data collection. I can't actually change any of the settings (they're all read only), but I assume they're sensible defaults? When I activate it and run the debug build of the code, it simply hangs at the very first sleep (__asm(" idle") instruction) and never wakes up. There's no breakpoint here. Since the function I want to profile processes data received by UART, and I use an interrupt/sleep based architecture for UART communication, this means I can't actually send data to the device.

The sleep code just configures the IDLE2 state as per the user guide, and leaves system clock and UART clock active. Do I need some extra configuration to use profiling? Is there another way to profile code, a way that is practical for processing thousands of function calls (so not manually starting and stopping counters in the debugger)?