rasyoung@vic2016:~/Desktop/Espruino build on E73-TBX/recent binaries/espruino_2v04_mdbt42q/contents$ adalink -v nrf52832 --programmer jlink --wipe --program-bin espruino_2v04_mdbt42q_app.bin 0x0000 INFO:adalink.programmers.jlink:Using path to JLinkExe: JLinkExe INFO:adalink.programmers.jlink:Using parameters to JLinkExe: -device nrf52832_xxaa -if swd -speed 1000 -autoconnect 1 DEBUG:adalink.programmers.jlink:Using script file name: /tmp/tmpyhFkDH DEBUG:adalink.programmers.jlink:Running JLink commands: connect q DEBUG:adalink.programmers.jlink:JLink response: SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:58:00) DLL version V6.62a, compiled Jan 31 2020 12:57:49 J-Link Command File read successfully. Processing script file... J-Link connection not established yet but required for command. Connecting to J-Link via USB...O.K. Firmware: J-Link EDU Mini V1 compiled Jan 7 2020 16:53:19 Hardware version: V1.00 S/N: 801002425 License(s): GDB, FlashBP VTref=3.295V Device "NRF52832_XXAA" selected. Connecting to target via SWD InitTarget() start InitTarget() end Found SW-DP with ID 0x2BA01477 DPIDR: 0x2BA01477 Scanning AP map to find all available APs AP[2]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x24770011) AP[1]: JTAG-AP (IDR: 0x02880000) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) Found Cortex-M4 r0p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM Cortex-M4 identified. Script processing completed. DEBUG:adalink.programmers.jlink:Using script file name: /tmp/tmpCY5PZS DEBUG:adalink.programmers.jlink:Running JLink commands: erase sleep 100 r q DEBUG:adalink.programmers.jlink:JLink response: SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:58:00) DLL version V6.62a, compiled Jan 31 2020 12:57:49 J-Link Command File read successfully. Processing script file... J-Link connection not established yet but required for command. Connecting to J-Link via USB...O.K. Firmware: J-Link EDU Mini V1 compiled Jan 7 2020 16:53:19 Hardware version: V1.00 S/N: 801002425 License(s): GDB, FlashBP VTref=3.297V Target connection not established yet but required for command. Device "NRF52832_XXAA" selected. Connecting to target via SWD InitTarget() start InitTarget() end Found SW-DP with ID 0x2BA01477 DPIDR: 0x2BA01477 Scanning AP map to find all available APs AP[2]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x24770011) AP[1]: JTAG-AP (IDR: 0x02880000) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) Found Cortex-M4 r0p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM Cortex-M4 identified. Erasing device... Comparing flash [100%] Done. Erasing flash [100%] Done. J-Link: Flash download: Total time needed: 0.061s (Prepare: 0.043s, Compare: 0.000s, Erase: 0.009s, Program: 0.000s, Verify: 0.000s, Restore: 0.008s) Erasing done. Sleep(100) Reset delay: 0 ms Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit. Reset: Halt core after reset via DEMCR.VC_CORERESET. Reset: Reset device via AIRCR.SYSRESETREQ. Script processing completed. DEBUG:adalink.programmers.jlink:Using script file name: /tmp/tmpqUGX4M DEBUG:adalink.programmers.jlink:Running JLink commands: r loadbin "/home/rasyoung/Desktop/Espruino build on E73-TBX/recent binaries/espruino_2v04_mdbt42q/contents/espruino_2v04_mdbt42q_app.bin" 0x00000000 r g q DEBUG:adalink.programmers.jlink:JLink response: SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:58:00) DLL version V6.62a, compiled Jan 31 2020 12:57:49 J-Link Command File read successfully. Processing script file... J-Link connection not established yet but required for command. Connecting to J-Link via USB...O.K. Firmware: J-Link EDU Mini V1 compiled Jan 7 2020 16:53:19 Hardware version: V1.00 S/N: 801002425 License(s): GDB, FlashBP VTref=3.296V Target connection not established yet but required for command. Device "NRF52832_XXAA" selected. Connecting to target via SWD InitTarget() start InitTarget() end Found SW-DP with ID 0x2BA01477 DPIDR: 0x2BA01477 Scanning AP map to find all available APs AP[2]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x24770011) AP[1]: JTAG-AP (IDR: 0x02880000) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) Found Cortex-M4 r0p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM Cortex-M4 identified. Reset delay: 0 ms Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit. Reset: Halt core after reset via DEMCR.VC_CORERESET. Reset: Reset device via AIRCR.SYSRESETREQ. Downloading file [/home/rasyoung/Desktop/Espruino build on E73-TBX/recent binaries/espruino_2v04_mdbt42q/contents/espruino_2v04_mdbt42q_app.bin]... Comparing flash [100%] Done. Erasing flash [100%] Done. Programming flash [100%] Done. Verifying flash [100%] Done. J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (303104 bytes) J-Link: Flash download: Total time needed: 5.370s (Prepare: 0.044s, Compare: 0.039s, Erase: 0.000s, Program: 5.267s, Verify: 0.010s, Restore: 0.008s) O.K. Reset delay: 0 ms Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit. Reset: Halt core after reset via DEMCR.VC_CORERESET. Reset: Reset device via AIRCR.SYSRESETREQ. Script processing completed. rasyoung@vic2016:~/Desktop/Espruino build on E73-TBX/recent binaries/espruino_2v04_mdbt42q/contents$