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

JLinkARM.dll reported "-1", an unknown error

I'm trying to erase and/or flash the nrf52 dev kit and it's always failed with following logs

[2020-Nov-26 01:20:21] [ info] --------------------------------------------------------------------------------
[2020-Nov-26 01:20:21] [ info] nrfjprog -e --log
[2020-Nov-26 01:20:21] [ info] nrfjprog version 10.11.1
[2020-Nov-26 01:20:21] [ info] --------------------------------------------------------------------------------
[2020-Nov-26 01:20:21] [debug] [ nRF0x0] - open_dll
[2020-Nov-26 01:20:21] [ info] [ nRF0x0] - Load library at /Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_unknown_nrfjprogdll.dylib.
[2020-Nov-26 01:20:21] [ info] [ nRF0x0] - Library loaded, loading member functions.
[2020-Nov-26 01:20:21] [ info] [ nRF0x0] - Member functions succesfully loaded.
[2020-Nov-26 01:20:21] [ info] [Backend] - Logger callback at 0x10ac620b0 registered in Segger backend logger.
[2020-Nov-26 01:20:21] [ info] [ JLink] - [Debug ] [JLink ] Logger callback at 0x10ac620b0 registered in JLink logger.
[2020-Nov-26 01:20:21] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
[2020-Nov-26 01:20:21] [debug] [Backend] - open_dll
[2020-Nov-26 01:20:21] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
[2020-Nov-26 01:20:21] [ info] [Backend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.6.86.6.dylib.
[2020-Nov-26 01:20:21] [ info] [Backend] - Library loaded, loading member functions.
[2020-Nov-26 01:20:21] [ info] [Backend] - Member functions succesfully loaded.
[2020-Nov-26 01:20:21] [debug] [Backend] - dll_version
[2020-Nov-26 01:20:21] [ info] [Backend] - Segger dll version 6.86.f loaded.
[2020-Nov-26 01:20:21] [debug] [Backend] - set_core_data
[2020-Nov-26 01:20:21] [debug] [ nRF0x0] - enum_emu_snr
[2020-Nov-26 01:20:21] [debug] [nRFUnknown] - Just_enum_emu_snr
[2020-Nov-26 01:20:21] [debug] [Backend] - enum_emu_snr
[2020-Nov-26 01:20:21] [debug] [Backend] - ---just_enum_emu_snr
[2020-Nov-26 01:20:21] [debug] [Backend] - ---just_get_num_emus
[2020-Nov-26 01:20:21] [debug] [ nRF0x0] - connect_to_emu_without_snr
[2020-Nov-26 01:20:21] [debug] [nRFUnknown] - Just_connect_to_emu_without_snr
[2020-Nov-26 01:20:21] [debug] [Backend] - connect_to_emu_without_snr
[2020-Nov-26 01:20:21] [debug] [Backend] - is_connected_to_emu
[2020-Nov-26 01:20:21] [debug] [Backend] - ---just_get_num_emus
[2020-Nov-26 01:20:21] [debug] [Backend] - ---just_connect_to_emu_without_snr
[2020-Nov-26 01:20:21] [ info] [Backend] - Segger logging enabled.
[2020-Nov-26 01:20:24] [debug] [Backend] - ---just_load_core_data
[2020-Nov-26 01:20:24] [ info] [ JLink] - [Debug ] [JLink ] Device "CORTEX-M4" selected.
[2020-Nov-26 01:20:24] [debug] [ nRF0x0] - read_connected_emu_snr
[2020-Nov-26 01:20:24] [debug] [nRFUnknown] - Just_read_connected_emu_snr
[2020-Nov-26 01:20:24] [debug] [Backend] - read_connected_emu_snr
[2020-Nov-26 01:20:24] [debug] [Backend] - is_connected_to_emu
[2020-Nov-26 01:20:24] [debug] [ nRF0x0] - read_device_family
[2020-Nov-26 01:20:24] [debug] [nRFUnknown] - Just_read_device_family
[2020-Nov-26 01:20:24] [debug] [Backend] - is_connected_to_emu
[2020-Nov-26 01:20:24] [debug] [Backend] - read_debug_port_idr
[2020-Nov-26 01:20:24] [debug] [Backend] - read_debug_port_register
[2020-Nov-26 01:20:24] [debug] [Backend] - ---just_read_debug_port_register
[2020-Nov-26 01:20:24] [debug] [Backend] - coresight_configure
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_select_debug_port_register
[2020-Nov-26 01:20:25] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
[2020-Nov-26 01:20:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_abort_debug_action
[2020-Nov-26 01:20:25] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
[2020-Nov-26 01:20:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
[2020-Nov-26 01:20:25] [debug] [ nRF0x0] - close_dll
[2020-Nov-26 01:20:25] [debug] [nRFUnknown] - Just_close_dll
[2020-Nov-26 01:20:25] [debug] [Backend] - close
[2020-Nov-26 01:20:25] [debug] [Backend] - disconnect_from_emu
[2020-Nov-26 01:20:25] [debug] [Backend] - is_connected_to_emu
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_disconnect_from_emu
[2020-Nov-26 01:20:25] [debug] [Backend] - is_connected_to_device
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_is_debug_region_powered
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_read_debug_port_register
[2020-Nov-26 01:20:25] [debug] [Backend] - is_connected_to_emu
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_select_debug_port_register
[2020-Nov-26 01:20:25] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
[2020-Nov-26 01:20:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
[2020-Nov-26 01:20:25] [debug] [Backend] - ---just_abort_debug_action
[2020-Nov-26 01:20:25] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
[2020-Nov-26 01:20:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
[2020-Nov-26 01:20:25] [debug] [Backend] - Segger Backend closed.
I used to flash them successfully before in Catalina, but now it's not working in new Big Sur.
Thanks in advance.
Parents Reply Children
No Data
Related