Skip to content

Instantly share code, notes, and snippets.

Created December 6, 2019 13:30
What would you like to do?
⇒ west flash --runner jlink --device NRF52832_XXAA
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner jlink
WARNING: Runner jlink is not configured for use with nrf52832_mdk, this may not work
-- runners.jlink: Flashing file: /home/argz/Development/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/zephyr.bin
SEGGER J-Link Commander V6.54c (Compiled Nov 7 2019 17:05:53)
DLL version V6.54c, compiled Nov 7 2019 17:05:41
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 V9 compiled Jun 2 2222 22:22:22
Hardware version: V9.40
S/N: 59401308
License(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
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
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/argz/Development/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/zephyr.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 (12288 bytes)
J-Link: Flash download: Total time needed: 0.247s (Prepare: 0.023s, Compare: 0.002s, Erase: 0.007s, Program: 0.209s, Verify: 0.000s, Restore: 0.004s)
Script processing completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment