How can I debug my program and be able to use breakpoints in CCS while running from on-chip FLASH of C28x devices?
Load the program into flash using one of the FLASH programming tools and bring up the Code Composer Studio Software. Load the project that generated the COFF file that you programmed on FLASH. Now load symbols by using `File –> Load Symbols –> Load Symbols Only` in Code Composer Studio menu and select exactly the same COFF (.out) file you used to program the FLASH. When running your program from on-chip Flash, you will need to use hardware(h/w) breakpoints. When debugging code in Flash on the 28x devices, you are limited to 2 H/W breakpoints. CCS may automatically set certain breakpoints which will utilize both of your available 2 breakpoints unless you disable certain options. See this article for more info.
Related Questions
- Code Composer Studio 3.3: When attempting to load my program to the flash within CCS, I receive a Data Verification Failed error. How come I cannot program the flash with the Load Program option?
- Why do I receive errors when attempting to use the CCS Profiler when debugging from the internal flash of the TMS320F28xxx devices?
- Can I program Flash or OTP (One Time Programmable memory) on C28x devices incrementally such as one word at a time?