AnsweredAssumed Answered

QN9080C Can't eraser by j-link

Question asked by Qiang Yuan on Aug 22, 2018
Latest reply on Aug 29, 2018 by Estephania Martinez

Hi  Dear,

        I would like to ask you some solution about QN9080N  can't erase by Jink.

The detail information is as fellow


SEGGER J-Link Commander V6.18b (Compiled Aug 18 2017 19:01:50)
DLL version V6.18b, compiled Aug 18 2017 19:01:12

Connecting to J-Link via USB...FAILED: Cannot connect to J-Link via USB.
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Jul 29 2016 18:50:09
Hardware version: V9.20
S/N: 269200000
License(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
VTref = 3.269V
Please specify device / core. <Default>: QN9080C
Type '?' for selection dialog
Please specify target interface:
J) JTAG (Default)
Specify target interface speed [kHz]. <Default>: 4000 kHz
Device "QN9080C" selected.

Connecting to target via SWD
Found SW-DP with ID 0x2BA01477
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011)
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
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
LOCK_STAT_8 register indicates that the device is secured.
For accessing memory the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device was not unsecured. No action performed.
Cortex-M4 identified.


I connect four lines to Jlink V9 device " VCC, SWDIO, SWCLK, GND",

then we use Jlink Comander to erase the flash. The first time I can do this successed. But  we I erase the flash for the 

second times, Jlink give the message as above.  I find this chip is locked.

So Could you tell me how to unlock the chips.


Thanks very much!!!