PGA970: Debugger stuck at launching 100%

Part Number: PGA970
Other Parts Discussed in Thread: USB2ANY

Tool/software:

I'm using CCS 12.8 to align with the answer given in a previous question  PGA970: Programming a binary over SPI but am open to changing versions.

I am on Windows 11 Version 23H2 OS Build 22631.5768.

We use Windows Defender for AV, I tried to add an exception for CCS, but I'm not certain it worked. A coworker said they got this board working so I'm not certain it's the AV's fault.

I'm using the PGA970 EVM, unsure what the revision is and the XDS200 debug probe.

I'm trying to run the example code provided from the secure file access, it says version 1.6.

My logs are attached 7870.log.txt

The issue is simple, I try to launch the debugger and it gets stuck at "Launching PGA970_Generic_1_6: (100%)". I tried cleaning and rebuilding the project with no errors. I am able to test the debug probe connection from the .ccxml file and it reports a success. I tried rebooting the computer and unplugging/replugging the debug probe. My coworker said he needed the USB2ANY attached to get it to work, but I've tried both with and without the USB2ANY connected with the same issue.

  • Hi Nathan, 

    This doesn't sound like your issue, but it's a common one, so let's eliminate it first - the debugger cannot connect to PGA970 if the PGA970 microcontroller is in reset. The PGA970 microcontroller by default starts running when the device boots up. So as long as you power-cycle the device and you do not attempt to communicate with it via SPI or OWI, then the device should be running. 

    What do you mean by "I try to launch the debugger and it gets stuck"? Are you using CCS to debug?

    What settings do you have your .ccxml file set to? These are the recommended settings with an XDS200 debugger:

    You can adjust those settings in CCS as follows (this image shows the configuration for an XDS110 debugger):

    It is also possible your Debug configuration in CCS is not setup correctly. You can follow the instructions here.

    Let me know if this helps. 

    Thanks,

    Maggie

  • This is what CCS looks like when I try to debug:

    I checked the configuration and it matches. Here is my ccxml file:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="Texas Instruments XDS2xx USB Debug Probe_0">
            <instance XML_version="1.2" desc="Texas Instruments XDS2xx USB Debug Probe_0" href="connections/TIXDS2XXUSB_Connection.xml" id="Texas Instruments XDS2xx USB Debug Probe_0" xml="TIXDS2XXUSB_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Texas Instruments XDS2xx USB Debug Probe_0">
                <instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560cortexM0.xml" id="drivers" xml="tixds560cortexM0.xml" xmlpath="drivers"/>
                <property Type="choicelist" Value="1" id="The JTAG TCLK Frequency (MHz)">
                    <choice Name="Adaptive with user specified limit" value="ADAPTIVE">
                        <property Type="stringfield" Value="1.0MHz" id="-- Enter a value from 0.5MHz to 20.0MHz"/>
                    </choice>
                </property>
                <property Type="choicelist" Value="0" id="The JTAG Signals Isolation Upon Disconnect"/>
                <property Type="choicelist" Value="0" id="Apply nRESET/SRST pin on the emulation header"/>
                <property Type="choicelist" Value="3" id="The cJTAG / SWD Features"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="PGA970_0" href="devices/PGA970.xml" id="PGA970_0" xml="PGA970.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>
    

    My debug configuration matches the tutorial you linked.

  • Hi Nathan, 

    How are you launching your debug session? I'm using CCS v12.8, and this is the progress bar I see when I launch a debug session:

    I've never seen your issue before, but my best guess is that the target configuration file is not being launched correctly. I'll talk to my team to see if anyone else has seen this issue. 

    In the meantime, this is my process for launching a debug session. 

    Thanks,

    Maggie

  • I was clicking the debug icon in the top bar. I followed your step by step instructions. Step 1 starts but gets stuck at launching 100%. The option for step 2 is grey:

  • Hi Nathan, 

    What .gel file are you using? Can you please post it?

    Are you sure your target config file is linking to the correct .gel file?

    If you click "test connection" do you have a successful connection?

    You mentioned previously that a colleague was able to debug on their machine. Does your hardware setup match theirs? Are you using the same CCS project as them?

    Thanks,

    Maggie

  • I am using the gel provided in the 1.6 firmware folder (I assume it's okay to post)

    pga970.gel

    I re-chose the gel file and nothing changed:

    Test connection reports a successful connection.

    I followed my coworker's instructions, I'm reaching out to them now to see if I can copy their project folder and see if that works.

  • I retrieved their project folder and ran into the same problem (launching 100%). Here is the log:

    ccs_debug_server_log.log

  • Hi Nathan, 

    I heard back from my team - none of them have encountered this error before. One colleague mentioned that your JTAG clock frequency in the target configuration is set to Adaptive. In our XDS110 target configuration, we set the JTAG clock frequency to Fixed. Can you try changing your clock frequency to Fixed?

    I assume you and your colleage are using separate PGA970 devices and XDS debuggers? Are you able to try your setup with your colleague's PGA970 and XDS debugger (so the only difference between their setup and your setup are the computers)?

    Thanks,

    Maggie

  • I switched to fixed at 1MHz and it's still stuck at launching 100%. We use the same PGA970EVM and XDS200. I had him bring his desktop to my office and it worked on his desktop with my exact hardware setup.

  • Hi Nathan Yonkee,

    Today is a national holiday in the US, please expect an initial response to your post in the next 1-2 days. Thanks for your patience.

    -Bryan

  • Hi Nathan, 

    Unfortunately, if you've performed a full swap hardware swap with your coworker, and your CCS settings are the same, then I'm not sure how to proceed. There doesn't seem to be any problem with your hardware if it works with your coworker's setup. To me, it seems like there may be some issue with your computer, which is outside the scope of support I can provide.

    You could try asking a question in the CCS forum - perhaps they've seen this issue before:  Code Composer Studio forum 

    My apologies,

    Maggie

  • Hi, I'm going to try uninstalling everything and starting fresh. Are there configuration or cache files somewhere on the filesystem that won't be included in the uninstall from control panel?

  • Hi Nathan, 

    I am not aware of any cache or dependencies that won't be included in the uninstall.

    If you want a truly clean slate, may want to remove your CCS workspaces manually (mine are located in C:\Users\username).

    Thanks,

    Maggie