nrfjprog failed to erase nRF52832 device

I would like to use nrfjprog to erase nRF52832 device. But it failed with "An unknown error". The nRF52832 device connect to laptop through J-Link USB interface.

D:\Nordic>nrfjprog --log --family nRF52 --eraseall
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

ERROR: Unable to connect to a debugger.
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.

Parents Reply
  • Hi,

    snowuyl said:
    I didn't chnage any thing. I just change using pca10040_s132_ble_debug instead pca10040_s132_ble. RTT can't connect to nRF52832 device occur when nRF52832 device is running bootloader code.

    You would not get the RTT log if loading pca10040_s132_ble. Please make sure you are using pca10040_s132_ble_debug.

    What image is running on the board?  Only the SD and pca10040_s132_ble_debug? Or SD+BL+APP?

    -Amanda

Children
Related