nrf9160 Custom Board Programming Issue with Jlink

Hello-

I recently got a custom board made with a nrf9160 module and am having trouble programming it. This project was reviewed by your team (private case ID: 321889) and other members of our team (in another office) have been successful flashing their boards so I'm inclined to think it's an issue with my setup. Can you please help suss out what could be wrong and/or come up with other tests for me to try? I feel like I must be missing something simple.

I have a Jlink Base with an Olimex interface board which connects the Jlink to a 10-pin header on the custom board. I've installed the Jlink software package and nRF connect for desktop on my windows computer. When I open the 'Programmer' and try to connect to the Jlink, I can see it but when I try to connect to the device I get the following text output:

13:22:38.076
Initialising nrfutil module: device
13:22:41.098
Using nrfutil-device core version: 7.13.0
13:22:41.794
Using nrfutil-device version: 2.1.1
13:22:41.794
Using nrf-device-lib version: 0.17.5
13:22:41.795
Using nrfjprog DLL version: 10.24.0
13:22:41.795
Using JLink version: JLink_V7.94e
13:22:42.035
Getting serialport options from persistent store 000050105238.pc-nrfconnect-programmer
13:22:42.036
Getting serialport options from persistent store 0001.pc-nrfconnect-programmer
13:22:46.919
Using nrfutil device to communicate with target via JLink
13:22:48.705
Reading readback protection status for Application core
13:22:48.706
Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
13:22:48.855
Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

I have done the following to try and find issues after reading various posts on similar issues:

  1. Checked that there is continuity from each of the pins on the Olimex to the custom board for VTref, SWDIO, SWDCLK, SWO, and nRESET
  2. Verified with a scope that there is data flowing on the SWDIO and SWDCLK lines
  3. Verified that the RESET line is at 2.2V and that it is briefly pulled low when a connection is attempted from the windows machine
  4. Verified that the custom board consumes ~1.7mA of current from the 10V power supply (17mW including voltage regulation, peripherals, etc...)
  5. Tried connecting with a different computer, same result

Other details:

  • The system runs on 3.3V
  • The custom board design was uploaded to Case 321889 (I do not want it to be published publicly). But here are the connections associated with the programmer:


Thank you so much!

Dave Y

