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.

  • 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, 

    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

  • Hi Pan, 

    Are you using nRF52840 DK? 

    Please make sure the power supply is 3.3v. You can check by the J-Link Commander to see the detected VTref. 

    Please upload the file named log.log under C:\Users\Administrator. Thanks. 

    -Amanda H.

  • Hi Amanda,

    Thank you for your kind reply.

    Yes, we are using nRF52840 DK, the power supply is around 5V as we connected the board to PC through USB cable.  The new error is as below after tying the command as you suggested, could you pls help check what happened?

    [2021-Mar-17 21:02:18] [ info] --------------------------------------------------------------------------------
    [2021-Mar-17 21:02:18] [ info] nrfjprog --recover --log
    [2021-Mar-17 21:02:18] [ info] nrfjprog version 10.12.1
    [2021-Mar-17 21:02:18] [ info] --------------------------------------------------------------------------------
    [2021-Mar-17 21:02:18] [debug] [ nRF0x0] - open_dll
    [2021-Mar-17 21:02:18] [ info] [ nRF0x0] - Load library at C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2021-Mar-17 21:02:18] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Mar-17 21:02:18] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Mar-17 21:02:18] [ info] [Backend] - Logger callback at 0xe22020 registered in Segger backend logger.
    [2021-Mar-17 21:02:18] [ info] [ JLink] - [Info ] [JLink ] Logger callback at 0xe22020 registered in JLink logger.
    [2021-Mar-17 21:02:18] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2021-Mar-17 21:02:18] [debug] [Backend] - open_dll
    [2021-Mar-17 21:02:18] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Mar-17 21:02:18] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLinkARM.dll.
    [2021-Mar-17 21:02:18] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Mar-17 21:02:18] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Mar-17 21:02:18] [debug] [Backend] - dll_version
    [2021-Mar-17 21:02:18] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2021-Mar-17 21:02:18] [debug] [Backend] - set_core_data
    [2021-Mar-17 21:02:18] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Mar-17 21:02:18] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2021-Mar-17 21:02:18] [debug] [Backend] - enum_emu_snr
    [2021-Mar-17 21:02:18] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Mar-17 21:02:18] [debug] [Backend] - ---just_get_num_emus
    [2021-Mar-17 21:02:18] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Mar-17 21:02:18] [debug] [nRFU

    Thanks and Best Regards

    Pan Yinliang

  • Hi Pan,

    Pan Yinliang said:
    we are using nRF52840 DK, the power supply is around 5V as we connected the board to PC through USB cable.

    Please modify the power to 3.3v. 

    Pan Yinliang said:
    [2021-Mar-17 21:02:18] [debug] [Backend] - ---just_get_num_emus
    [2021-Mar-17 21:02:18] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Mar-17 21:02:18] [debug] [nRFU

    The log is not completed. Please upload the file named log.log under C:\Users\Administrator. Thanks. 

    -Amanda H. 

Reply
  • Hi Pan,

    Pan Yinliang said:
    we are using nRF52840 DK, the power supply is around 5V as we connected the board to PC through USB cable.

    Please modify the power to 3.3v. 

    Pan Yinliang said:
    [2021-Mar-17 21:02:18] [debug] [Backend] - ---just_get_num_emus
    [2021-Mar-17 21:02:18] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Mar-17 21:02:18] [debug] [nRFU

    The log is not completed. Please upload the file named log.log under C:\Users\Administrator. Thanks. 

    -Amanda H. 

Children
Related