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/CCSTUDIO-C2000: CCS6 Updated and now Debugger Initialization Error

Part Number: CCSTUDIO-C2000

Tool/software: Code Composer Studio

Hello,

I have been using CCS6 with XDS100 v1 and v2 boards for some time now, and have recently run into a launching issue.

On Friday of last week, I run the CCS Check for Updates and some software update, just in case they would help with my attempts as getting DSS and Console Scripting to work (I'm a beginner, and was unable to get the examples fully working).
Now, on Monday, I am unable to get my debugger to launch, even in manual mode, with either type of debugger board, even to just the basic connect level. See image for exact error.

My target configuration has not changed, and has nothing to do with the TMS470 stuff, so I don't understand why that file is being accessed. 

I have quickly rerun the CCS6 installer I use, but it didn't indicate there was any issue or corruption with the current install at all.

I have tried uninstalling the attached debugger in Device manager and letting it reconnect, and no change occurs there either. 

I am attaching the image of the error, the install log zip files I can find, and my ccxml file (which is unchanged as far as I can tell). 

Many of the help forum post with similar issue to this seem to end up with no contact from poster, so I am not finding a full solution to this issue, and would like assistance.

Thank you

  • Hello,
    Can you try:

    Deleting your launch files:
    software-dl.ti.com/.../ccs_troubleshooting.html

    Deleting your target cache file:
    software-dl.ti.com/.../ccs_troubleshooting.html

    Thanks
    ki
  • Thank you for the assistance.
    I have tried both of these suggestions, unfortunately there has been no change to the error.
    Any further advice?
    Thank you,
    Neal
  • That TMS470R53X file is interesting. I don't have it in my v6 installation. It must have come in a recent update. I am updating my v6 installation now and will try it out

    Thanks
    ki
  • I updated my v6 environment and the file now appears in the directory. However, I am still able to launch a debug session using your ccxml file.

    Can you try using a new workspace folder and creating a new target configuration file?
  • I was hopeful this would reveal new information, unfortunately, a completely new work space and completely new target file produced exactly the same error. I have imported nothing, simply tried to use the target file to launch the debugger, but no change in the error.
    Are there any other configurations files or settings I can send to you for more information about the debugger launch details?
    Neal
  • Hello,
    I am sorry about nagging, but I need to make progress in restoring my debug environment.
    Are there any ideas about configurations settings to share for details, or metadata files to delete manually?
    Thank you for any assistance,
    Neal
  • ngohara1991 said:
    Are there any ideas about configurations settings to share for details, or metadata files to delete manually?

    If you temporarily change the file extension on the TMS470R53X_regids.xml file in the error message does that change the error or allow the debug session to start?

    When CCS starts a debug session I think it parses all device XML files, even for targets you are not using.

    It looks like a CCS update has installed a new TMS470R53X_regids.xml file for a 64-bit ARM Cortex-A53 device which can't be handled by your CCS installation.

  • Hello,

    it does change the error, but not by much. It becomes "Could not open file" instead.

    Clearly there is a list of all these files stored somewhere that it is going down.

    Why should it parse files for all chips, and not just the one in the target configuration? Is there a way to change this in settings?

    Barring that, how do I tell CCS to fix the installed xml files to what it can handle?

    Thank you for the assistance,

    Neal

  • This is very odd since your ccxml file is valid (still works for me after the update). I fear that you may have a corrupted installation. In the past, some people have resolved a similar issue by reinstalling CCS. I'd hate for you to have to go through that ordeal but it is worth a try. You may also want to consider updating your CCS version to something more recent.

    If you don't want to reinstall, can you post the f28034.xml found in:
    .\ccsv6\ccs_base\common\targetdb\devices
    ?

    Somewhere, that TMS470R53X_regids.xml is getting referenced.

    Thanks
    ki
  • Yes, I am trying to avoid a complete uninstall and reinstall.

    Here is the f28034.xml in txt form.

    f28034_xml.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    TI File $Revision: /main/13 $
    Checkin $Date: September 22, 2011 17:29:40 $
    -->
    <device id="C28xx" partnum="TMS320F28034" HW_revision="1" XML_version="1" desc="TMS320F28034" description="">
    <instance href="../cpus/c28xx.xml" desc="C28xx" description="" id="C2800" isa="TMS320C28XX" xml="c28xx.xml" xmlpath="../cpus/" />
    <property Type="stringfield" Value="2803x Piccolo" id="FilterString" />
    <cpu HW_revision="1.0" XML_version="1.2" description="CPU" deviceSim="false" id="C2800" isa="TMS320C28XX">
    <property Type="filepathfield" Value="../../emulation/gel/f28034.gel" id="GEL File"/>
    <!-- Project Wizard Settings -->
    <property Type="stringfield" Value="--large_memory_model --unified_memory --silicon_version=28" id="CompilerBuildOptions" />
    <property Type="stringfield" Value="--stack_size=0x300" id="LinkerBuildOptions" />
    <property Type="stringfield" Value="28034_RAM_lnk.cmd" id="LinkerCmd" />
    <!-- END Project Wizard Settings -->
    <instance href="../Modules/C2000/C2000_ADC_Type3_Registers.xml" id="ADC" xml="C2000_ADC_Type3_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ADC Registers" requestor="" baseaddr="0x007100" endaddr="0x00717F" size="0x0080" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ADC_Type3_Result_Registers.xml" id="ADCRESULT" xml="C2000_ADC_Type3_Result_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ADC Result Registers" requestor="" baseaddr="0x000B00" endaddr="0x000B0F" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_System_Control_Registers.xml" id="SYSCTRL" xml="2803x_System_Control_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="System Control Registers" requestor="" baseaddr="0x007010" endaddr="0x00702F" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_Code_Security_Module_Registers.xml" id="CSM" xml="C2000_Code_Security_Module_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Code Security Module" requestor="" baseaddr="0x000AE0" endaddr="0x000AEF" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_PWL_Registers.xml" id="PWL" xml="C2000_PWL_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="PWL Locations" requestor="" baseaddr="0x3F7FF8" endaddr="0x3F7FFF" size="0x0008" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_CPU_Timer_Registers.xml" id="CPUTIMER" xml="C2000_CPU_Timer_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="CPU Timer Registers" requestor="" baseaddr="0x000C00" endaddr="0x000C17" size="0x0018" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_Device_Emulation_Registers.xml" id="DEVEMU" xml="2803x_Device_Emulation_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Device Emulation Registers" requestor="" baseaddr="0x000880" endaddr="0x3D7E80" size="0x3D7601" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_System_Power_Control_Registers.xml" id="SYSPWRCTRL" xml="2803x_System_Power_Control_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="System Power Control Registers" requestor="" baseaddr="0x000985" endaddr="0x987" size="0x03" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAN_Type0_Registers.xml" id="eCANA" xml="C2000_eCAN_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Registers" requestor="" baseaddr="0x006000" endaddr="0x006032" size="0x0033" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAN_Type0_Local_Acceptance_Masks.xml" id="eCANA_LAM" xml="C2000_eCAN_Type0_Local_Acceptance_Masks.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Local Acceptance Masks" requestor="" baseaddr="0x006040" endaddr="0x00607F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_Time_Stamps.xml" id="eCANA_MOTS" xml="C2000_eCAN_Type0_Message_Object_Time_Stamps.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Message Object Time Stamps" requestor="" baseaddr="0x006080" endaddr="0x0060BF" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_TimeOut.xml" id="eCANA_MOTO" xml="C2000_eCAN_Type0_Message_Object_TimeOut.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Message Object Time-Outs" requestor="" baseaddr="0x0060C0" endaddr="0x0060FF" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAN_Type0_Mailbox_Registers.xml" id="eCANA_MBX_CONTENT" xml="C2000_eCAN_Type0_Mailbox_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Mailbox Content" requestor="" baseaddr="0x006100" endaddr="0x0061FF" size="0x0200" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eCAP_Type0_Registers.xml" id="eCAP1" xml="C2000_eCAP_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAP1 Registers" requestor="" baseaddr="0x006A00" endaddr="0x006A1F" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_COMP_Type0_Registers.xml" id="COMP1" xml="C2000_COMP_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="COMP1 Registers" requestor="" baseaddr="0x006400" endaddr="0x00641F" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_COMP_Type0_Registers.xml" id="COMP2" xml="C2000_COMP_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="COMP2 Registers" requestor="" baseaddr="0x006420" endaddr="0x00643F" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_COMP_Type0_Registers.xml" id="COMP3" xml="C2000_COMP_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="COMP3 Registers" requestor="" baseaddr="0x006440" endaddr="0x00645F" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWM1_Type1_Registers.xml" id="ePWM1" xml="C2000_ePWM1_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM1 Registers" requestor="" baseaddr="0x006800" endaddr="0x00683F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM2" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM2 Registers" requestor="" baseaddr="0x006840" endaddr="0x00687F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM3" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM3 Registers" requestor="" baseaddr="0x006880" endaddr="0x0068BF" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM4" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM4 Registers" requestor="" baseaddr="0x0068C0" endaddr="0x0068FF" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM5" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM5 Registers" requestor="" baseaddr="0x006900" endaddr="0x00693F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM6" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM6 Registers" requestor="" baseaddr="0x006940" endaddr="0x00697F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_ePWMn_Type1_Registers.xml" id="ePWM7" xml="C2000_ePWMn_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="ePWM7 Registers" requestor="" baseaddr="0x006980" endaddr="0x0069BF" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_eQEP_Type0_Registers.xml" id="eQEP1" xml="C2000_eQEP_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="eQEP1 Registers" requestor="" baseaddr="0x006B00" endaddr="0x006B3F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_LIN_Type0_Registers.xml" id="LINA" xml="C2000_LIN_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="LIN-A Registers" requestor="" baseaddr="0x006C00" endaddr="0x006C7F" size="0x0080" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_Flash_Type0_Registers.xml" id="FLASH" xml="C2000_Flash_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Flash/OTP Registers" requestor="" baseaddr="0x000A80" endaddr="0x000ADF" size= "0x060" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_Nmi_Interrupt_Registers.xml" id="NMIINT" xml="2803x_Nmi_Interrupt_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="NMI Interrupt Registers" requestor="" baseaddr="0x007060" endaddr="0x00706F" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_External_Interrupt_Registers.xml" id="XINT" xml="2803x_External_Interrupt_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="External Interrupt Registers" requestor="" baseaddr="0x007070" endaddr="0x00707F" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/2803x_GPIO_Registers.xml" id="GPIO" xml="2803x_GPIO_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="GPIO Registers" requestor="" baseaddr="0x006F80" endaddr="0x006FFF" size="0x0080" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_I2C_Type0_Registers.xml" id="I2CA" xml="C2000_I2C_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="I2CA Registers" requestor="" baseaddr="0x007900" endaddr="0x00793F" size="0x0040" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_PIE_Registers.xml" id="PIE" xml="C2000_PIE_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Peripheral Interrupt Expansion Registers" requestor="" baseaddr="0x000CE0" endaddr="0x000CFF" size="0x0020" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_SCI_Type0_Registers.xml" id="SCIA" xml="C2000_SCI_Type0_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Serial Communication Interface A Registers" requestor="" baseaddr="0x007050" endaddr="0x00705F" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_SPI_Type1_Registers.xml" id="SPIA" xml="C2000_SPI_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface A Registers" requestor="" baseaddr="0x007040" endaddr="0x00704F" size="0x0010" accessnumbytes="4" permissions="p" />
    <instance href="../Modules/C2000/C2000_SPI_Type1_Registers.xml" id="SPIB" xml="C2000_SPI_Type1_Registers.xml" xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface B Registers" requestor="" baseaddr="0x007740" endaddr="0x00774F" size="0x0010" accessnumbytes="4" permissions="p" />
    </cpu>
    </device>
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    And the xml causing the error too.

    TMS470R53X_regids_xml.txt

    Thank you for any advice,

    Neal

  • I just want to confirm one more time that you did the following step:

    Ki-Soo Lee said:
    Deleting your target cache file:
    software-dl.ti.com/.../ccs_troubleshooting.html

    Did you run fsclean in: [CCS INSTALL FOLDER]/ccsv6/ccs_base/common/bin

    Thanks

    ki

  • Ki-Soo Lee said:
    Did you run fsclean in: [CCS INSTALL FOLDER]/ccsv6/ccs_base/common/bin

    try this after you deleted the TMS470R53X_regids.xml file

  • After more investigation, it appears that the issue occurs if updating to the latest TI Emulator Pack (8.0.803.0) with old versions of CCS (like CCSv6). There is debate on if the latest TI EMU Pack updates should even be available with older CCS version. In any case, it is recommended to not update to the latest emu version with old CCS versions