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.

TMS320F28388D: Build Configuration Problem

Part Number: TMS320F28388D
Other Parts Discussed in Thread: TMDSCNCD28388D, C2000WARE

Tool/software:

I started a new CCS project from the Blinky example project about a year ago, and built it up considerably larger than that example project. Initially, I could both load the program to Flash using CPU1_FLASH Build Configuration or load the program to execute from RAM using the CPU1_RAM Build Configuration. I'm developing the project on a TMDSCNCD28388D Control Card (Eval Board), and know how to set the switches for programming and running out of RAM or FLASH, and have done it successfully in the past.

I then put this project aside about 6 months ago, and have now come back to the project to resume it. However, when I try to use the CPU1_FLASH Build Configuration to execute out of Flash, I get all kinds of Linker errors, saying that the Linker cannot find various files, BUT when I use the CPU1_RAM Build Configuration, the project compiles and links and runs (out of RAM) perfectly.

Any ideas what the problem may be? I can compile, link, and run perfectly with the CPU1_RAM Build Configuration, but cannot build the project with the CPU1_FLASH Build Configuration because I get all kinds of Linker errors when I select the Flash build, but no problem linking those same files when running the CPU1_RAM Build Configuration.  Thanks.

  • Hi,

    Can you try deleting the example from the workspace and try reimporting it again.

    Also can you post the error messages that you were facing in FLASH configuration.

    Thanks

    Aswin

  • The problem was that (somehow) the Properties | Build | C2000 Compiler | Include Options for the CPU1_FLASH Configuration got corrupted and was missing the line  C:\ti\C2000Ware_4_00_00_00\driverlib\f2838x\driverlib, which the CPU1_RAM Configuration had; same for the Properties | Build C2000 Linker | File Search Path for the CPU1_FLASH Configuration was also missing that same "driverlib"  path.

    However, I was not able to edit the Include Options for the Compiler. I added the driverlib path, but it would not save. So I took your suggestion about deleting the Project from the workspace and reimporting it again, and that enabled me to add the missing "driverlib" path to both the Compiler Include Options and the Linker File Search Path for the CPU1_FLASH Configuration, and then the problem was fixed. Thanks for your help.