NRF5340 chip lock

Hi 
I have a urgent production problem about the Nrf5340 chip. 

In all my pre production, I use nrf5340DK to program my designed board using the jlink through jtag 10pin cable. They have been working for over 2 years. 

In my recent production, I have problem to program the chip. 

When running 

nrfjprog --recover -f nrf53 --coprocessor cp_network

I get error
[error] [ Worker] - An unknown error.
[error] [ Client] - Encountered error -102: Command enable_coprocessor executed for 62 milliseconds with result -102
Failed to enable coprocessor with unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.

running

nrfjprog --recover --family nRF53 --log

Result:

Recovering device. This operation might take 30s.
[error] [ Client] - Encountered error -21: Command recover executed for 141 milliseconds with result -21
[error] [ Worker] - An unknown error.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.

It seems the chip is lock. How do i unlock it? Please help

The chip number i have is N5340, QKAAD0, 2215AL

  • Hi

    Can you share some more details about this issue.

    1. Is this issue occurring on a DK or a custom board that you're moving into production with?
    2. Are you programming the board with an nRF5340 DK or a dedicated J-Link device, if so, which J-Link model, and what voltages does it support and what voltage is the nRF5340 device running on?
    3. Do you see this on multiple devices, on some devices out of multiple, or just one device?

    Can you try doing an nrfjprog --eraseall or nrfutil device --eraseall command to see if that gets it out of this locked state?

    Best regards,

    Simon

Related