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.

debugger initialization error

Other Parts Discussed in Thread: AM1808, OMAPL138

I am new to Code Composer Studio. It was working fine till yesterday. Today, I created a new ccs project for AM1808. When I launch the target configuration I am getting  "debugger initialization error"

ccs version is 5.4.0

Cannot read System Setup data from XML file J:\MyWorks\test\targetConfigs\AM1808.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\ti\ccsv5\ccs_base\common\targetdb\Modules\OMAPL138_C6748\rCSL_syscfg0_001.xml while parsing file: C:\ti\ccsv5\ccs_base\common\targetdb\Modules\OMAPL138_C6748\rCSL_syscfg0_001.xml

Files mentioned in the error info are not present in my system. I don't know why they are accessing OMAP files

while I create a project for AM1808.

What should I do to solve this issue.

  • Anil C S said:
    I don't know why they are accessing OMAP files

    Looking at the device files in CCS 5.4 installation with all processor architectures installed, both the C:\ti\ccsv5\ccs_base\common\targetdb\Modules\OMAPL138_C6748 and C:\ti\ccsv5\ccs_base\common\targetdb\devices\OMAPL138.xml device files reference rCSL_syscfg0_001.xml and other files within the C:\ti\ccsv5\ccs_base\common\targetdb\Modules\OMAPL138_C6748 directory. I think this is because there are common ARM9 modules in the AM1808 and OMALL138 devices.

    Anil C S said:
    Files mentioned in the error info are not present in my system.

    Are there any other files within the C:\ti\ccsv5\ccs_base\common\targetdb\Modules\OMAPL138_C6748 directory?

    Anil C S said:
    What should I do to solve this issue.

    Can you remember which Processor Architectures were selected when CCS 5.4 were installed?

    What I found is that if CCS is installed with only "Sitara AMxxxx processors" selected that the C:\ti\ccsv5\ccs_base\common\targetdb\devices\AM1808.xml device file is installed, but the C:\ti\ccsv5\ccs_base\common\targetdb\Modules directory isn't installed which would cause the error you have seen.

  • Chester Gillon said:
    What I found is that if CCS is installed with only "Sitara AMxxxx processors" selected that the C:\ti\ccsv5\ccs_base\common\targetdb\devices\AM1808.xml device file is installed, but the C:\ti\ccsv5\ccs_base\common\targetdb\Modules directory isn't installed which would cause the error you have seen.

    If that is the case, re-running the CCS installer using the same directory and selecting to add support for the "OMAPL13x & C6A8 processors" then installs the C:\ti\ccsv5\ccs_base\common\targetdb\Modules directory which is required for the AM1808.xml device file:

    This seems an oversight in the CCS installer that not all required module XML files to debug an AM1808 device are installed if only support for "Sitara AMxxxx processors" is installed.

    Note that I used the CCS 5.5 installer for this test.

  • Hi,

    Since the install was working at a certain point, are you sure an antivirus, a disk corruption or something else did not cause these files to vanish?

    In any case, check the page below that has device support - just follow the instructions there and you should be fine.

    http://processors.wiki.ti.com/index.php/Device_support_files

    --Cheers,

  • The folder Modules is not present in my system. Any way I re installed with OMAP option selected. Now everything works fine.

    Thanks a lot.

  • Hi,

    There are chances that my antivirus might have deleted these files. I had faced with this problem in the past. Any  way the link which you pasted was very helpful. I downloaded those missing file from that page.

    Thanks.