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.

TMS320F28379D: CCS v12.8 IER and IFR cannot be resolved

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

I am trying to write some code for the F28377D microcontroller on the Delfino control card. However, every time that I try to compile the code in CCS, it gives me errors "Symbol 'IER' could not be resolved" and an identical error for the symbol 'IFR'.

What I've tried: uninstalling and reinstalling CCS, going into the resource finder and manually telling the compiler where the definitions of IER and IFR are (the extern __cregister definitions in F2837xD_device.h), and trying to compile multiple other examples in C2000Ware to see if there's something wrong with just the example I'm using. I also know that IER and IFR are compiler-defined symbols for referring to interrupt registers on the microcontroller, so I also tried updating my compiler to the latest version. None of these have worked.

I am trying to load the unmodified example epwm_up_aq_cpu01.c to my control card. I know it's not a problem with the control card, as other coworkers' laptops can successfully load programs onto it using their CCS. 

Any ideas or information that could help resolve this situation would be very much appreciated, thanks so much in advance for your reply!

  • Hello,

    Have you tried switching to a new, empty CCS workspace, and re-importing your project? Please let me know if that resolves the issue.

    Best,

    Matt

  • Hi,

    Yes, I have tried deleting the entire workspace, uninstalling CCS, and reinstalling CCS (which will make a new workspace when opening the software for the first time). It doesn't resolve the issue....

  • Hello,

    Can you provide a screenshot of the errors and also the full build output in the build console (you can copy + paste the content in the console to a text file and post the file to this thread)?

    Best,

    Matt

  • So I tried uninstalling and reinstalling CCS again after deleting all of the TI files that I could find on my computer. Now I am getting a different build error that I was able to resolve before but can no longer resolve. The error is "Program ...\gmake not found in PATH". In the past, this error appeared, but I fixed it by supplying the path to the gmake program on my Windows machine's User Environment Variables and installing the compiler and linker tools after clicking on Help->Check for Updates and selecting all of the available updates and installing them. Doing those steps this time did not fix the error, however.

    A couple other things I noticed that are different about my installation compared to my coworkers' installations: In the Properties dialog, there is usually some menu items like "C2000 Compiler Options" and "C2000 Linker Options" or something to that effect; my installation doesn't have those options. 

    Here is the output of the "Build Project" command in the console. Hopefully this is helpful in diagnosing the issue...

    01:04:56 **** Clean-only build of configuration CPU1_RAM for project epwm_up_aq_cpu01 ****
    "$(CCS_UTILS_DIR)\\bin\\gmake" clean 
    Cannot run program "$(CCS_UTILS_DIR)\bin\gmake": Launching failed
    
    Error: Program "$(CCS_UTILS_DIR)\bin\gmake" not found in PATH
    PATH=[C:/ti/ccs1281/ccs/eclipse/jre/bin/server;C:/ti/ccs1281/ccs/eclipse/jre/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MATLAB\R2024b\bin;C:\Program Files\Git\cmd;C:\ti\ccs1281\ccs\utils\bin;C:\Ruby33-x64\bin;C:\Users\benli\AppData\Local\Programs\Python\Launcher\;C:\Users\benli\AppData\Local\Microsoft\WindowsApps;C:\Users\benli\AppData\Local\Programs\Pulsar\resources;C:\Users\benli\AppData\Local\Programs\Pulsar\resources\app\ppm\bin;C:\Users\benli\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\ti\ccs1281\ccs\utils\bin;C:\ti\ccs1281\ccs\utils\bin\gmake;;C:\ti\ccs1281\ccs\eclipse;]
    
    01:04:56 Build Failed. 1 errors, 0 warnings. (took 79ms)
    
    
    **** Build of configuration CPU1_RAM for project epwm_up_aq_cpu01 ****
    
    Nothing to build for project epwm_up_aq_cpu01
    

  • A few other things of note that may be of concern:

    1. In Properties->Build, "Builder" submenu, the box "Use Default Build command" is unchecked, and when I try to check it, CCS doesn't allow me to select the option. The box is not greyed out; the box clicks but it doesn't select the option, which is very strange behavior.

    2. In Properties->Build, "Builder" submenu, the option "Use standard build arguments" is unselected, and the "Use custom build arguments" is selected. When I try to select the standard build arguments, the same thing happens where CCS doesn't allow me to select this option, even though the option is not greyed out.

    3. In Properties->Build, "Variables" submenu, the variable "INSTALLROOT_F2837XD" is highlighted in red, which probably means something is wrong.

  • Hello Ben,

    Have you seen the section regarding gmake errors in the below article?

    https://dev.ti.com/tirex/explore/node?node=A__AFD6sRTGUuaj8Zue-MwqlA__ccs_devtools__FUz-xrs__LATEST

  • 1. In Properties->Build, "Builder" submenu, the box "Use Default Build command" is unchecked, and when I try to check it, CCS doesn't allow me to select the option. The box is not greyed out; the box clicks but it doesn't select the option, which is very strange behavior.

    2. In Properties->Build, "Builder" submenu, the option "Use standard build arguments" is unselected, and the "Use custom build arguments" is selected. When I try to select the standard build arguments, the same thing happens where CCS doesn't allow me to select this option, even though the option is not greyed out.

    Can you provide a screenshot of this tab after you have enabled these options?

    3. In Properties->Build, "Variables" submenu, the variable "INSTALLROOT_F2837XD" is highlighted in red, which probably means something is wrong.

    Like the variable is not able to be resolved. Check to see that the path is valid.

    Thanks

    ki

  • Ok, strangely enough, I was able to resolve the problem. I tried installing C2000Ware first and then installing CCS. I also made sure to import the example projects from the "Import Project" button on the "Getting Started" page, and to check the two menu boxes "Automatically import referenced projects found in the same directory" and "Copy projects into workspace" when importing the project into the workspace. This seemed to resolve the issue. I'm not sure why doing these things fixed the setup though, as it didn't seem to matter with my coworkers when they installed the examples.

    Before, I was importing the projects by clicking on File -> Open Projects from File System" and selecting the folder containing the desired example in the C2000Ware installation folder. This did not work for me.

  • Before, I was importing the projects by clicking on File -> Open Projects from File System"

    You definitely do not want to import CCS projects that way. "Project -> Import CCS Projects" is the best option for CCS projects. The other options are from Eclipse CDT and more generic. It can cause issues with CCS projects as you found.

    Thanks

    ki