TMDSEMU110-U: Error Initializing emulator - CPLD image update failed

Part Number: TMDSEMU110-U
Other Parts Discussed in Thread: MSPM0L1228, UNIFLASH

I am attempting to load a simple project to the MSPM0L1228 on my device and when I attempt to flash the project to the board using the TMDSEMU110-U, I receive an error as below.

 

Texas Instruments XDS110 USB Debug Probe/CS_DAP_0 Error initializing emulator: (Error -266 @ 0x0) An internal error occurred. The CPLD image update failed. Unplug and re-plug the XDS110, and try again. (Emulation package 21.0.0.4024)

 

I have tried replugging as well as reinstalling drivers, and was unsuccessful. I know there is no problem with the debugger or chip because I have successfully flashed this project from another device. I have seen some other similar E2E threads but there didn't seem to be a conclusive reason for this error that I was able to find.

 

The CCS version is 21.0.1

  • Hi Brian,

    The -266 code is the SC_ERR_XDS110_CPLD_UPDATE error, documented only as "An internal error occurred. The CPLD image update failed. Unplug and re-plug the XDS110, and try again." 1. Since the update is pushed over USB after the probe re-enumerates into programming mode, the documented failure patterns in closely related XDS110 errors point to three practical causes:

    1. Host USB/driver state blocking re-enumeration. The closely related -260 SC_ERR_XDS110_OPEN explanation explicitly lists invalid firmware update, invalid XDS110 serial number, and faulty USB cable as root causes 2. A directly analogous case saw an xdsdfu firmware upgrade fail on one PC with "The requested device was not found on the bus" immediately after switching to DFU mode, while the identical update succeeded unmodified on a different PC 3.
    2. Corrupted/mismatched probe firmware or bootloader left behind by a partially completed update 2.
    3. Damaged probe hardware. One intermittent TMDSEMU110-U case was traced to a short-circuited 5 V input capacitor and a broken 5 V→3.3 V DC-DC converter inside the probe, which TI attributed to the host PC not providing a stable ground 4.

    Troubleshooting steps beyond replug / driver reinstall

    1. Manually recover probe firmware with xdsdfu (in ...\ccs_base\common\uscif\xds110). It enumerates probes and reports firmware version/serial (-e), enters DFU mode (-m), downloads firmware (-f <FILE>), downloads a bootloader (-b <FILE>), and resets after programming (-r) 5.

    xdsdfu -e                        # confirm probe is seen, note FW version/serial
    xdsdfu -m                        # enter DFU mode
    xdsdfu -f firmware_x.x.x.xx.bin -r
    

    If the bootloader itself is suspect: xdsdfu -m, then xdsdfu -b bootloader.bin -r, then repeat the firmware step 6.

    The firmware/bootloader binaries ship in your CCS install at ccs_base/common/uscif/xds110 — always use the ones bundled with the CCS version you are debugging from, since version mismatches between host tool and probe firmware are a known failure mode 7.

    XDS110 firmware file location

    2. Verify the emulation package install and link quality with dbgjtag — it reports the installed emupack version and tests JTAG/cJTAG/SWD connection reliability, letting you confirm the CCS 21.0.1 / emupack 21.0.0.4024 install on the failing machine matches the working one 6.

    3. Use xds110reset to assert/deassert/toggle the target reset line for a clean target reset during recovery attempts, without loading the full XDS software stack 8.

    4. Retry the recovery from a different PC / different CCS or UniFlash install. This has repeatedly resolved cases where the probe fails to re-enumerate after entering update mode on one host 3.

    5. Address USB power integrity. TI recommended an isolated USB power supply (ISO-USB) to protect the probe from unstable host PC power/ground in the case where the probe was physically damaged 4. Also try a different USB cable and a direct root-port connection, since a faulty cable is a listed root cause for the adjacent -260 error 2.

    6. If the probe stops appearing in Device Manager entirely, treat it as hardware. Probes absent from Device Manager despite a lit green LED, and a -260 case that persisted through cable swaps, were both diagnosed as faulty units resolved only by replacement/RMA 9 10.

    Why it works on one device but not the other

    Your result — same probe, same project, same target, works elsewhere — matches the documented host-specific pattern: an xdsdfu update that failed with a DFU re-enumeration error on one PC completed successfully and unmodified on a second PC, confirming the failure was host/PC-driver-specific rather than caused by the probe, the firmware file, or the target 3. Since the CPLD update also requires the probe to re-enumerate mid-procedure, the highest-yield action is to compare USB enumeration state between the two machines (ports/hubs, lingering XDS110 driver instances, USB power settings) and to perform the firmware/CPLD recovery from the machine that works, then return the probe to the failing host.

    Separately, unit-to-unit hardware variance is a recognized cause of probes failing in one setup while an identical setup works 9 — but that is less likely in your case since the same probe reportedly succeeds elsewhere. Please confirm whether "another device" means a different host PC or a different target board; that distinction changes which of the two paths above applies.

    Does xdsdfu -e on the failing PC enumerate the probe and report a firmware version/serial, or does it fail to find the device?


    1. TMDSEMU110-U: Test connection throwing error -266 SC_ERR_XDS110_CPLD_UPDATE
    2. CCS Forum: SC_ERR_XDS110_OPEN (-260) explanation
    3. TMDSEMU110-U: Unable to upgrade XDS110 debug probe
    4. TMDSEMU110-U: Issue trying to use emulator to program device flash
    5. XDS110 Debug Probe User's Guide (SPRUI94), p.19
    6. XDS110 Debug Probe User's Guide (SPRUI94), p.20
    7. TMDSEMU110-U: XDS110 debug probe firmware update
    8. XDS110 Debug Probe User's Guide (SPRUI94), p.17
    9. TMDSEMU110-U: Not detected on COM port despite troubleshooting
    10. TMDSEMU110-U: Not detected in COM port in PC

    Best Regrards,

    Zackary Fleenor

**Attention** This is a public forum