diff options
author | Fabio Utzig <utzig@utzig.org> | 2015-04-29 20:03:18 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2015-04-29 20:03:18 -0300 |
commit | dff7bf1b09e3efe70b5c654664cff5d5cb0cb1db (patch) | |
tree | 3b969b1f1d020f9a0d8f676e16b1cafe59acb172 /demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg | |
parent | 7aae03409bcfb7bd8cca78626ebf872c310ab17c (diff) | |
download | ChibiOS-Contrib-dff7bf1b09e3efe70b5c654664cff5d5cb0cb1db.tar.gz ChibiOS-Contrib-dff7bf1b09e3efe70b5c654664cff5d5cb0cb1db.tar.bz2 ChibiOS-Contrib-dff7bf1b09e3efe70b5c654664cff5d5cb0cb1db.zip |
Add initial demo for WVSHARE BLE400
Diffstat (limited to 'demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg')
-rw-r--r-- | demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg b/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg new file mode 100644 index 0000000..1cb3a16 --- /dev/null +++ b/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg @@ -0,0 +1,15 @@ +source [find interface/stlink-v2.cfg] + +set _CHIPNAME nrf51 +set _TARGETNAME $_CHIPNAME.cpu +set _CPUTAPID 0x0bb11477 +set _WORKAREASIZE 0x4000 + +transport select hla_swd +hla newtap $_CHIPNAME cpu -expected-id $_CPUTAPID +target create $_TARGETNAME hla_target -chain-position $_TARGETNAME + +$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 + +flash bank $_CHIPNAME.flash nrf51 0x00000000 0 1 1 $_TARGETNAME +flash bank $_CHIPNAME.uicr nrf51 0x10001000 0 1 1 $_TARGETNAME |