When flash locking a Precision 32 device (SiM3U, SiM3C, SiM3L), J-link debug adapters, and specifically J-link commander can no longer connect to, erase, or debug the device. After attempting to connect to a device, the following response is received from J-link commander:
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: Silicon Labs J-Link OB compiled Jan 18 2019 14:09:54
Hardware version: V1.00
VTref = 3.259V
Target connection not established yet but required for command.
Device "CORTEX-M3" selected.
Connecting to target via SWD
Found SW-DP with ID 0x2BA01477
Scanning APs, stopping at first AHB-AP found.
AP IDR: 0x24770011 (AHB-AP)
AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
CPUID reg: 0x00000000. Implementer code: 0x00 (???)
Unknown core, assuming Cortex-M0
Found Cortex-M0 r0p0, Little endian.
WARNING: Identified core does not match configuration. (Found: Cortex-M0, Configured: Cortex-M3)
FPUnit: 0 code (BP) slots and 0 literal slots
ROMTbl @ E00FF000
The SiM3 devices require a specific series of commands, unique to these devices, to connect and erase when the parts are flash locked. The procedure is not performed automatically by J-link commander. The procedure is as follows:
SWDSelect //Selects the SWD Interface
SWDWriteDP 1 0x50000000 //Enables power
SWDWriteDP 2 0x0A000000 //Selects CHIP_AP Bank 0
SWDWriteAP 0 0x00000008 //CTRL1.core_reset_ap = 1
SWDWriteAP 0 0x00000001 //CTRL1.user_erase = 1
SWDReadAP 0 //Should read 1
A j-link commander script has been attached to this article to perform these commands. The usage is as follows:
JLink -If SWD -Speed 4000 -Device Cortex-M3 -CommanderScript <path>\SIM3_deBrick.jlink
I am concerned about the device I am using being discontinued (end of life or EOL). Is there information about product life anywhere on your website?
The following page on our website lists the minimum longevity of our 32-bit MCU devices:
Similarly, for our 32-bit Wireless MCU devices see:
For devices not listed, please inquire with your local sales representative: