Do you have application for merging bootloader + software Device + application into 1 hex file?
Do you have application for merging bootloader + software Device + application into 1 hex file?
Download the nRF Command Line Tools and use the merghex tool to merge the files. Look at chapter 3 in the nRF5x Command Line Tools User Guide for instructions how to use it.
Best regards,
Simon
I have issue when programming.
C:\Project2019\nrf-command-line-tools\bin>nrfjprog.exe -f NRF52 --program output.hex --chiperase
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.
C:\Project2019\nrf-command-line-tools\bin>nrfjprog.exe -f NRF52 --program output.hex --chiperase
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.
C:\Project2019\nrf-command-line-tools\bin>
Try running the same command again, with --log at the end. Then upload the log in this ticket and I will take a look at it.
Best regards,
Simon
Try running the same command again, with --log at the end. Then upload the log in this ticket and I will take a look at it.
Best regards,
Simon
C:\Project2019\Pedal_Master\nrf-command-line-tools\bin>nrfjprog.exe -f NRF52 --program output.hex --chiperase --log
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.
C:\Project2019\Pedal_Master\nrf-command-line-tools\bin>
Hi Simon,
My PC is running window 10
C:\Project2019\Pedal_Master\nrf-command-line-tools\bin>nrfjprog.exe -f NRF52 --program output.hex --chiperase --log
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.
C:\Project2019\Pedal_Master\nrf-command-line-tools\bin>
Regards,
David
After you run:
C:\Project2019\Pedal_Master\nrf-command-line-tools\bin>nrfjprog.exe -f NRF52 --program output.hex --chiperase --log
Look for the file C:\Project2019\Pedal_Master\nrf-command-line-tools\bin\log.log, and upload the content of it in this ticket.
Best regards,
Simon
2019-Oct-23 07:20:26 -------------------------------------------------------------------------------- 2019-Oct-23 07:20:26 nrfjprog.exe -f NRF52 --program output.hex --chiperase --log 2019-Oct-23 07:20:26 nrfjprog version 10.4.0 2019-Oct-23 07:20:26 -------------------------------------------------------------------------------- 2019-Oct-23 07:20:26 nRF_logger_open 2019-Oct-23 07:20:26 nRF_logger_open: nRFJProg logger opened to callback at address 0X8AF2A0 2019-Oct-23 07:20:26 nRF_open_dll 2019-Oct-23 07:20:26 nRF_open_dll: Load library at "C:\\Project2019\\Pedal_Master\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2019-Oct-23 07:20:26 . nRF52_logger_open 2019-Oct-23 07:20:26 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X666DC770 2019-Oct-23 07:20:26 . nRF52_open_dll 2019-Oct-23 07:20:26 . . Segger_logger_open 2019-Oct-23 07:20:26 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X6669D670 2019-Oct-23 07:20:26 . . Segger_open_dll 2019-Oct-23 07:20:26 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll". 2019-Oct-23 07:20:26 . . . Segger_dll_version 2019-Oct-23 07:20:26 . . Segger_set_core_data 2019-Oct-23 07:20:26 nRF_enum_emu_snr 2019-Oct-23 07:20:26 . nRF52_enum_emu_snr 2019-Oct-23 07:20:26 . . Segger_enum_emu_snr 2019-Oct-23 07:20:26 . . . Segger_enum_emu_snr 2019-Oct-23 07:20:26 . . . . Segger_get_num_emus 2019-Oct-23 07:20:26 nRF_enum_emu_snr 2019-Oct-23 07:20:26 . nRF52_enum_emu_snr 2019-Oct-23 07:20:27 . . Segger_enum_emu_snr 2019-Oct-23 07:20:27 . . . Segger_enum_emu_snr 2019-Oct-23 07:20:27 . . . . Segger_get_num_emus 2019-Oct-23 07:20:27 nRF_connect_to_emu_with_snr 2019-Oct-23 07:20:27 . nRF52_connect_to_emu_with_snr 2019-Oct-23 07:20:27 . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:20:27 . . . Segger_is_connected_to_emu 2019-Oct-23 07:20:27 . . . Segger_enum_emu_snr 2019-Oct-23 07:20:27 . . . . Segger_get_num_emus 2019-Oct-23 07:20:27 . . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x1718213120. 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V8.00 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0139ms, 0162ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0149ms, 0172ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns O.K. 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0151ms, 0174ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0176ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x01 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0179ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0180ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0184ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0185ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0002ms, 0188ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0190ms total) 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLinkARM.dll GetSN returned error -1. 2019-Oct-23 07:20:27 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Close() 2019-Oct-23 07:20:27 nRF_close_dll 2019-Oct-23 07:20:27 . nRF52_close_dll 2019-Oct-23 07:20:27 . . Segger_close 2019-Oct-23 07:20:27 . . . Segger_disconnect_from_emu 2019-Oct-23 07:20:27 . . . . Segger_is_connected_to_emu 2019-Oct-23 07:20:27 . . Segger_close: Freeing Library. 2019-Oct-23 07:20:27 nRF_close_dll: Freeing Library. 2019-Oct-23 07:21:16 -------------------------------------------------------------------------------- 2019-Oct-23 07:21:16 nrfjprog.exe -f NRF52 --program output.hex --chiperase --log 2019-Oct-23 07:21:16 nrfjprog version 10.4.0 2019-Oct-23 07:21:16 -------------------------------------------------------------------------------- 2019-Oct-23 07:21:16 nRF_logger_open 2019-Oct-23 07:21:16 nRF_logger_open: nRFJProg logger opened to callback at address 0X8AF2A0 2019-Oct-23 07:21:16 nRF_open_dll 2019-Oct-23 07:21:16 nRF_open_dll: Load library at "C:\\Project2019\\Pedal_Master\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2019-Oct-23 07:21:16 . nRF52_logger_open 2019-Oct-23 07:21:16 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X666DC770 2019-Oct-23 07:21:16 . nRF52_open_dll 2019-Oct-23 07:21:16 . . Segger_logger_open 2019-Oct-23 07:21:16 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X6669D670 2019-Oct-23 07:21:16 . . Segger_open_dll 2019-Oct-23 07:21:16 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll". 2019-Oct-23 07:21:16 . . . Segger_dll_version 2019-Oct-23 07:21:16 . . Segger_set_core_data 2019-Oct-23 07:21:16 nRF_enum_emu_snr 2019-Oct-23 07:21:16 . nRF52_enum_emu_snr 2019-Oct-23 07:21:16 . . Segger_enum_emu_snr 2019-Oct-23 07:21:16 . . . Segger_enum_emu_snr 2019-Oct-23 07:21:16 . . . . Segger_get_num_emus 2019-Oct-23 07:21:16 nRF_enum_emu_snr 2019-Oct-23 07:21:16 . nRF52_enum_emu_snr 2019-Oct-23 07:21:16 . . Segger_enum_emu_snr 2019-Oct-23 07:21:16 . . . Segger_enum_emu_snr 2019-Oct-23 07:21:16 . . . . Segger_get_num_emus 2019-Oct-23 07:21:16 nRF_connect_to_emu_with_snr 2019-Oct-23 07:21:16 . nRF52_connect_to_emu_with_snr 2019-Oct-23 07:21:16 . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:21:16 . . . Segger_is_connected_to_emu 2019-Oct-23 07:21:16 . . . Segger_enum_emu_snr 2019-Oct-23 07:21:16 . . . . Segger_get_num_emus 2019-Oct-23 07:21:16 . . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x1718213120. 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V8.00 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0075ms, 0096ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0076ms, 0097ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns O.K. 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0079ms, 0100ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0103ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x01 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0105ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0107ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0107ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0110ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0002ms, 0112ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0114ms total) 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLinkARM.dll GetSN returned error -1. 2019-Oct-23 07:21:17 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Close() 2019-Oct-23 07:21:17 nRF_close_dll 2019-Oct-23 07:21:17 . nRF52_close_dll 2019-Oct-23 07:21:17 . . Segger_close 2019-Oct-23 07:21:17 . . . Segger_disconnect_from_emu 2019-Oct-23 07:21:17 . . . . Segger_is_connected_to_emu 2019-Oct-23 07:21:17 . . Segger_close: Freeing Library. 2019-Oct-23 07:21:17 nRF_close_dll: Freeing Library. 2019-Oct-23 07:40:47 -------------------------------------------------------------------------------- 2019-Oct-23 07:40:47 nrfjprog.exe -f NRF52 --program output.hex --chiperase --log 2019-Oct-23 07:40:47 nrfjprog version 10.4.0 2019-Oct-23 07:40:47 -------------------------------------------------------------------------------- 2019-Oct-23 07:40:47 nRF_logger_open 2019-Oct-23 07:40:47 nRF_logger_open: nRFJProg logger opened to callback at address 0X75F2A0 2019-Oct-23 07:40:47 nRF_open_dll 2019-Oct-23 07:40:47 nRF_open_dll: Load library at "C:\\Project2019\\Pedal_Master\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2019-Oct-23 07:40:47 . nRF52_logger_open 2019-Oct-23 07:40:47 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X5EDFC770 2019-Oct-23 07:40:47 . nRF52_open_dll 2019-Oct-23 07:40:47 . . Segger_logger_open 2019-Oct-23 07:40:47 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X5EDBD670 2019-Oct-23 07:40:47 . . Segger_open_dll 2019-Oct-23 07:40:47 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll". 2019-Oct-23 07:40:47 . . . Segger_dll_version 2019-Oct-23 07:40:47 . . Segger_set_core_data 2019-Oct-23 07:40:47 nRF_enum_emu_snr 2019-Oct-23 07:40:47 . nRF52_enum_emu_snr 2019-Oct-23 07:40:47 . . Segger_enum_emu_snr 2019-Oct-23 07:40:47 . . . Segger_enum_emu_snr 2019-Oct-23 07:40:47 . . . . Segger_get_num_emus 2019-Oct-23 07:40:47 nRF_enum_emu_snr 2019-Oct-23 07:40:47 . nRF52_enum_emu_snr 2019-Oct-23 07:40:47 . . Segger_enum_emu_snr 2019-Oct-23 07:40:47 . . . Segger_enum_emu_snr 2019-Oct-23 07:40:47 . . . . Segger_get_num_emus 2019-Oct-23 07:40:47 nRF_connect_to_emu_with_snr 2019-Oct-23 07:40:47 . nRF52_connect_to_emu_with_snr 2019-Oct-23 07:40:47 . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:40:47 . . . Segger_is_connected_to_emu 2019-Oct-23 07:40:47 . . . Segger_enum_emu_snr 2019-Oct-23 07:40:47 . . . . Segger_get_num_emus 2019-Oct-23 07:40:47 . . . Segger_connect_to_emu_with_snr 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x1591466496. 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V8.00 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0088ms, 0107ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0091ms, 0110ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns O.K. 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0092ms, 0111ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0112ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x01 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0114ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0002ms, 0116ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0117ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0118ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0119ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0119ms total) 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLinkARM.dll GetSN returned error -1. 2019-Oct-23 07:40:47 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Close() 2019-Oct-23 07:40:47 nRF_close_dll 2019-Oct-23 07:40:47 . nRF52_close_dll 2019-Oct-23 07:40:47 . . Segger_close 2019-Oct-23 07:40:47 . . . Segger_disconnect_from_emu 2019-Oct-23 07:40:47 . . . . Segger_is_connected_to_emu 2019-Oct-23 07:40:47 . . Segger_close: Freeing Library. 2019-Oct-23 07:40:47 nRF_close_dll: Freeing Library. 2019-Oct-28 07:22:37 -------------------------------------------------------------------------------- 2019-Oct-28 07:22:37 nrfjprog.exe -f NRF52 --program output.hex --chiperase --log 2019-Oct-28 07:22:37 nrfjprog version 10.4.0 2019-Oct-28 07:22:37 -------------------------------------------------------------------------------- 2019-Oct-28 07:22:37 nRF_logger_open 2019-Oct-28 07:22:37 nRF_logger_open: nRFJProg logger opened to callback at address 0X87F2A0 2019-Oct-28 07:22:37 nRF_open_dll 2019-Oct-28 07:22:37 nRF_open_dll: Load library at "c:\\Project2019\\Pedal_Master\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2019-Oct-28 07:22:37 . nRF52_logger_open 2019-Oct-28 07:22:37 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X6A6CC770 2019-Oct-28 07:22:37 . nRF52_open_dll 2019-Oct-28 07:22:37 . . Segger_logger_open 2019-Oct-28 07:22:37 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X6A68D670 2019-Oct-28 07:22:37 . . Segger_open_dll 2019-Oct-28 07:22:37 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll". 2019-Oct-28 07:22:37 . . . Segger_dll_version 2019-Oct-28 07:22:37 . . Segger_set_core_data 2019-Oct-28 07:22:37 nRF_enum_emu_snr 2019-Oct-28 07:22:37 . nRF52_enum_emu_snr 2019-Oct-28 07:22:37 . . Segger_enum_emu_snr 2019-Oct-28 07:22:37 . . . Segger_enum_emu_snr 2019-Oct-28 07:22:37 . . . . Segger_get_num_emus 2019-Oct-28 07:22:37 nRF_enum_emu_snr 2019-Oct-28 07:22:37 . nRF52_enum_emu_snr 2019-Oct-28 07:22:37 . . Segger_enum_emu_snr 2019-Oct-28 07:22:37 . . . Segger_enum_emu_snr 2019-Oct-28 07:22:37 . . . . Segger_get_num_emus 2019-Oct-28 07:22:37 nRF_connect_to_emu_with_snr 2019-Oct-28 07:22:37 . nRF52_connect_to_emu_with_snr 2019-Oct-28 07:22:37 . . Segger_connect_to_emu_with_snr 2019-Oct-28 07:22:37 . . . Segger_is_connected_to_emu 2019-Oct-28 07:22:37 . . . Segger_enum_emu_snr 2019-Oct-28 07:22:37 . . . . Segger_get_num_emus 2019-Oct-28 07:22:37 . . . Segger_connect_to_emu_with_snr 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x1785256448. 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V8.00 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0146ms, 0173ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0147ms, 0174ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns O.K. 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0148ms, 0175ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0003ms, 0178ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x01 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0179ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0180ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0180ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0180ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO returns 0x00 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0000ms, 0181ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO (0001ms, 0182ms total) 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLinkARM.dll GetSN returned error -1. 2019-Oct-28 07:22:37 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Close() 2019-Oct-28 07:22:37 nRF_close_dll 2019-Oct-28 07:22:37 . nRF52_close_dll 2019-Oct-28 07:22:37 . . Segger_close 2019-Oct-28 07:22:37 . . . Segger_disconnect_from_emu 2019-Oct-28 07:22:37 . . . . Segger_is_connected_to_emu 2019-Oct-28 07:22:37 . . Segger_close: Freeing Library. 2019-Oct-28 07:22:37 nRF_close_dll: Freeing Library.
Do you have a custom board? If not, could you try the suggestions listed below and upload the hex file as well, such that I can test it out on an nRF52810 DK myself.
Here are some suggestions on what you can try:
Best regards,
Simon