Hi,
I have made a custom board with u-blox bmd-340-A-R-01 module and trying to erase the flash with PCA10040 DK. I am getting error when I try: nrfjprof -e. Please find the attached log and guide me in figuring out the problem.
Thanks,
Venkat.
2020-Jun-26 13:57:23 -------------------------------------------------------------------------------- 2020-Jun-26 13:57:23 nrfjprog --eraseall --log 2020-Jun-26 13:57:23 nrfjprog version 10.9.0 2020-Jun-26 13:57:23 -------------------------------------------------------------------------------- 2020-Jun-26 13:57:23 nRF_logger_open 2020-Jun-26 13:57:23 nRF_logger_open: nRFJProg logger opened to callback at address 0X7FF7B48833C0 2020-Jun-26 13:57:23 nRF_open_dll 2020-Jun-26 13:57:23 nRF_open_dll: Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_UNKNOWN_NRFJPROG.dll". 2020-Jun-26 13:57:23 . nRFXX_logger_open 2020-Jun-26 13:57:23 . nRFXX_logger_open: nRFJProg logger opened to callback at address 0X7FFB48ACE520 2020-Jun-26 13:57:23 . . Segger_logger_open 2020-Jun-26 13:57:23 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7FFB3643F490 2020-Jun-26 13:57:23 . . Segger_open_dll 2020-Jun-26 13:57:23 . . Segger_open_dll: No J-Link DLL path was provided. Attempting to auto detect. 2020-Jun-26 13:57:23 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll". 2020-Jun-26 13:57:23 . . . Segger_dll_version 2020-Jun-26 13:57:23 . . Segger_set_core_data 2020-Jun-26 13:57:23 nRF_enum_emu_snr 2020-Jun-26 13:57:23 . nRFXX_enum_emu_snr 2020-Jun-26 13:57:23 . . Segger_enum_emu_snr 2020-Jun-26 13:57:23 . . . Segger_enum_emu_snr 2020-Jun-26 13:57:23 . . . . Segger_get_num_emus 2020-Jun-26 13:57:23 nRF_connect_to_emu_with_snr 2020-Jun-26 13:57:23 . nRFXX_connect_to_emu_with_snr 2020-Jun-26 13:57:23 . . Segger_connect_to_emu_with_snr 2020-Jun-26 13:57:23 . . . Segger_is_connected_to_emu 2020-Jun-26 13:57:23 . . . Segger_enum_emu_snr 2020-Jun-26 13:57:23 . . . . Segger_get_num_emus 2020-Jun-26 13:57:23 . . . Segger_connect_to_emu_with_snr 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x140716923942960. 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:103.705 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:119.232 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V1.00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:131.052 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO S/N: 682683554 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:142.702 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO OEM: SEGGER 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:153.410 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:167.322 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:179.558 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:189.213 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:198.718 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 103.887ms returns O.K. 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:207.713 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:217.020 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 14.051ms returns 0x00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:226.701 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:235.576 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 4.762ms returns 0x01 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:245.008 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:253.939 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.085ms returns 0x00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:263.543 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:272.678 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 4.702ms returns 0x00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:281.991 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:291.702 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 14.235ms returns 0 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:300.614 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:310.778 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 14.797ms returns 0x00 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:320.244 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO T2F18 000:329.525 2020-Jun-26 13:57:23 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 13.631ms 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:343.186 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...). 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:352.372 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO - 4.753ms returns 0x00 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:361.703 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("device = Cortex-M4", ...). 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:380.326 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:391.082 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:444.113 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO Device "CORTEX-M4" selected. 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO T2F18 000:458.324 2020-Jun-26 13:57:23 . . . . . Segger_load_core_data: JLink INFO - 92.124ms returns 0x00 2020-Jun-26 13:57:23 nRF_read_connected_emu_snr 2020-Jun-26 13:57:23 . nRFXX_read_connected_emu_snr 2020-Jun-26 13:57:23 . . Segger_read_connected_emu_snr 2020-Jun-26 13:57:24 . . . Segger_is_connected_to_emu 2020-Jun-26 13:57:24 . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:489.197 2020-Jun-26 13:57:24 . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jun-26 13:57:24 . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:499.031 2020-Jun-26 13:57:24 . . . Segger_is_connected_to_emu: JLink INFO - 14.248ms returns 0x01 2020-Jun-26 13:57:24 nRF_read_device_family 2020-Jun-26 13:57:24 . nRFXX_read_device_family 2020-Jun-26 13:57:24 . . Segger_is_connected_to_emu 2020-Jun-26 13:57:24 . . Segger_is_connected_to_emu: JLink INFO T2F18 000:522.025 2020-Jun-26 13:57:24 . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jun-26 13:57:24 . . Segger_is_connected_to_emu: JLink INFO T2F18 000:531.587 2020-Jun-26 13:57:24 . . Segger_is_connected_to_emu: JLink INFO - 14.226ms returns 0x01 2020-Jun-26 13:57:24 . . : JLink INFO T2F18 000:541.605 2020-Jun-26 13:57:24 . . : JLink INFO JLINK_Lock() 2020-Jun-26 13:57:24 . . Segger_read_debug_port_idr 2020-Jun-26 13:57:24 . . . Segger_read_debug_port_register 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register 2020-Jun-26 13:57:24 . . . . . Segger_coresight_configure 2020-Jun-26 13:57:24 . . . . . Segger_coresight_configure: JLink INFO T2F18 000:570.045 2020-Jun-26 13:57:24 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure() 2020-Jun-26 13:57:24 . . . . . Segger_coresight_configure: JLink INFO T2F18 000:680.168 2020-Jun-26 13:57:24 . . . . . Segger_coresight_configure: JLink INFO - 119.314ms returns 0 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO T2F18 000:695.711 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00) 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO T2F18 000:705.933 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO failed 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO T2F18 000:715.218 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLink INFO - 24.088ms returns -1 2020-Jun-26 13:57:24 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: JLink INFO T2F18 000:739.489 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: JLink INFO T2F18 000:749.576 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: JLink INFO - 14.695ms returns -1 2020-Jun-26 13:57:24 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jun-26 13:57:24 . . : JLink INFO T2F18 000:763.469 2020-Jun-26 13:57:24 . . : JLink INFO JLINK_Unlock() 2020-Jun-26 13:57:24 nRF_close_dll 2020-Jun-26 13:57:24 . nRFXX_close_dll 2020-Jun-26 13:57:24 . . Segger_close 2020-Jun-26 13:57:24 . . . Segger_disconnect_from_emu 2020-Jun-26 13:57:24 . . . . Segger_is_connected_to_emu 2020-Jun-26 13:57:24 . . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:798.428 2020-Jun-26 13:57:24 . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jun-26 13:57:24 . . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:813.315 2020-Jun-26 13:57:24 . . . . Segger_is_connected_to_emu: JLink INFO - 22.884ms returns 0x01 2020-Jun-26 13:57:24 . . . . Segger_disconnect_from_emu 2020-Jun-26 13:57:24 . . . . . Segger_is_connected_to_device 2020-Jun-26 13:57:24 . . . . . Segger_is_connected_to_device: JLink INFO T2F18 000:840.735 2020-Jun-26 13:57:24 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected() 2020-Jun-26 13:57:24 . . . . . Segger_is_connected_to_device: JLink INFO T2F18 000:850.065 2020-Jun-26 13:57:24 . . . . . Segger_is_connected_to_device: JLink INFO - 13.891ms returns FALSE 2020-Jun-26 13:57:24 . . . . . Segger_is_debug_region_powered 2020-Jun-26 13:57:24 . . . . . . Segger_read_debug_port_register 2020-Jun-26 13:57:24 . . . . . . . Segger_is_connected_to_emu 2020-Jun-26 13:57:24 . . . . . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:873.684 2020-Jun-26 13:57:24 . . . . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jun-26 13:57:24 . . . . . . . Segger_is_connected_to_emu: JLink INFO T2F18 000:883.086 2020-Jun-26 13:57:24 . . . . . . . Segger_is_connected_to_emu: JLink INFO - 13.924ms returns 0x01 2020-Jun-26 13:57:24 . . . . . . Segger_read_debug_port_register: JLink INFO T2F18 000:892.596 2020-Jun-26 13:57:24 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Lock() 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register: JLink INFO T2F18 000:907.569 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register: JLink INFO T2F18 000:917.833 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register: JLink INFO - 14.970ms returns -1 2020-Jun-26 13:57:24 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: JLink INFO T2F18 000:952.325 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: JLink INFO T2F18 000:964.983 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: JLink INFO - 17.753ms returns -1 2020-Jun-26 13:57:24 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jun-26 13:57:24 . . . . . . Segger_read_debug_port_register: JLink INFO T2F18 000:979.441 2020-Jun-26 13:57:24 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Unlock() 2020-Jun-26 13:57:24 . . . . Segger_disconnect_from_emu: JLink INFO T2F18 001:015.980 2020-Jun-26 13:57:24 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close() 2020-Jun-26 13:57:24 . . Segger_close: Freeing Library. 2020-Jun-26 13:57:24 nRF_close_dll: Freeing Library.