Hi there,
I’m having a problem very similar to this post: https://devzone.nordicsemi.com/f/nordic-q-a/49159/jlink-dll-reported-and-error
I am using the Nordic nRF52 DK to program an external custom board with nRF52832 (I’m using the SWD programmer using the IDC 10 pin connector cable). Using Segger Embedded Studio, I could download and debug the board successfully.
When I tried to program it via the command line tools, I am able to read UICR, erase chip, etc, but when I try to program the chip using for example:
nrfjprog --eraseall
nrfjprog --program softdevice.hex --sectorerase
But I get the following message:
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 whole message in Terminal is:
nrfjprog -f NRF52 --program softdevice.hex --sectorerase --log Parsing hex file. Erasing page at address 0x0. Erasing page at address 0x1000. Erasing page at address 0x2000. Erasing page at address 0x3000. Erasing page at address 0x4000. Erasing page at address 0x5000. Erasing page at address 0x6000. Erasing page at address 0x7000. Erasing page at address 0x8000. Erasing page at address 0x9000. Erasing page at address 0xA000. Erasing page at address 0xB000. Erasing page at address 0xC000. Erasing page at address 0xD000. Erasing page at address 0xE000. Erasing page at address 0xF000. Erasing page at address 0x10000. Erasing page at address 0x11000. Erasing page at address 0x12000. Erasing page at address 0x13000. Erasing page at address 0x14000. Erasing page at address 0x15000. Erasing page at address 0x16000. Erasing page at address 0x17000. Erasing page at address 0x18000. Erasing page at address 0x19000. Erasing page at address 0x1A000. Erasing page at address 0x1B000. Erasing page at address 0x1C000. Erasing page at address 0x1D000. Erasing page at address 0x1E000. Erasing page at address 0x1F000. Erasing page at address 0x20000. Erasing page at address 0x21000. Erasing page at address 0x22000. Erasing page at address 0x23000. Erasing page at address 0x24000. Erasing page at address 0x25000. Applying system reset. Checking that the area to write is not protected. Programming device. 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.
)
I tried already to disinstall everything and reinstall everything (as suggested by another post), therefore all the latest version of Segger, Blink and Nordic Command Line Tool are installed.
This is the Log.log file generated (too long to be posted, I am attaching the file log.log):
Any suggestions on how I could solve this problem? I've tried reading all the similar issues but none seemed to help.
I'm looking forward to hearing from you all. Thank you in advance :)
Best,
Gu