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.

Strange error message from my TI ROTS .cfg file

Expert 1960 points

Hi Folks,

I have a strange error message shown with the rtos.cfg file in my SYS/BIOS-based project. The project compiled, built, and runs fine. But I always have this red x mark besides this rtos.cfg file, and an error message showing in the "Problems" window, as:

Description Resource Path Location Type
xdc.PACKAGE_NOT_FOUND: package 'xconfig_rtos_xxx' loaded with the wrong case. The name must match the qualified package name in package.xdc. rtos_xxx.cfg /Integration/ide Configuration Validation XDCTools Configuration Marker

In the meantime I noticed some discrepancies between the cfg script and what are shown in the screen. Although this is still working fine now, but I'm wondering why the error message and what if I want to make changes in RTOS configuration page?

I'd appreciate if anyone can shed some lights on this issue.. Thanks!

  • Hi Shef,

    Can you share a screenshot and also copy-paste the error messages you see ? Do you start seeing these messages after you use the graphical tool to edit the configuration or they show up when you build the project for the first time ?

    Best,
    Ashish
  • Hi Ashish,

    Thanks for your quick reply. I've actually copy-and-pasted the error message in the opening post, in the second paragraph. Here is a screenshot of the error message appeared in Problems window.  It did not show up before I double-click on the .cfg file to open up the graphical tool. The error showed up even before I touch anything in the graphical configuration tool. Even with the error, the project still built fine and the executable .out file is loaded and worked fine in the board.

  • Hi Shef,

    Can you go to the project directory in Windows explorer (or Finder if you are on Mac) and delete the ".config" directory ? The project directory can be found inside the workspace folder. Once you delete it, restart CCS and check if you still get the same error msg.

    Best,
    Ashish
  • Hi Ashish,
    Thanks for your suggestion. I did that, removed .config from the project folder, restart CCS and rebuild the project. Same as before, the error did not show up when I build it again the project , which is successful. But once I click on the .cfg file, the error shows up as before. The settings on graphical tool do not match the .cfg file.
    By the way, I tried to connect you directly so that I can send the project files to you to try. I can also email it to you if you give me your email address. Thanks!
  • Hi Harry,

    I got your cfg file and tried adding it to one of my CCS projects. I am unable to reproduce the problem. I will check with the XGCONF (GUI config tool) experts and get back.

    Can you share your CCS, XDC/Tools and SYS/BIOS (TI-RTOS kernel) version ?

    Best,
    Ashish

  • Hi Harry,

    Can you share the entire project ? Maybe a minimal example project that can reproduce the issue ?

    Best,
    Ashish
  • Hi Harry,

    The solution is to delete the ".config" folder from both the project directory and the "Debug/" directory inside the project. Once you remove it, no error shows up when you open the cfg file.

    Best,
    Ashish
  • Yes, that's the solution. I don't see the error now. Thanks for your help! I flag this as "Answered" now.