add openocd configurations and flash script

This commit is contained in:
Joachim Steiger 2019-02-21 16:17:28 +01:00
parent 0e18df5ba6
commit 02bb2bc825
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# use jtag lock pick tiny 2 as interface
source [find interface/ftdi/jtag-lock-pick_tiny_2.cfg]
# use swd
transport select swd
# samd11 target
source [find target/at91samdXX.cfg]
#default init
init
targets
reset halt

View File

@ -0,0 +1,13 @@
# use versaloon as interface
source [find interface/vsllink.cfg]
# use swd
transport select swd
# samd11 target
source [find target/at91samdXX.cfg]
#default init
init
targets
reset halt

View File

@ -0,0 +1,4 @@
#!/bin/sh
openocd -f openocd.cfg -c "program ../make/build/osmo-clkgen.bin 0 verify; reset; exit"

View File

@ -0,0 +1,4 @@
#!/bin/sh
openocd -f openocd.cfg -c ""