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.

UNIFLASH: Unable to flash/debug CC3220 on macOS with XDS110 debug probe

Part Number: UNIFLASH


Hello,

I have trouble flashing the CC3220 using uniflash with the XDS110 debug probe. The error I am getting is "Error: SLImageCreator.exe: XDS Power Off failure: -11" and I receive this using both the command line version of uniflash and the GUI. I have tried different XDS110 probes with different connectors, as well as the CC3220 launchpad all with the same result. In addition, I tried on another macbook with an older macOS version and it was possible to flash. The version of macOS I have is Monterey 12.2.1 and uniflash version 7.1.0.

Running dbgjtag produces the following error:

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

xds110.i
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'libjioxds110.dylib'.
The library build date was 'Jun 25 2021'.
The library build time was '10:28:31'.
The library package version is '9.4.0.00129'.
The library component version is '35.35.0.0'.
The controller has a version number of '5' (0x00000005).
The controller has an insertion length of '0' (0x00000000).
The local memory has a word capacity of '1048576' (0x00100000).

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-235' (0xffffff15).
The title is 'SC_ERR_PATH_DR_BROKEN'.

The explanation is:
The data scan-path cannot circulate bits, it may be broken.
An attempt to scan the JTAG data registers has failed.
The target's JTAG data path appears to be broken
with a stuck-at-ones or stuck-at-zero fault.

The error I receive using the command line is this:

Exception: Uniflash: Failed to flash device 
Traceback (most recent call last):
  File "SLImageCreator.py", line 5191, in <module>
  File "SLImageCreator.py", line 5187, in main
  File "SLImageCreator.py", line 5159, in cmdline
  File "SLImageCreator.py", line 3975, in command_project_program
  File "SLImageCreator.py", line 1569, in connect_device
  File "slbootloader/slbootloader.py", line 379, in connect_with_reset
  File "slutils/slutils.py", line 278, in power_off
slutils.slutils.DeviceError: 
Error: SLImageCreator.exe: XDS Power Off failure: -11
[1795] Failed to execute script SLImageCreator
 

Trying to debug through JTAG with CCS produces this error:

Error connecting to the target:
(Error -2131 @ 0x0)
Unable to access device register. 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.4.0.00129)

Using GNU screen I am able to send UART through the probe, which I verified with a logic analyzer. So it is possible to send some through information at least.

Do you have any idea how I can solve this problem? Is this something you are able to reproduce?

Best regards,

Linus