I am new developing C code on the TMS320F2808 using Code Composer 5.3 and the Spectrum Digital XDS510USB Emulator. I had very little problem using the example code getting up to speed on the basics, but now I am in much deeper waters attempting to build on some prior existing code that compiles & links but gives me problems prohibiting the setting break points where one would expect should be not an issue. Upon entering a debug session the console immediately provides this initial error message:
C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x3f43a0: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x003F43A0
Searching through the help I found no immediate answers as well as searched the forum blogs. As I examined the "main" function I noted that I could NOT place a breakpoint on the first two function calls in but the 3rd was OK. The error messages from failing to apply the 2 breakpoints are below:
C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x3f43a0: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x003F43A0
C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x3f43a2: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x003F43A2
I could play divide and conquer on these functions, but it would be highly more useful and efficient if I could interpret the error message and get at the root of this problem and be more effective for the next ones to come. The for the record the "main" function is simply:
void main(void) {
/*#[ operation main() */
HwInitialize();
HwConfigure();
MainTask();
/*#]*/
}
Some helpful hints would truly be appreciated!
