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/CC3220SF-LAUNCHXL: aws_demos error connecting to target?

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH, CC3220SF

Tool/software: Code Composer Studio

I'm getting the following error. My SOP jumper is set to SOP 0.

Error connecting to the target:
(Error -615 @ 0x0)
The target failed to see a correctly formatted SWD header. The
connection to the target may be unreliable. Try lowering the
TCLK setting before trying again.

I tried to connect the device via uniflash with SOP 2 jumper connected. It connects and I was able to program image with service pack from SDK.

Below is my pin configuration before debugging in CCS

  • Hi Shreenivas,

    If you want to move to SWD, you should change the SOP settings (as you've done) and make sure the "CCS target configuration" is set to CC3220SF_SWD (see below).

    You may refer the following link for info on debugging connectivity issues:

    Try replace the USB cable or just take it out and back in the launchpad (which sometimes solves such issues). 

    Br,

    Kobi

  • Hello Kobi,

    Thanks for the response, I checked and it was ticked and I checked the test connection. I got the following

    [Start: Texas Instruments XDS110 USB Debug Probe_0]

    Execute the command:

    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

    [Result]


    -----[Print the board config pathname(s)]------------------------------------

    C:\Users\paish\AppData\Local\TEXASI~1\CCS\
    ti\0\0\BrdDat\testBoard.dat

    -----[Print the reset-command software log-file]-----------------------------

    This utility has selected a 100- or 510-class product.
    This utility will load the adapter 'jioxds110.dll'.
    The library build date was 'May 30 2018'.
    The library build time was '23:03:35'.
    The library package version is '8.0.27.9'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '5' (0x00000005).
    The controller has an insertion length of '0' (0x00000000).
    This utility will attempt to reset the controller to enter SWD mode.

    -----[Print the reset-command hardware log-file]-----------------------------

    This emulator does not create a reset log-file.

    -----[Perform the SWD Mode Integrity test]-----------------------------------

    This test will read the IDCODE register 1 time.

    The IDCODE register value is 0x2ba01477.

    The SWD Mode Integrity test has succeeded.

    [End: Texas Instruments XDS110 USB Debug Probe_0]


    It started working. I'm still wondering what might be the reason behind this. I havent made any changes.

    Anyways its working now. Thank you very much.
  • Hello Kobi,

    There is 1 more issue. So when I reset the device before debugging it wont debug. it will show the same error.
    If I disconnect the usb connecton and connect again it will work. again after this if i reset it wont work and end up showing same error.

    without error i.e disconnecting the usb connecton and connecting again, still my AWS_demo doesn't work

  • Hi Shreenivas,

    I'm not sure what is the issue in your setup.
    It is not common. The SWD connection typically just works.
    Try replacing the USB cable, the launchpad (assuming you have additional) or the PC (at least the USB port) you are using.

    Regarding the AWS_demo issue, please provide more details (preferably in another thread) to explain what is not working.

    Br,
    Kobi
  • Hey Kobi,
    Thank you very much. I feel I should check using different board.
    You can close this thread.