Common problems in debugging TMS320C2000 series?[Copy link]
This post was last edited by Jacktang on 2018-6-14 20:57 1). Single-step operation is possible, but continuous operation always returns to address 0: Watchdog is not turned off, and continuous operation resets the DSP back to address 0. 2). OUT files cannot be loaded into the on-chip flash: Flash is not RAM, and cannot be written with simple write instructions. A special program is required to write. The load command in CCS and C Source Debugger cannot write to flash. OUT files can only be loaded into on-chip RAM or off-chip RAM. 3). How to add breakpoints in flash: You can use single-step debugging in flash, or you can use hardware breakpoints to add breakpoints in flash. Software breakpoints cannot be added in ROM. Hardware breakpoints set the address of the memory, and an interrupt is generated when the address is accessed. 4). Interrupt vector: The interrupt vector of C2000 cannot be relocated, so the interrupt vector must be placed in the flash starting at address 0. When debugging the system, the code is placed in RAM, and the interrupt vector must also be placed in the flash