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.

AM261-SOM-EVM: AM261x Profinet_device_demo not debuggable in CCS

Part Number: AM261-SOM-EVM

Hello, 

i have already created a ticker: AM261-SOM-EVM: AM261x Profinet_device_demo not debuggable in CCS - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums 

I tried debugging profinet_device_demo. As you suggested, I added the function below and called it right after main() starts:

void loop_forever(void){
    volatile uint8_t i=1;
    while(i);
}
int main(void)
{
    loop_forever();
    uint32_t status = PN_API_OK;
    System_init();
    Board_init();
    ...
}

However, the issue remains: CCS flashes the code, but after that the target keeps running continuously. When I halt the CPU manually, it stops at the call stack location.

image.png

Setup details:

  • AM261x-LP board
  • ind_comms_sdk_am261x_2025_00_00_08
  • CCS 20.3.1
  • DEV boot mode for debug

Could you please suggest what to check next to make the debugger halt and allow stepping/breakpoints?