Could not power on normally after programming softdevice, bootloader, and application hex files

I am testing programming secure bootloader. But J-Link Commander reports Could not start CPU core. (ErrorCode: -1) after programming softdevice, bootloader, and application hex files. And nRF52832 device can't power on normally. Where can I download nRF52832 bootloader hex file. I would like to recover it.

D:\Temp\Jlink>flash_nrf52832_hex.bat

D:\Temp\Jlink>"D:\Program Files (x86)\SEGGER\JLink_V632i\JLink.exe" -Device NRF52832_XXAA -if SWD -speed 4000 -CommanderScript D:\Temp\Jlink\flash_nrf52832_hex.jlink
SEGGER J-Link Commander V6.32i (Compiled Jul 24 2018 15:20:49)
DLL version V6.32i, compiled Jul 24 2018 15:19:55


J-Link Command File read successfully.
Processing script file...

J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-STM32F072-CortexM compiled Mar  8 2020 11:15:54
Hardware version: V1.00
S/N: -1
License(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
VTref=3.300V
Target connection not established yet but required for command.
Device "NRF52832_XXAA" selected.


Connecting to target via SWD
Found SW-DP with ID 0x2BA01477
Found SW-DP with ID 0x2BA01477
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011)
AP[1]: JTAG-AP (IDR: 0x02880000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
Found Cortex-M4 r0p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
Cortex-M4 identified.
Erasing device (nRF52832_xxAA)...
J-Link: Flash download: Total time needed: 0.317s (Prepare: 0.047s, Compare: 0.000s, Erase: 0.264s, Program: 0.000s, Verify: 0.000s, Restore: 0.005s)
Erasing done.

Downloading file [D:\Temp\Jlink\softdevice_s132.hex]...
J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (155648 bytes)
J-Link: Flash download: Total time needed: 2.890s (Prepare: 0.097s, Compare: 0.016s, Erase: 0.000s, Program: 2.709s, Verify: 0.005s, Restore: 0.062s)
O.K.

Downloading file [D:\Temp\Jlink\bootloader_s132.hex]...
J-Link: Flash download: Bank 0 @ 0x00000000: 2 ranges affected (28672 bytes)
J-Link: Flash download: Total time needed: 0.587s (Prepare: 0.081s, Compare: 0.005s, Erase: 0.013s, Program: 0.442s, Verify: 0.002s, Restore: 0.042s)
O.K.

Downloading file [D:\Temp\Jlink\nrf52832_xxaa.hex]...
J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (94208 bytes)
J-Link: Flash download: Total time needed: 1.820s (Prepare: 0.098s, Compare: 0.009s, Erase: 0.000s, Program: 1.647s, Verify: 0.002s, Restore: 0.062s)
O.K.

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.

Script processing completed.



Type "connect" to establish a target connection, '?' for help
J-Link>q

****** Error: Could not start CPU core. (ErrorCode: -1)

D:\Temp\Jlink>

Parents Reply Children
No Data
Related