This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error reading flash of nRF52811

I am working with nRF52811 and having a problem with programming and reading flash memory.

I am using J-Link programmer connected with USB.

In nRF Connect Programmer the log says:

Error when getting device info: Error: Error: Error occured when read. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)

I also tried to use nrfjprog commad line tool to program the device running

 nrfjprog.exe --program <hex_file> --sectorerase --log

and got the output:

Parsing image file.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: nrfjprog failed for an unknown reason. Run the same command again with
ERROR: argument --log, contact Nordic Semiconductor and provide the generated
ERROR: log.log file to them.

I tried running nrfjprog --recover, but it did not help.

I used both Windows and Ubuntu 20.04 and the results were pretty much the same.

I will appreciate any help, thanks in advance,

Bartosz

Related