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

NRF52840 DK log file

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.

we bought NRF52840 to test other boards, firstly a problem happened, when change a new NRF52840 the testing could pass, so we doubt the firmware inside it was lost, how could we solve this problem?

Parents
  • Hey, 

    It could have been because you have accidentally erased the firmware for the JLink chip on your DK. It happens when u power cycle with the reset pin pressed. All you need to do is press the reset button and try turning on the DK again, the light on the DK will blink and the DK will be shown as a bootable device on ur PC, if that works out you just have to download the binary of the firmware (link) used by the interface chip and drag and drop it onto the bootable device, after that power cycle the DK (without pressing the reset button) and everything should be back to normal. Please do refer to this answer (link) by @Bjørn Kvaale for reference.

    Cheers.

Reply
  • Hey, 

    It could have been because you have accidentally erased the firmware for the JLink chip on your DK. It happens when u power cycle with the reset pin pressed. All you need to do is press the reset button and try turning on the DK again, the light on the DK will blink and the DK will be shown as a bootable device on ur PC, if that works out you just have to download the binary of the firmware (link) used by the interface chip and drag and drop it onto the bootable device, after that power cycle the DK (without pressing the reset button) and everything should be back to normal. Please do refer to this answer (link) by @Bjørn Kvaale for reference.

    Cheers.

Children
  • Hi, thank you so much for your reply, yes we tried this way before, but error still exsits, kindly pls see below:

    C:\Users\Administrator\Desktop\PBA 325 010 - 2.06>nrfjprog --family NRF52 --program Je325_Bootloader.ihex
    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.

  • Hi Pan, 

    Are you using nRF52840 DK?

    What is command-line tool version? You can get it by typing nrfjprog -v

    Please run nrfjprog --recover. If it still fails, please provide the log.

    -Amanda H. 

  • Hi Amanda,

    Thank you so much for your kind reply.

    Yes, we are using nRF52840 DK, nrfjprog version: 10.8.0. After running nrfjprog --recover. it still fails, pls check the error as below for 1 nRF52840DK:

    C:\Users\Administrator>nrfjprog -v
    nrfjprog version: 10.8.0
    JLinkARM.dll version: 6.70d

    C:\Users\Administrator>nrfjprog --recover
    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.
    And for another board, the error is different which is as below:
    C:\Users\Administrator>nrfjprog -v
    nrfjprog version: 10.8.0
    JLinkARM.dll version: 6.70d

    C:\Users\Administrator>nrfjprog --recover
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.
    Could you pls help us analyze the reason?
    Thanks and Best Regards
    Pan Yingliang
  • Hi Pan, 

    Pan Yinliang said:
    C:\Users\Administrator>nrfjprog --recover
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.

    The lats operation of nrfjprog --recover seems to work. 

    Can you check the issue is fixed or not? If not, you might need to update the command-line tool to the last version, and do nrfjprog --recover again. If it still fails, please provide log by typing nrfjprog --recover --log

    -Amanda H.

  • Hi Amanda,

    Thank you for your kind prompt reply.

    Tried with your suggestion, problem still exist as below:

    C:\Users\Administrator>nrfjprog -v
    nrfjprog version: 10.12.1
    JLinkARM.dll version: 6.88a

    C:\Users\Administrator>nrfjprog --recover
    ERROR: nrfjprog could not identify the target device. This may be due to an
    ERROR: invalid family argument, a problem with your device, or nrfjprog may
    ERROR: not yet support your device.
    ERROR: Please check the family argument passed, or upgrade nrfjprog to a more
    ERROR: recent version.

    C:\Users\Administrator>nrfjprog --recover --log
    ERROR: nrfjprog could not identify the target device. This may be due to an
    ERROR: invalid family argument, a problem with your device, or nrfjprog may
    ERROR: not yet support your device.
    ERROR: Please check the family argument passed, or upgrade nrfjprog to a more
    ERROR: recent version.

    Thanks and Best Regards

    Pan Yinliang

Related