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 fails to open CCSv5

Hi,

I am trying to view a .cfg file using the XGCONF on CCSv5 but for some .cfg files (some TI written ones too) I get an error saying "Sorry, I'm having problems creating this editor. An unexpected exception was thrown." Viewing the details section, I get, "org.eclipse.rtsc.xdctools.INTERNAL: Unable to find package xconfig_<Name of the .cfg file here>" I was unable to solve this and I cant view most of the .cfg files. Please help.

Regards,

Tunc

  • Hi Tunc,

    I am going to move your thread to the BIOS forum as the experts there can help you best.

    Thanks

    ki

  • Tunc,
    do these files that can't be opened have anything in common? For example, are they in projects that were created by a different version of CCS and then rebuilt with your current version of CCS?

    You can select one of the projects, clean and close all XGCONF sessions you have. Then in Windows Explorer, find the project's top directory. Check if there is a directory .config in the top directory, and also check if there is a directory .config under Debug or Release. Delete all .config directories and try opening the cfg script in XGCONF again.

    If that doesn't help, can you clean one of your project and then post a zip file with the complete content of the project?

  • Hi,

    Actually, I am currently working on the image processing demo project included in the mcsdk package, i.e. it is TI written code. I have tried your suggestions, but I was unable to solve the problem. However, I have noticed that the .config directory of the project of which .cfg file cannot be opened is significantly different than the other project. In my case, the .cfg file of the slave project works fine but the master project's .cfg file cannot be viewed using XGCONF. To form my workspace, I have imported both projects from mcsdk folder of the TI installation directory (under ipc folder) by copying necessary files to my workspace. I have also copied the requred common, master and slave folders to form the required structure. You can check what is wrong by examining the WS I have uploaded.

    Regards,

    Tunc

    ImageProcessing.rar
  • Tunc,
    the make command line that runs configuro in your project refers to XDCtools 3.23, while the project properties are referring to 3.25. While switching from one to another, I ended up in a state where I could reproduce the error. I am guessing that happened to you too.

    The most likely cause of the problem is a string in Project Properties->CCS Build->XDCtools->Advanced Options->Additional compiler options, in the project "image_processing_evmc6678l_master". Try deleting everything in that text box, and then opening XGCONF. If that fixes the problem, we can go back and try to add the initial content of that text box.
    Have you added a content to that text box or it was already there when you imported the project?
    The part "-g --optimize_with_debug" is needed, but I am not sure why is the name of the config script there.

  • I have deleted the string in the mentioned textbox and XGCONF could open the .cfg file just fine. But without the string, the project won't compile, the compiler cannot find the .cfg file if I do not write that string. Can you please also explain me the meaning of "-g --optimize_with_debug"?Is this a bug? Thanks.

    Regards,

    Tunc

  • "-g --optimize_with_debug" is needed for debug info to be added to one of the object files generated by XDCtools. That string is not a problem and you need it for debugging. But if you add the name of the CFG script to that textbox, you end up with two potential problems. The first one is that there is an invalid file in the directory .config. This was fixed in XDCtools 3.25.03. The second problem is that the generated makefile subdir_rules.mak is invalid because that file automatically includes the name of the CFG script, and when you add that name too, the build breaks.

    If you switch to XDCtools 3.25.03, you should be fine. But if you can't switch, you have to remove the CFG script from the textbox and rebuild the project by clicking on Project Properties->Rebuild Project. I would like to see the console output to find out where is gmake looking for your script. Also, can you tell me where the script really is because when I imported your project, the script was in its normal location, in the top directory of the project, and gmake hasn't had any problem finding it.