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.

CCS 5.2 TMS320C28335: Skpping Code at Runtime and Unable to set Breakpoints in Debugging



Current Build environment:

  • Windows 7 64bit
  • TMS320C28335
  • CCS 5.2.0.00069
  • XDCtools 3.24.5.48
  • SYS/BIOS 6.34.4.22
  • Compiler: IT v6.1.1
  • Custom Board Platform Package
  • Spectrum Digital XDS510USB Emulator

This project was created from the following build environment:

  • Windows XP 32bit
  • TMS320C28334
  • CCS 4.2.0
  • XDCtools 3.16.3.36
  • SYS/BIOS 6.21.3.21
  • IPC: 1.20.0.23
  • Compiler: TI v5.2.11
  • Custom Board Platform Package
  • Spectrum Digital XDS510USB Emulator

I was able to compete my update this project to current build environment.  Now my target is not working way it should.  I have stepped through my code and noticed that it has been skipping line of code during runtime and I'm unable to set breakpoint at some places.  

For instance:

 

I am unable to set break points at line 293, it goes to line 294 and sets the break point there. It does this also for line 291.  However, I am able to set a break point at line 290.

 

Also I have noticed that “counter” is  not listing in the Variables panel.

 

When I single step from line 290, it will skip to 294 and the variables that were skipped were not evaluated.

 

The Console panel had these error messages.

Console said:

C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x30613e: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x0030613E 

C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x300504: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00300504 

C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x30613e: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x0030613E 

C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x30613e: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x0030613E 

C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x30613e: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x0030613E 

All memory locations look valid. I cannot seem to find out what’s going on. Any help can be provided would be appreciated.