Other Parts Discussed in Thread: UNIFLASH,
Tool/software:
Dear TI Support,
I am working with a custom board using the CC2340R52, and I'm currently facing issues flashing firmware via XDS110 using both CCS and UniFlash.
Problem Description:
-
Initially, the SWD integrity test succeeded, and I was able to detect the device (IDCODE:
0x6BA02477
). -
After attempting to flash a FreeRTOS BLE example from the SimpleLink SDK (
basic_ble_LP_EM_CC2340R5_freertos_ticlang.out
), the device stopped responding properly. -
Now, I consistently receive the following errors:
-
Error -2131 (unable to access device register
CFGAP.DEVICESTATUS
) -
Error -615 (SWD header not recognized)
-
-
This occurs both in CCS 12.8 and UniFlash 8.6.0.
What I've Tried:
-
Verified all SWD lines, pullups, and power stability.
-
Lowered TCLK to 1 MHz and even 100 kHz.
-
Attempted manual reset + mass erase via UniFlash.
-
Tried connecting using CCS "Connect Target" without loading code.
-
Used different USB ports and confirmed XDS110 debugger is working on other boards.
️ Setup Details:
-
Debugger: XDS110
-
Interface: 2-wire SWD
-
Target device: CC2340R52 on custom PCB
-
Tools: CCS 12.8.0.00009, UniFlash 8.6.0
-
Emulation package: 12.8.0.00189
-
SDK: SimpleLink CC23xx SDK 7.20.00.xx (targeting
basic_ble_LP_EM_CC2340R5_freertos_ticlang
)
Request:
I suspect the device may be entering a locked or shutdown state due to flashed firmware or CCFG configuration. Could you please advise on the correct recovery procedure? Is there an alternative unlock path (e.g., forced erase via CLI or BSL fallback)?
Happy to provide schematic snippets or logs if needed.
-
Thank you,
Ankush