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.

Project doen't build additional files for FLASH

Other Parts Discussed in Thread: CONTROLSUITE

I have a C2000 launchpad and have been working through examples from the ControlSuite. Most of the examples only have one main .c file, but the I2C one has multiple .asm and .c files. It builds and includes all of these when building for RAM, but when I go to FLASH they additional files get greyed out and aren't included in the build. Therefore I get a build error because it thinks the functions in the other files are undefined. I want the program to be retained after cycling power or a reset, but it won't do that when running from RAM. I am using CCS v5.3 with the free version license. Is this a limitation of my license?

  • It is not a limitation of the license. It looks like the project has not been set up correctly for the Flash configuration. I will move this thread to the C2000 forum as the folks who monitor that forum are the ones that create and maintain these examples in ControlSuite.

  • I think I found my problem. For some reason when I selected Flash it removed these additional source files from the build. If I select the properties of each of the source files, there is a checkbox that says "exclude resource from build" that is checked. When I removed this check, it shows up and then builds. Hope this helps any other newbies that run into this issue.

     

  • not sure about CCS 5 and 2802x but previously the problem with flash code executing was not only in checkboxes.

    usually you need to copy some sections from FLASH to RAM in case you need standalone operation of your device.

    Read SPRA958K "Running an Application from Internal Flash Memory on the TMS320F28xxx DSP" to figure out this.