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

Error with nrf52DK and mac OS HS

Hello I'm using a macbookPro 2016 which only has usb-c and I can only connect the dk through a usb hub.

I have already installed the nrf5x-Command Line Tools for OSX but when I make the command nrfjprog --recover --log it gives me the error of:

BUG: 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.

Here is the generated log, can you help me? Thank you

--------------------------------------------------------------------------------
/Users/navarrocantero/Downloads/nRF5x-Command-Line-Tools_9_7_3_OSX/nrfjprog/nrfjprog --recover --log
nrfjprog version 9.7.3
--------------------------------------------------------------------------------
nRF_open_dll
. nRFXX_open_dll
. . nRFXX_dll_version
nRF_enum_emu_snr
. nRFXX_enum_emu_snr
nRF_enum_emu_snr
. nRFXX_enum_emu_snr
nRF_connect_to_emu_with_snr
. nRFXX_connect_to_emu_with_snr
. . nRFXX_is_connected_to_emu
. . nRFXX_connect_to_emu_without_snr
. . . nRFXX_is_connected_to_emu
. . . nRFXX_enum_emu_snr
. . nRFXX_connect_to_emu_without_snr: JLink: Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 12 2018 16:05:20
. . nRFXX_connect_to_emu_without_snr: JLink: Hardware: V1.00
. . nRFXX_connect_to_emu_without_snr: JLink: S/N: 682438930
. . nRFXX_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
. . nRFXX_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
. . nRFXX_connect_to_emu_without_snr: JLink: (0017ms, 0021ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:006
. . nRFXX_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19080
. . nRFXX_connect_to_emu_without_snr: JLink: (0017ms, 0021ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:006
. . nRFXX_connect_to_emu_without_snr: JLink: returns O.K.
. . nRFXX_connect_to_emu_without_snr: JLink: (0018ms, 0022ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:024
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x00
. . nRFXX_connect_to_emu_without_snr: JLink: (0002ms, 0024ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:026
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
. . nRFXX_connect_to_emu_without_snr: JLink: XML file found at: /Applications/SEGGER/JLink/JLinkDevices.xml
. . nRFXX_connect_to_emu_without_snr: JLink: (0231ms, 0256ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:027
. . nRFXX_connect_to_emu_without_snr: JLink: /Applications/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
. . nRFXX_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
. . nRFXX_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x00
. . nRFXX_connect_to_emu_without_snr: JLink: (0265ms, 0290ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:292
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x01
. . nRFXX_connect_to_emu_without_snr: JLink: (0001ms, 0291ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:293
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x00
. . nRFXX_connect_to_emu_without_snr: JLink: (0000ms, 0291ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:293
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x01
. . nRFXX_connect_to_emu_without_snr: JLink: (0000ms, 0291ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:293
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x00
. . nRFXX_connect_to_emu_without_snr: JLink: (0000ms, 0292ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:294
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
. . nRFXX_connect_to_emu_without_snr: JLink: returns 0x00
. . nRFXX_connect_to_emu_without_snr: JLink: (0003ms, 0295ms total)
. . nRFXX_connect_to_emu_without_snr: JLink: T93684380 000:298
. . nRFXX_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
. . nRFXX_connect_to_emu_without_snr: JLink: (0000ms, 0296ms total)
nRF_read_connected_emu_snr
. nRFXX_read_connected_emu_snr
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu: JLink: T93684380 000:299
. . nRFXX_is_connected_to_emu: JLink: JLINK_IsOpen()
. . nRFXX_is_connected_to_emu: JLink: returns 0x01
. . nRFXX_is_connected_to_emu: JLink: (0000ms, 0296ms total)
nRF_read_device_family
. nRFXX_read_device_family
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu: JLink: T93684380 000:299
. . nRFXX_is_connected_to_emu: JLink: JLINK_IsOpen()
. . nRFXX_is_connected_to_emu: JLink: returns 0x01
. . nRFXX_is_connected_to_emu: JLink: (0000ms, 0296ms total)
. . nRFXX_read_access_port_register
. . . nRFXX_coresight_configure
. . . nRFXX_coresight_configure: JLink: T93684380 000:300
. . . nRFXX_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
. . . nRFXX_coresight_configure: JLink: returns 0
. . . nRFXX_coresight_configure: JLink: (0102ms, 0398ms total)
. . . nRFXX_power_debug_and_system_regions
. . . . nRFXX_write_debug_port_register
. . . . nRFXX_write_debug_port_register: JLink: T93684380 000:403
. . . . nRFXX_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
. . . . nRFXX_write_debug_port_register: JLink: returns -1
. . . . nRFXX_write_debug_port_register: JLink: (0001ms, 0400ms total)
. . . . nRFXX_write_debug_port_register: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

. . . nRFXX_power_debug_and_system_regions: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

nRF_close_dll
. nRFXX_close_dll
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu: JLink: T93684380 000:405
. . nRFXX_is_connected_to_emu: JLink: JLINK_IsOpen()
. . nRFXX_is_connected_to_emu: JLink: returns 0x01
. . nRFXX_is_connected_to_emu: JLink: (0000ms, 0400ms total)
. . nRFXX_disconnect_from_emu
. . nRFXX_disconnect_from_emu: JLink: T93684380 000:414
. . nRFXX_disconnect_from_emu: JLink: JLINK_Close()

Parents
  • -Could you try to download this file

    -Put the DK in bootloader mode

    -Copy the file over

    -wait 10 seconds

    -Then power cycle the board 

     

    Could you also try with another computer to see try to narrow the issue down?

  • Tested, and again the same result :( 

    I have alredy tested in three diferents computers, precisely for that, to narrow the error. 

    Can the nrf58323 be broken or blocked? In that case, how could you prove it convincingly?

    Thanks again !

Reply
  • Tested, and again the same result :( 

    I have alredy tested in three diferents computers, precisely for that, to narrow the error. 

    Can the nrf58323 be broken or blocked? In that case, how could you prove it convincingly?

    Thanks again !

Children
No Data