[SOLVED] J-link EDU mini DLL ERROR

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] J-link EDU mini DLL ERROR

    Hello everyone,
    I just bought a J-link EDU mini in order to train myself to bootload an Adafruit Feather nRF52840 Express because I want to put the nRF shield on a card to learn how to use BLE. So I downloaded the J-link Software and documentation pack and also the commands line tools from nordicsemi.com, but I can't erase the bootloader on the card, I always have the same error about DLL.



    I uninstall and reinstall softwares and drivers at least 3 times and I tryed on my Linux PC too, same issue.





    You can see the log.log here:

    2020-May-19 15:49:25 --------------------------------------------------------------------------------
    2020-May-19 15:49:25 nrfjprog -f nrf52 --eraseall --log
    2020-May-19 15:49:25 nrfjprog version 10.8.0
    2020-May-19 15:49:25 --------------------------------------------------------------------------------
    2020-May-19 15:49:25 nRF_logger_open
    2020-May-19 15:49:25 nRF_logger_open: nRFJProg logger opened to callback at address 0X7FF675093410
    2020-May-19 15:49:25 nRF_open_dll
    2020-May-19 15:49:25 nRF_open_dll: Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll".

    2020-May-19 15:49:25 . nRF52_logger_open
    2020-May-19 15:49:25 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X7FF88B22E520
    2020-May-19 15:49:25 . nRF52_open_dll
    2020-May-19 15:49:25 . . Segger_logger_open
    2020-May-19 15:49:25 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7FF875E02A90
    2020-May-19 15:49:25 . . Segger_open_dll
    2020-May-19 15:49:25 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll".

    2020-May-19 15:49:25 . . . Segger_dll_version
    2020-May-19 15:49:25 . . Segger_set_core_data
    2020-May-19 15:49:25 nRF_enum_emu_snr
    2020-May-19 15:49:25 . nRF52_enum_emu_snr
    2020-May-19 15:49:25 . . Segger_enum_emu_snr
    2020-May-19 15:49:25 . . . Segger_enum_emu_snr
    2020-May-19 15:49:25 . . . . Segger_get_num_emus
    2020-May-19 15:49:25 nRF_connect_to_emu_with_snr
    2020-May-19 15:49:25 . nRF52_connect_to_emu_with_snr
    2020-May-19 15:49:25 . . Segger_connect_to_emu_with_snr
    2020-May-19 15:49:25 . . . Segger_is_connected_to_emu
    2020-May-19 15:49:25 . . . Segger_enum_emu_snr
    2020-May-19 15:49:25 . . . . Segger_get_num_emus
    2020-May-19 15:49:25 . . . Segger_connect_to_emu_with_snr
    2020-May-19 15:49:25 . . . . Segger_connect_to_emu_without_snr
    2020-May-19 15:49:25 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x140705106243120.
    [...]
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:088.351
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:089.083
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO - 1.089ms returns 0x01
    2020-May-19 15:49:25 . . . Segger_read_debug_port_register: JLink INFO T1D70 000:089.808
    2020-May-19 15:49:25 . . . Segger_read_debug_port_register: JLink INFO JLINK_Lock()
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register
    2020-May-19 15:49:25 . . . . . Segger_coresight_configure
    2020-May-19 15:49:25 . . . . . Segger_coresight_configure: JLink INFO T1D70 000:091.247
    2020-May-19 15:49:25 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure()
    2020-May-19 15:49:25 . . . . . Segger_coresight_configure: JLink INFO T1D70 000:192.373
    2020-May-19 15:49:25 . . . . . Segger_coresight_configure: JLink INFO - 103.185ms returns 0
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO T1D70 000:196.261
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO T1D70 000:200.497
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO failed
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO T1D70 000:204.119
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLink INFO - 9.649ms returns -1
    2020-May-19 15:49:25 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error.

    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action
    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection.

    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: JLink INFO T1D70 000:213.487
    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: JLink INFO T1D70 000:217.688
    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: JLink INFO - 5.965ms returns -1
    2020-May-19 15:49:25 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error.

    2020-May-19 15:49:25 . . . Segger_read_debug_port_register: JLink INFO T1D70 000:223.024
    2020-May-19 15:49:25 . . . Segger_read_debug_port_register: JLink INFO JLINK_Unlock()
    2020-May-19 15:49:25 nRF_close_dll
    2020-May-19 15:49:25 . nRF52_close_dll
    2020-May-19 15:49:25 . . Segger_close
    2020-May-19 15:49:25 . . . Segger_disconnect_from_emu
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:235.488
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:239.125
    2020-May-19 15:49:25 . . . . Segger_is_connected_to_emu: JLink INFO - 5.379ms returns 0x01
    2020-May-19 15:49:25 . . . . Segger_disconnect_from_emu
    2020-May-19 15:49:25 . . . . . Segger_is_connected_to_device
    2020-May-19 15:49:25 . . . . . Segger_is_connected_to_device: JLink INFO T1D70 000:246.224
    2020-May-19 15:49:25 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected()
    2020-May-19 15:49:25 . . . . . Segger_is_connected_to_device: JLink INFO T1D70 000:249.057
    2020-May-19 15:49:25 . . . . . Segger_is_connected_to_device: JLink INFO - 4.126ms returns FALSE
    2020-May-19 15:49:25 . . . . . Segger_is_debug_region_powered
    2020-May-19 15:49:25 . . . . . . Segger_read_debug_port_register
    2020-May-19 15:49:25 . . . . . . . Segger_is_connected_to_emu
    2020-May-19 15:49:25 . . . . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:254.551
    2020-May-19 15:49:25 . . . . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
    2020-May-19 15:49:25 . . . . . . . Segger_is_connected_to_emu: JLink INFO T1D70 000:256.369
    2020-May-19 15:49:25 . . . . . . . Segger_is_connected_to_emu: JLink INFO - 2.731ms returns 0x01
    2020-May-19 15:49:25 . . . . . . Segger_read_debug_port_register: JLink INFO T1D70 000:258.206
    2020-May-19 15:49:25 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Lock()
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register: JLink INFO T1D70 000:261.083
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register: JLink INFO T1D70 000:263.383
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register: JLink INFO - 3.050ms returns -1
    2020-May-19 15:49:25 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error.

    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action
    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection.

    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: JLink INFO T1D70 000:267.125
    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: JLink INFO T1D70 000:268.942
    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: JLink INFO - 2.433ms returns -1
    2020-May-19 15:49:25 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error.

    2020-May-19 15:49:25 . . . . . . Segger_read_debug_port_register: JLink INFO T1D70 000:270.802
    2020-May-19 15:49:25 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Unlock()
    2020-May-19 15:49:25 . . . . Segger_disconnect_from_emu: JLink INFO T1D70 000:285.184
    2020-May-19 15:49:25 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close()
    2020-May-19 15:49:25 . . Segger_close: Freeing Library.

    2020-May-19 15:49:25 nRF_close_dll: Freeing Library.

    Thanks for your help
    Best regards
  • Hi,
    nrfjprog is not a tool from SEGGER.
    As the error text states, please contact Nordic Semiconductor regarding this.

    If you are just looking to Flash your target device, we recommend using J-Link Commander.

    We will consider this thread as closed now.

    Best regards,
    Fabian
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/


    Or you can contact us via e-mail.