Parents
  • Hi Dave

    Only the nRF9160 DK and nRF5340 DK (and the J-Link Base) can be used to program your custom nRF9160 board out of these as the Thingy:91 doesn't have a debugger onboard. 

    You say that the power supply is running at 10V here, so without taking a proper look at your HW files, I assume you have some sort of voltage protection between the supply and nRF9160, as the highest supported battery input voltage is 5.5V. Anything higher would be out of spec. I just want to make sure we cover "all bases", as this is a very generic error unfortunately.

    Do you have more than one custom nRF9160 board you're seeing this issue on or is it just one specific one? It could be due to bad soldering since you say team members in another office are able to program the board.

    Can you try using the nRF Command Line Tools directly from the terminal to program the device? If it fails there as well you can try to do the programming command with --log at the end to generate support information that we can take a look at in detail.

    Best regards,

    Simon

  • Thanks Simon-

    Yes, I can confirm that the nRF9160 module is being powered from a 3.3V rail (generated from the 10V supply by a buck regulator). Thanks for checking. I'd be happy to share the design files here if we can make this ticket private.

    I have only seen this issue on one board, but I only have 1 board at my location. We had them built by Circuithub so I wouldn't expect this one would behave differently than others, but I can't be positive. It would take some time to ship another board here, so I'd prefer to assume the PCBA is ok and it is my programming setup that is an issue. I can confirm that I programmed another board (not an nRF module though) a few weeks ago using this Jlink base and Jflash lite.

    I installed the command line tools and tried to flash it with the attached log file. Does that tell you anything?

    Can you please point me to a resource that describes how I can try to flash the custom board with one of the DKs I have here just to try something new?

    I also tried using legacy Jlink USB drivers with the nRF connect for desktop as described here, with the same result.

    [2024-Jul-29 10:29:06] [debug] --------------------------------------------------------------------------------
    [2024-Jul-29 10:29:06] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe -f NRF91 --program 2024.07.02method-test-firmware.hex --chiperase --verify --log 
    [2024-Jul-29 10:29:06] [debug] nrfjprog version 10.24.2 external
    [2024-Jul-29 10:29:06] [debug] --------------------------------------------------------------------------------
    [2024-Jul-29 10:29:06] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2024-Jul-29 10:29:06] [ info] Library loaded, loading member functions.
    [2024-Jul-29 10:29:06] [ info] Member functions succesfully loaded.
    [2024-Jul-29 10:29:07] [debug] [ Client] - open
    [2024-Jul-29 10:29:07] [debug] [ Client] - start
    [2024-Jul-29 10:29:07] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence a668214b-2e75-4350-9bb1-31c0d9940b45.
    
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2024-Jul-29 10:29:07] [debug] [  JLink] - Logger sink registered in JLink logger
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - open
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - just_check_family
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - open_dll
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2024-Jul-29 10:29:07] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V798a\JLink_x64.dll.
    [2024-Jul-29 10:29:07] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2024-Jul-29 10:29:07] [trace] [ Client] - Command open executed for 756 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [ Client] - config
    [2024-Jul-29 10:29:07] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - Set batch mode
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - dll_version
    [2024-Jul-29 10:29:07] [ info] [SeggerBackend] - Segger dll version 7.98.a loaded.
    [2024-Jul-29 10:29:07] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2024-Jul-29 10:29:07] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [ Client] - enum_emu_snr
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - config
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - enum_emu_snr
    [2024-Jul-29 10:29:07] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
    [2024-Jul-29 10:29:07] [trace] [ Client] - Command enum_emu_con_info executed for 16 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [ Client] - connect_to_emu_with_snr
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - enum_emu_con_info
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - enum_emu_con_info
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [trace] [ Worker] - Command enum_emu_con_info executed for 3 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - connect_to_emu_with_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - ---just_get_num_emus
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - Segger logging enabled.
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Firmware: J-Link V10 compiled Jan 30 2023 11:28:07
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Firmware: J-Link V10 compiled Jan 30 2023 11:28:07
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Decompressing FW timestamp took 120 us
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Hardware: V10.10
    [2024-Jul-29 10:29:07] [trace] [  JLink] - S/N: 50105238
    [2024-Jul-29 10:29:07] [trace] [  JLink] - OEM: SEGGER
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Feature(s): GDB
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Bootloader: (Could not read)
    [2024-Jul-29 10:29:07] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2024-Jul-29 10:29:07] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2024-Jul-29 10:29:07] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V798a\JLinkGUIServer.exe 
    [2024-Jul-29 10:29:07] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V798a\JLinkGUIServer.exe 
    [2024-Jul-29 10:29:07] [trace] [ Client] - Command connect_to_emu_with_snr executed for 77 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [ Client] - read_connected_emu_snr
    [2024-Jul-29 10:29:07] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V7.98a " 
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 30.992ms returns "O.K."  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_Lock()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.007ms returns 0x00  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.007ms returns 0x00  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2024-Jul-29 10:29:07] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.035ms returns 0  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.887ms returns 0x00  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - 180000000 Hz / n, n >= 12
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.008ms  
    [2024-Jul-29 10:29:07] [debug] [ Client] - read_device_info
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 15000kHz
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.142ms  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_GetSpeed()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.005ms returns 2000  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_GetSN()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.005ms returns 50105238  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.008ms  
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - read_device_family
    [2024-Jul-29 10:29:07] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 62 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - read_connected_emu_snr
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_IsOpen()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_Lock()  
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - read_connected_emu_snr
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.006ms  
    [2024-Jul-29 10:29:07] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - read_device_info
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_IsOpen()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_Lock()  
    [2024-Jul-29 10:29:07] [debug] [  nRF91] - Just_read_device_version
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - read_access_port_register
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2024-Jul-29 10:29:07] [debug] [SeggerBackend] - coresight_configure
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - - 0.286ms returns 0  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:07] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 99.901ms returns 0  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.692ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.519ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.546ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.519ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.562ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.530ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.535ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.515ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.501ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.528ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.512ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.522ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.509ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.535ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.587ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.544ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.513ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.532ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.860ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.621ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.540ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.507ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.536ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.498ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.486ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.539ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.564ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.529ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.519ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.498ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.525ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.515ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.491ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.540ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.526ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.490ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.511ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.495ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.483ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.532ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.647ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.535ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.071ms  
    [2024-Jul-29 10:29:08] [error] [ Worker] - An unknown error.
    [2024-Jul-29 10:29:08] [trace] [ Worker] - Command read_device_info executed for 125 milliseconds with result -102
    [2024-Jul-29 10:29:08] [error] [ Client] - Encountered error -102: Command read_device_info executed for 139 milliseconds with result -102
    [2024-Jul-29 10:29:08] [warning] Failed to read device info. Attempting to complete command anyways.
    [2024-Jul-29 10:29:08] [debug] [ Client] - read_memory_descriptors
    [2024-Jul-29 10:29:08] [error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 28 milliseconds with result -102
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - read_memory_descriptors
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_IsOpen()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_Lock()  
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - Just_read_memory_descriptors
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - Just_readback_status
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - read_access_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.799ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.601ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.541ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.533ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.487ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.471ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.479ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.496ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.480ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.459ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.499ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.455ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.510ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.462ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.455ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.503ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.450ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.473ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.464ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.453ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.636ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.522ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.484ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.469ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.474ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.672ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.482ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.482ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.524ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.539ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.470ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.544ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.469ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.501ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.507ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.440ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.497ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.485ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.447ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.450ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.469ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.455ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.058ms  
    [2024-Jul-29 10:29:08] [error] [ Worker] - An unknown error.
    [2024-Jul-29 10:29:08] [trace] [ Worker] - Command read_memory_descriptors executed for 22 milliseconds with result -102
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - close
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - close
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_IsOpen()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_Lock()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - close
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - disconnect_from_emu
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - is_connected_to_device
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_IsConnected()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.002ms returns FALSE  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.506ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.489ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.502ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.535ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.510ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.777ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.523ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.529ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.899ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.436ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.471ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.816ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.455ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.637ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.529ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.514ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.548ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.528ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.528ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.501ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.522ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.470ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.466ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.471ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.468ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.598ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.523ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.481ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.565ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.494ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.541ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.502ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.497ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.491ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.517ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.492ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.678ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.478ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.524ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.524ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.491ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.474ms returns -1  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_HasError()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2024-Jul-29 10:29:08] [trace] [  JLink] - - 0.063ms  
    [2024-Jul-29 10:29:08] [trace] [  JLink] - JLINK_Close()  
    [2024-Jul-29 10:29:08] [debug] [SeggerBackend] - Segger Backend closed.
    [2024-Jul-29 10:29:08] [debug] [  nRF91] - nRF family DLL closed
    [2024-Jul-29 10:29:08] [trace] [ Client] - Command close executed for 74 milliseconds with result 0
    [2024-Jul-29 10:29:08] [debug] [ Client] - terminate
    [2024-Jul-29 10:29:08] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jul-29 10:29:08] [trace] [ Worker] - Command close executed for 65 milliseconds with result 0
    [2024-Jul-29 10:29:08] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jul-29 10:29:08] [trace] [ Worker] - Executed 9 commands for 283 milliseconds
    [2024-Jul-29 10:29:08] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jul-29 10:29:08] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jul-29 10:29:08] [debug] [ Client] - Child process terminated with result 0
    [2024-Jul-29 10:29:08] [trace] [ Client] - Executed 9 commands for 1105 milliseconds
    [2024-Jul-29 10:29:08] [debug] [ Client] - terminate
    

    Thanks!

    Dave

  • Dave;  

    Here is a link to using the Debug Out connector of a 9160DK as the JLINK to your board

    https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html

    wes

  • Thanks Wes for the link. Sadly, flashing from the DK didn't work; I was able to connect to the nf9160-DK (and it's on-board chip) but got the same error as with the Jlink:

    14:43:59.989
    Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
    14:44:00.178
    Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

    Simon/Wes, did that log file give any more information or insight?

    I checked both headers and with a DMM that each of the connections were made correctly from DK to custom board:

    P19 pin1: SWD0_SEL -> J5 pin1: VTref (confirmed powered at 3.3V)

    P19 p2: SWD0_IO -> J5 p2: SWDIO (going to 9160 pin 34)

    P19 p3 and 5: GND -> J5 pin 3, 5: GND

    P19 p4: SWD0_CLK -> J5 p4: SWDCLK (going to 9160 pin 33)

    P19 p6: SWD0_SWO -> J5 p6: SWO

    P19 p7, 8: N/C -> J5 p7, 8: N/C

    P19 p9: N/C -> J5 pin9: GND

    P19 p10: SWD0_RESET -> J5 p10: nRESET (going to 9160 pin 32 by way of a resistor)

    I also tried flashing with the DK using the command line tools and saved the log (attached below, appended to earlier log from Jlink).

    Is there anything else we can look into? I hate to think there could be a problem with this particular board; the only unusual thing I tried was flashing it with jflash lite (which failed). Could that have caused an issue?

    log_2024.07.29_3p.log

