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.

XGCONF not displaying info from .cfg file

Other Parts Discussed in Thread: SYSBIOS

Hi,

   The XGCONF tool is not displaying any of the information from the .cfg file in both the instance  as well as 'Properties' tab. I created a new example project (SYSBIOS-> Static Example). I opened the .cfg file as is and see the problem. When I try to add a new instance of say a task the cfg file gets updated correctly but if I close and re-open the file I can no longer  see the properties.

    I am using the following versions

CCS  -  5.3.0.00090

SYSBIOS - 6.34.2.18

XDCTools - 3.24.6.63

Regards,

Sudhanand.

  • Sudhanand,
    are you working in XGCONF and then looking at the script to verify if your changes in XGCONG are visible in the script, or you are editing the script manually and then reviewing the configuration in XGCONF?
    Can you post some screenshots to demonstrate the problem?

  • Hi Sasha,

        Originally I used XGCONF to open a file(attached) that was generated when I created the example project in CCS. I then tried to add a task instance using XGCONF to see if it preserved the addiditons and was able to display correctly which it did not. I also get an error when I try to save the config file after making changes using XGCONF.

      I have attached the following files (4617.XGCONF.zip)

    1. static_before_add_task.cfg  - Original config file before any modifications
    2. xgconf_initial.bmp - XGCONF view of above config file.
    3. xgconf_add_task_in_gui.bmp - After adding Task using XGCONF
    4. xgconf_save_error.bmp - Error during save.
    5. static.cfg - Config file after modification.
    6. xgconf_reopen_after_save.bmp - XGCONF view of file on re-opening.

    Regards,

    Sudhanand.

  • Sudhanand,
    I am trying to replicate the problem, but I can't open the grid view for instances, as you did in xgconf_add_task_in_gui.bmp. The only view that seems available in SYS/BIOS 6.34.02 is the XML-based view. I attached a screenshot that shows it. Can you check once more if you are using 6.34.02 because that grid view was available only in earlier versions before the XML view was developed? If you are indeed using 6.34.02, I guess I'll need to see the whole project. Can you zip it up and post it here? 

  • Hi Sasha,

      I am using SYSBIOS 6.34.2.18. I have attached the screen capture for this. I am also attaching the project, and the capture of instance view for the task I see. For the grid view I select the properties tab (refer to attached "xgconf_add_task_in_gui.bmp"

    0211.xgconf2.zip

    Regards,

    Sudhanand

  • Sasha,

      An additional point, in the "Instance" screen I am unable to make any modifications, all the fields are grayed out. I am only enter information from the "Properties" tab.

    Sudhanand

  • Sudhanand,
    thanks for posting the files. I am looking at them, and I noticed something strange. There is a directory .config in your project. That's a temporary directory used by XGCONF. The files there hint that you are somehow building that directory with XDCtools 3.22.01, not with 3.24.06. Can you try the following:
    - if you have 3.22.01 installation in XDCtools, go to Windows->Preferences->Code Composer Studio->RTSC->Products and remove 3.22.01 installation
    - just to be safe, find that installation on your disk and rename it to hide.xdctools_3_22_01 or something similar
    - remove the directory .config from your project
    - restart CCS and try opening your project in XGCONF

    After you have done all that, check the file .config/xconfig_static/compiler.opt. There should be a reference to XDCtools 3.24 in that file instead of XDCtools 3.22. Please let me know if you see any difference in your XGCONF views.

    I am not sure if this will really solve your problem. I am basically going through your project, trying to find artifacts that look suspicious.

  • Sasha,

        Earlier I tried different versions of xdc tools to see if any of the older versions would fix the problem, the file must be be a leftover from that.

        I did what you asked me to do but do not see any difference in behavior. I checked the compiler.opt file and it had all the correct versions of the tools.

        One thing I just noticed is that in the top right-hand corner of the XGCONF window the refresh icon(second from the right) seems to be continuously spinning, this does not seem normal. I am running on WinXP

    Sudhanand.

  • I imported your project in CCS5.3 and it was able to add tasks and save without any errors. The only way I could replicate your grid view for adding tasks was to remove Task.xml from my SYS/BIOS installation, but even then I was still able to add and remove tasks.
    I doubt that your Task.xml is missing from packages/ti/sysbios/knl in your SYS/BIOS installation, but please check anyway. More likely case is that there is something broken in your CCS installation, and  XML processing is not working. What is the view you see when you try adding other modules' instances? I attached the view for Semaphore instances in XGCONF in my installation. Is that the same view that you have?

  • Sasha,

      Your screen-captures look very different from what I see. I am opening the file from within CCS. I will un-install CCS from my laptop and download and install the latest version available and see what happens. I will keep you posted.

    Sudhanand