Other Parts Discussed in Thread: CC1312R7, UNIFLASH
Tool/software:
Hello,
I'm in the implementation phase of designing and implementing a bootloader uploader for the CC1312R7, this program has worked well in the past but sometimes is loses connection during the upload and has to restart the upload, no problem just takes longer.
This has worked well several dozens of times, but yesterday we found a completely locked board after failure to upload the program with the next error when trying to erase the flash:
[2/8/2024 9:02:41] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete. [2/8/2024 9:02:45] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete. [2/8/2024 9:02:46] [INFO] Cortex_M3_0: MassErase(): Initializing. [2/8/2024 9:02:46] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset. [2/8/2024 9:02:47] [INFO] Cortex_M3_0: MassErase(): Mass erase complete. [2/8/2024 9:02:50] [ERROR] IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 9.12.0.00150)
In this program after programming the flash and doing CRC, we configure the CCFG to lock access to bootloader and make require a mass erase to access it through JTAG and as i said it has worked flawlessly until now. but this board looks completely irrecoverable.
Any idea of how to mass erase the chip and recover the board?, if is it lost we can change solder another MCU but we fear that this happens in production.
I only found this info https://dev.ti.com/tirex/explore/node?node=A__ANoamrIZPWD2-6T-NDDWGg__ccs_devtools__FUz-xrs__LATEST which says under security error: Contact your TI representative for details. So here we are.
Kind regards, Javier