Reply
  • Thanks Wes for the link. Sadly, flashing from the DK didn't work; I was able to connect to the nf9160-DK (and it's on-board chip) but got the same error as with the Jlink:

    14:43:59.989
    Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
    14:44:00.178
    Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

    Simon/Wes, did that log file give any more information or insight?

    I checked both headers and with a DMM that each of the connections were made correctly from DK to custom board:

    P19 pin1: SWD0_SEL -> J5 pin1: VTref (confirmed powered at 3.3V)

    P19 p2: SWD0_IO -> J5 p2: SWDIO (going to 9160 pin 34)

    P19 p3 and 5: GND -> J5 pin 3, 5: GND

    P19 p4: SWD0_CLK -> J5 p4: SWDCLK (going to 9160 pin 33)

    P19 p6: SWD0_SWO -> J5 p6: SWO

    P19 p7, 8: N/C -> J5 p7, 8: N/C

    P19 p9: N/C -> J5 pin9: GND

    P19 p10: SWD0_RESET -> J5 p10: nRESET (going to 9160 pin 32 by way of a resistor)

    I also tried flashing with the DK using the command line tools and saved the log (attached below, appended to earlier log from Jlink).

    Is there anything else we can look into? I hate to think there could be a problem with this particular board; the only unusual thing I tried was flashing it with jflash lite (which failed). Could that have caused an issue?

    log_2024.07.29_3p.log

Children
No Data
Related