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.

TMS320F280049C: nc/hw_memmap.h Error/ Undefined Symbols Error/ General C2000 help

Part Number: TMS320F280049C
Other Parts Discussed in Thread: LAUNCHXL-F280049C, , C2000WARE

Tool/software:

Hello, I have been testing the TMS320F280049C on the LAUNCHXL-F280049C. I get led_ex1_blinky to work and some other examples as well. Sometimes however I come across the following error even though I have the correct includes. This is one of the most common errors I have received as well as the no symbol error.

"C:/ti/c2000/C2000Ware_5_03_00_00/device_support/f28004x/common/include/driverlib.h", line 45: fatal error #1965: cannot open source file "inc/hw_memmap.h"

Error Message:

Include Options:

Furthermore, I have created my own PCB with the TMS320F280049C on it. All the software that I have flashed on it I first test on the launchpad then modify it according to my PCB setup and flash it onto the board. I do this by editing the led_ex1_blinky.c file...(I erase the entire example file, paste my new code into the file, build, and compile). I have seen that it is not recommended to create your own projects and this is what I have been doing.

The issue arises when I try to use the #include "F28x_Project.h" header, originally this worked and compiled, however when I create a new workspace, import the same led_ex1_blinky.c file, erase the example code, paste my new code, I get an error that says "unidentified symbols". The code is the same, simply a new workspace. Therefore, I do not know if I included a path that allowed me to run the code originally in my first workspace but not in the second, I have tried everything to get the undefined symbols and inc/hw_memmap.h errors to go away.

Any advice on how I should go about creating a project, correct includes, how to get rid of these error, and general c2000 development on ccs would be appreciated.

Thanks.

  • Hi, 

    The drverlib include path that you have specified should be till "driverlib" folder like "C:\ti\c2000\C2000Ware_5_04_00_00\driverlib\f28004x\driverlib"  . 

    Since you have added "inc" to this include path, it is looking for "inc/hw_memmap.h" file in this folder which does not exist. 

    As per the advice to get started with creating a project,  you can refer the empty project provided within C2000Ware located at <C2000Ware>driverlib\f28004x\examples\empty_projects\CCS. Later , you can add your files and update the include paths as required. 

    Best Regards

    Siddharth