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.

TMS320F28375S: Not able to debug CLA from Flash

Part Number: TMS320F28375S

Hello Team,

I am using the TMS320F28375S microcontroller with CCS 12.7 and facing issues debugging the CLA when running the program from flash using the 2837xS_FLASH_CLA_lnk_cpu1.cmd file.

When I load the program in RAM, using the 2837xS_FLASH_CLA_lnk_cpu1.cmd file, I can debug the CLA successfully.

Here is the process I follow for debugging from RAM:

  1. Load the program in RAM.
  2. Step over Device_init(); function where the clocks are defined.
  3. Connect to the CLA and load symbols, which opens the .asm file.
  4. Go back to main and resume the code, stepping into the CLA task successfully.

However, when running the code from flash, I encounter issues:

  1. I load the program in flash.
  2. Set a breakpoint before ADC_init(); (since my CLA is triggered by ADC SOC and i read in similar threads that, first Copy the program and constants from FLASH to RAM). 
  3. Run the code up to this function.
  4. Connect to the CLA and attempt to load symbols, but the symbols are not loaded.

Could you please help me resolve this issue? Any suggestions on what might be going wrong or additional steps I should follow would be greatly appreciated.

Thanks and Regards

Muzammil Qureshi

  • Hi Muzammil,

    What exactly is happening when you try to run from flash? Do you try loading the symbols and it gives you an error message? Or are you hitting an assert statement in the code somewhere? Can you show the lines of code where you are copying the CLA program from Flash to RAM?

    Best Regards,

    Delaney