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

NRF52 Locked boards

Hi,

I'm currently trying to load my firmware into some custom nRF52832 boards. It seems that several of them have been locked up after previously working. Other boards can be programmed with the same setup (segger jlink and firmware).

nrfjprog -s 59307651 --erasepage 0x0-0x80000 -f nrf52
nrfjprog -s 59307651 --program firmware\modem_test_interface_release.hex -f nrf52
nrfjprog -s 59307651 --reset -f nrf52

For each of these commands, I get

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.

The log file is as follows.

--------------------------------------------------------------------------------
nrfjprog -s 59307651 -f nrf52 --reset --log
nrfjprog verion 9.3.1
--------------------------------------------------------------------------------
FUNCTION: open_dll.
FUNCTION: open_dll.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: connect_to_emu_with_snr.
FUNCTION: connect_to_emu_with_snr.
FUNCTION: connect_to_emu_without_snr.
FUNCTION: enum_emu_snr.
Device "NRF52832_XXAA" selected.
FUNCTION: read_device_version.
FUNCTION: read_device_version.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
FUNCTION: close_dll.
FUNCTION: close_dll.

I have tried several possible solutions from the forum but no luck so far.

Parents
  • There used to be problems with nRF52 recovery but the latest NRFTOOLS and nRFgo Studio should have all fixes. If you are sure there is no problem with SWD wiring then you can try to submit feedback through Nordic's MyPage on their main web site (registration for free), you can submit your firmware and other details so they could reproduce the problem (if it is reproducible on some generic hardware such as nRF5x DK).

Reply
  • There used to be problems with nRF52 recovery but the latest NRFTOOLS and nRFgo Studio should have all fixes. If you are sure there is no problem with SWD wiring then you can try to submit feedback through Nordic's MyPage on their main web site (registration for free), you can submit your firmware and other details so they could reproduce the problem (if it is reproducible on some generic hardware such as nRF5x DK).

Children
No Data
Related