Hi!
I'm running a project with an nrf52 chip for which we use the JLink as the interface. I've been using my setup a lot for the past year. The other week, every LJink command stopped working.
I am not aware of any update, changed routine, or any factor that could be the villain.
I'm running ubuntu 20 and here is my log. Any ideas?
On a different computer, the same JLink + pcb + nrfjprog-script works fine.
$ nrfjprog -v
nrfjprog version: 10.10.0
JLinkARM.dll version: 6.86c
$ nrfjprog --reset
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.
[2020-Oct-12 08:15:49] [ info] -------------------------------------------------------------------------------- [2020-Oct-12 08:15:49] [ info] nrfjprog --reset --log [2020-Oct-12 08:15:49] [ info] nrfjprog version 10.10.0 [2020-Oct-12 08:15:49] [ info] -------------------------------------------------------------------------------- [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - open_dll [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - Load library at /opt/nrfjprog/libjlinkarm_unknown_nrfjprogdll.so. [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - Library loaded, loading member functions. [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - Member functions succesfully loaded. [2020-Oct-12 08:15:49] [debug] [Backend] - Logger callback at 0x5598c7f7fe00 registered in Segger backend logger. [2020-Oct-12 08:15:49] [debug] [ JLink] - [Debug ] [JLink ] Logger callback at 0x5598c7f7fe00 registered in JLink logger. [2020-Oct-12 08:15:49] [debug] [nRFUnknown] - Just_open_dll_tagged_callback [2020-Oct-12 08:15:49] [debug] [Backend] - open_dll [2020-Oct-12 08:15:49] [debug] [Backend] - No J-Link DLL path was provided. Attempting to auto detect. [2020-Oct-12 08:15:49] [debug] [Backend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.6.86.3. [2020-Oct-12 08:15:49] [debug] [Backend] - Library loaded, loading member functions. [2020-Oct-12 08:15:49] [debug] [Backend] - Member functions succesfully loaded. [2020-Oct-12 08:15:49] [debug] [Backend] - dll_version [2020-Oct-12 08:15:49] [debug] [Backend] - Segger dll version 6.86.c loaded. [2020-Oct-12 08:15:49] [debug] [Backend] - set_core_data [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - enum_emu_snr [2020-Oct-12 08:15:49] [debug] [nRFUnknown] - Just_enum_emu_snr [2020-Oct-12 08:15:49] [debug] [Backend] - enum_emu_snr [2020-Oct-12 08:15:49] [debug] [Backend] - ---just_enum_emu_snr [2020-Oct-12 08:15:49] [debug] [Backend] - ---just_get_num_emus [2020-Oct-12 08:15:49] [debug] [ nRF0x0] - connect_to_emu_with_snr [2020-Oct-12 08:15:49] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr [2020-Oct-12 08:15:49] [debug] [Backend] - connect_to_emu_with_snr [2020-Oct-12 08:15:49] [debug] [Backend] - is_connected_to_emu [2020-Oct-12 08:15:49] [debug] [Backend] - ---just_enum_emu_snr [2020-Oct-12 08:15:49] [debug] [Backend] - ---just_get_num_emus [2020-Oct-12 08:15:49] [debug] [Backend] - ---just_connect_to_emu_with_snr [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_connect_to_emu_without_snr [2020-Oct-12 08:15:50] [debug] [Backend] - Segger logging enabled. [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_load_core_data [2020-Oct-12 08:15:50] [debug] [ nRF0x0] - read_connected_emu_snr [2020-Oct-12 08:15:50] [debug] [nRFUnknown] - Just_read_connected_emu_snr [2020-Oct-12 08:15:50] [debug] [Backend] - read_connected_emu_snr [2020-Oct-12 08:15:50] [debug] [Backend] - is_connected_to_emu [2020-Oct-12 08:15:50] [debug] [ nRF0x0] - read_device_family [2020-Oct-12 08:15:50] [debug] [nRFUnknown] - Just_read_device_family [2020-Oct-12 08:15:50] [debug] [Backend] - is_connected_to_emu [2020-Oct-12 08:15:50] [debug] [Backend] - read_debug_port_idr [2020-Oct-12 08:15:50] [debug] [Backend] - read_debug_port_register [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_read_debug_port_register [2020-Oct-12 08:15:50] [debug] [Backend] - coresight_configure [2020-Oct-12 08:15:50] [debug] [Backend] - JLinkARM.dll reported "-1", an unknown error. [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_abort_debug_action [2020-Oct-12 08:15:50] [debug] [Backend] - Attempting to clear any configuration errors in debug port before closing connection. [2020-Oct-12 08:15:50] [debug] [Backend] - JLinkARM.dll reported "-1", an unknown error. [2020-Oct-12 08:15:50] [debug] [ nRF0x0] - close_dll [2020-Oct-12 08:15:50] [debug] [nRFUnknown] - Just_close_dll [2020-Oct-12 08:15:50] [debug] [Backend] - close [2020-Oct-12 08:15:50] [debug] [Backend] - disconnect_from_emu [2020-Oct-12 08:15:50] [debug] [Backend] - is_connected_to_emu [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_disconnect_from_emu [2020-Oct-12 08:15:50] [debug] [Backend] - is_connected_to_device [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_is_debug_region_powered [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_read_debug_port_register [2020-Oct-12 08:15:50] [debug] [Backend] - is_connected_to_emu [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_write_debug_port_register [2020-Oct-12 08:15:50] [debug] [Backend] - JLinkARM.dll reported "-1", an unknown error. [2020-Oct-12 08:15:50] [debug] [Backend] - ---just_abort_debug_action [2020-Oct-12 08:15:50] [debug] [Backend] - Attempting to clear any configuration errors in debug port before closing connection. [2020-Oct-12 08:15:50] [debug] [Backend] - JLinkARM.dll reported "-1", an unknown error. [2020-Oct-12 08:15:50] [debug] [Backend] - Segger Backend closed.