summaryrefslogtreecommitdiffstats
path: root/usb/openocd.conf
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-09-09 20:15:21 -0400
committerBrian Cully <bjc@kublai.com>2019-09-09 20:45:08 -0400
commitc1422f40d1ec9f77cc72c9425e67e97150bb2f52 (patch)
treec1756087df282369ba856b1c384ef061af12f63e /usb/openocd.conf
parentfdd4cfd1eb4995c192184aaa6ff073cee50852cb (diff)
downloadbleusb-c1422f40d1ec9f77cc72c9425e67e97150bb2f52.tar.gz
bleusb-c1422f40d1ec9f77cc72c9425e67e97150bb2f52.zip
Convert to workspace.
Diffstat (limited to 'usb/openocd.conf')
-rw-r--r--usb/openocd.conf14
1 files changed, 11 insertions, 3 deletions
diff --git a/usb/openocd.conf b/usb/openocd.conf
index 586c517..d1557f7 100644
--- a/usb/openocd.conf
+++ b/usb/openocd.conf
@@ -2,10 +2,18 @@ gdb_port 3334
telnet_port 4445
tcl_port 6667
-source [find interface/stlink-v2.cfg]
-set TRANSPORT stlink_jtag
+source [find interface/stlink.cfg]
+transport select hla_swd
+
+set CHIPNAME at91samd21e18a
set CPUTAPID 0x0bc11477
source [find target/at91samdXX.cfg]
adapter_khz 3750
-reset_config srst_only srst_nogate
+#adapter_khz 300
+adapter_nsrst_delay 100
+adapter_nsrst_assert_width 100
+reset_config srst_nogate
+
+init
+reset halt