Part Number: LP-EM-CC2340R5
Other Parts Discussed in Thread: CC2340R5, UNIFLASH
Tool/software:
Hi,
I'm working on flash programming via SWD for the CC2340R5. I've successfully flashed a simple LED blink application multiple times using my custom host device. However, I accidentally wrote invalid data to the CCFG section—specifically, I set all bytes to 0x00, except for the CRC32, which was correctly calculated and written.
The LED application still runs and blinks as expected, but now I'm unable to access the device using my host or any other tool.
Issue:
-
host device (Debug access fails): The Power-up Debug Port request is not acknowledged.
-
UniFlash shows this error:
Error connecting to the target: (Error -1141 @ 0x0) Device is not responding to the request. 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 20.0.0.3298)
-
CCS shows a similar error:
CS_DAP_0: Error connecting to the target: (Error -1141 @ 0x0) Device is not responding to the request. 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 20.0.0.3344)
Question:
How can I regain access to the device (via UniFlash, CCS, or another method) and recover it.
Any suggestions would be greatly appreciated.
Thanks!
