This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with nrfjprog 10.15.2

I've never been able to get >= 10.13.0 of the nrf tools working. The previous versions work fine on my x86 mac, but there are a series of problems with the newer tools. First, even when specifying the id of the board I want to talk to, the chooser still appears (e.x. nrfjprog -s 682176840 --log --deviceversion). Then when doing any operation that communicates with the board, the command will succeed but hang and have to be killed

Example:

$ nrfjprog -s 682176840 --log --deviceversion
NRF52832_xxAA_REV2

[2022-Jan-31 13:41:49] [ info] --------------------------------------------------------------------------------
[2022-Jan-31 13:41:49] [ info] nrfjprog --deviceversion -s 820101604 --log 
[2022-Jan-31 13:41:49] [ info] nrfjprog version 10.15.2 external
[2022-Jan-31 13:41:49] [ info] --------------------------------------------------------------------------------
[2022-Jan-31 13:41:49] [ info] Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib.
[2022-Jan-31 13:41:49] [ info] Library loaded, loading member functions.
[2022-Jan-31 13:41:49] [ info] Member functions succesfully loaded.
[2022-Jan-31 13:41:49] [debug] [ Client] - open
[2022-Jan-31 13:41:49] [debug] [ Client] - start
[2022-Jan-31 13:41:49] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 41db262f-6685-493d-be46-5dcf2e5f0b87.
[2022-Jan-31 13:41:49] [trace] [ Client] - Command open executed for 6 milliseconds with result 0
[2022-Jan-31 13:41:49] [debug] [ Client] - enum_emu_snr
[2022-Jan-31 13:41:49] [trace] [ Client] - Command enum_emu_con_info executed for 2 milliseconds with result 0
[2022-Jan-31 13:41:49] [debug] [ Client] - connect_to_emu_with_snr
[2022-Jan-31 13:41:49] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2022-Jan-31 13:41:49] [debug] [  JLink] - Logger sink registered in JLink logger
[2022-Jan-31 13:41:49] [debug] [  nRFXX] - open
[2022-Jan-31 13:41:49] [debug] [  nRFXX] - just_check_family
[2022-Jan-31 13:41:49] [debug] [SeggerBackend] - open_dll
[2022-Jan-31 13:41:49] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2022-Jan-31 13:41:49] [ info] [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.6.80.2.dylib.
[2022-Jan-31 13:41:49] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2022-Jan-31 13:41:49] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2022-Jan-31 13:41:49] [debug] [SeggerBackend] - dll_version
[2022-Jan-31 13:41:49] [ info] [SeggerBackend] - Segger dll version 6.80.b loaded.
...
[2022-Jan-31 13:58:55] [debug] [  nRF52] - close
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_IsOpen()  
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.005ms returns 0x01  
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_Lock()  
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - close
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - disconnect_from_emu
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - is_connected_to_device
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_IsConnected()  
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.003ms returns TRUE  
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.254ms returns 0  
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
[2022-Jan-31 13:58:55] [trace] [  JLink] - Value=0xF0000040
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.232ms returns 0  
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - Disable trace before closing connection.
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_write_u32
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_write_debug_port_register
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2022-Jan-31 13:58:55] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.206ms returns 0  
[2022-Jan-31 13:58:55] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jan-31 13:58:55] [trace] [  JLink] - - 0.216ms returns 0  
[2022-Jan-31 13:58:55] [trace] [ 

I can provide the full log but it's 3700 lines.

Thanks

Parents Reply Children
No Data
Related