Unsecuring will trigger a mass erase of the internal flash, SRAM and UICR of both the application and the network core.

When I use the J-link programming program, the following happens to the J-flash connection chip

SEGGER J-Link Commander V7.67d (Compiled Jul 5 2022 16:15:35)
DLL version V7.67d, compiled Jul 5 2022 16:13:51

Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware version: V9.40
S/N: 69403072
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.293V


Type "connect" to establish a target connection, '?' for help
J-Link>connect NRF5340
Please specify device / core. <Default>: NRF5340_XXAA_NET
Type '?' for selection dialog
Device>connect NRF5340_XXAA_NET
Please specify target interface:
J) JTAG (Default)
S) SWD
F) FINE
I) ICSP
C) C2
T) cJTAG
TIF>SWD
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>4000
Device "NRF5340_XXAA_NET" selected.


Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
InitTarget() end
Failed to attach to CPU. Trying connect under reset.
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
CTRL-AP indicates that the device is secured.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash, SRAM and UICR of both the application and the network core.

Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget() end
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
CTRL-AP indicates that the device is secured.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash, SRAM and UICR of both the application and the network core.

Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget() end
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
CTRL-AP indicates that the device is secured.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash, SRAM and UICR of both the application and the network core.

Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget() end
Cannot connect to target.
J-Link>

Parents Reply Children
Related