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.

LAUNCHXL2-TMS57012: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP.

Part Number: LAUNCHXL2-TMS57012
Other Parts Discussed in Thread: TMS570LS1224

Hi, I'm new here, I have small experiences with C200 launchapd for power converters. I recently started my career in the BMS area, and I'm using a LaunchxL2-TMS57012 from the hercules family, with an MCU TMS570LS1224 PGEQQ1.

In the first experience making some LEDs blink, I already had problems with the Debug. I used HALConGen to configure the ports, and some youtube videos for this initial introduction.

In HALConGen I used the devide TMS570LS1224PGE. And in the CCS I used the "Texas Instruments XDS110 USB Debug Probe" connection, which was successfully connected during the verification with the kit.

Still following the video and datasheet recommendations, I changed the debug settings -> flash settings -> Erase Options -> Necessary sectors only.

However, when debugging a few simple lines of code, the following errors are being presented:

Dap: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.6.0.00172) 

More details of the errors in the following figures:

I searched e2e for similar errors for different launchpads but none solved my problem. I even tried a different target setting but nothing worked.

Through the link:

https://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html#cannot-access-the-dap

I tried to solve the problem by another way but the page is unavailable (A procedure to try and unlock a Hercules device is described in this e2e forum thread.")

Than I started to check the section JTAG clock speed considerations at the XDS110 page, but the page is unavailable to. 

Could anyone help me with this little problem?

Thank you in advance

  • Hi Alex,

    Please try this procedure to let CPU enter a debug state:

    1. Open the target configuration window, and launch the selected the configuration
    2. Switch to debug window.
    3. Press the reset (nRST) button and hold it.
    4. Click “Connect Target” immediately after you release the nRST button.
    5. The board should be connected after couple tries.