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.

CCS/BQ76PL455A-Q1: Trouble parsing include or instance XML file

Part Number: BQ76PL455A-Q1


Tool/software: Code Composer Studio

Hi sir/Mam,

After importing the bq76pl455A-Q1 sample code to ccs I am getting an error like this 

Trouble parsing include or instance XML file
C:\ti\ccsv7\ccs_base\common\targetdb\..\Modules\hercules\CP15_CortexR4F_r1p3.xml (The system cannot find the path specified)

How can I fix this? I have searched all the folders for the file that doesn't work...

Thank you.

  • Hi,

    Initially I was suspicious of something different between the CCS version you are using (v7) and the one used in the original project (v5) but, since I am able to import and launch the debug session of the example project on CCSv8.3, I suspect your copy of CCS does not have support for the Hercules family of devices.

    If you believe that to be your case, please check the section "Changing the Code Composer Studio Installation" of the reference below:

    dev.ti.com/.../

    Hope this helps,
    Rafael
  • Hi Desouza,

    I went through the procedure you mentioned. I got an error like this Cannot complete the install because one or more required items could not be found. should I reinstall the software again?

  • Hi,

    I suspect you isntalled your CCS using the online installer, is that so? If so, I recommend you download the offline installer from the Downloads page (warning: it is a large file), unzip it to an arbitrary directory and retry the method I mentioned before. Make sure you download the exact version of the CCS you are currently using.
    processors.wiki.ti.com/.../Download_CCS

    Hope this helps,
    Rafael
  • Hi,

    I have installed the offline version only. And as you said before I have also installed CCS v8. I debugged the bq76pl455 sample code there and I got warnings like this #552-D variable nsent was set but never used. But the variable was used in the program.#177-D subscript out of range. I tried optimizer assistant to check the speed vs size. I know warning won't affect the debugging process but I want to know why the warnings are there?

  • Hi,

    Where you able to overcome the original error?

    The criticality of the warnings are entirely related to their nature. For example, the first warning is safe to ignore while the second one is more critical as it may mean the "out of range" can corrupt memory.

    For the second error: Suppose you have this ...

    int array[10];

    Then, later in your code write something like ...

    array[12] = something

    That subscript 12 is out of range

    Hope this helps,
    Rafael
  • Hi Rafael,

    I have changed the compiler to the old version, it had cleared all the warnings. Thank you so much for your help. But the code was correct i.e., array index was mentioned exactly.

    Thank you.