Files
OpenCellular/util/openocd/lm4_chip.cfg
Myles Watson 050db0510e flash_ec: add support for SWD, nrf51, and hadoken
BUG=none
TEST=manual
BRANCH=none

flash_ec --board=hadoken
flash_ec --board=npcx_evb
flash_ec --board=samus

Use openocd in SWD mode to flash the nRF51 chip.

Use warm_reset to exit DEBUG mode.

Change-Id: Iaf2827d4ce5be6d61431a3de7ab4f86aa4adde02
Signed-off-by: Myles Watson <mylesgw@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/287039
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2015-08-04 19:22:12 +00:00

12 lines
183 B
INI

ftdi_layout_init 0x0018 0x009b
# open collector oe only
ftdi_layout_signal nSRST -oe 0x0020
reset_config trst_only
source [find target/stellaris.cfg]
source [find lm4x_cmds.tcl]