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:
- Load the program in RAM.
- Step over
Device_init();
function where the clocks are defined. - Connect to the CLA and load symbols, which opens the .asm file.
- Go back to
main
and resume the code, stepping into the CLA task successfully.
However, when running the code from flash, I encounter issues:
- I load the program in flash.
- 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). - Run the code up to this function.
- 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