IMAX B6 clone with M0517 cpu over openocd
[openocd-rpi2-stm32] / pihdmi-rpi2.cfg
index ff05380..ba936ed 100644 (file)
@@ -24,7 +24,8 @@ bcm2835gpio_speed_coeffs 146203 36
 # Each of the SWD lines need a gpio number set: swclk swdio
 # Header pin numbers: 23 22
 #bcm2835gpio_swd_nums 11 25
-bcm2835gpio_swd_nums 18 27
+# swd gpio pins      swclk swio
+bcm2835gpio_swd_nums 27    18
 
 # If you define trst or srst, use appropriate reset_config
 # Header pin numbers: TRST - 26, SRST - 18
@@ -40,3 +41,11 @@ bcm2835gpio_swd_nums 18 27
 
 adapter speed 100
 transport select swd
+
+## test which chip this is
+#swd newdap chip cpu -enable
+#dap create chip.dap -chain-position chip.cpu
+#target create chip.cpu cortex_m -dap chip.dap
+#
+#init
+