aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorFredrik Hederstierna <fredrik@hederstierna.com>2014-06-13 00:29:43 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2014-07-10 21:19:35 +0000
commite03eb89cfb7ee7a952bf8536ae1a4e7f2087d766 (patch)
tree09ac267af25e30dc2e90f3170376bb6731685593 /tcl
parent333df54fb70601559806d991d5a59c80b1943b5e (diff)
downloadriscv-openocd-e03eb89cfb7ee7a952bf8536ae1a4e7f2087d766.zip
riscv-openocd-e03eb89cfb7ee7a952bf8536ae1a4e7f2087d766.tar.gz
riscv-openocd-e03eb89cfb7ee7a952bf8536ae1a4e7f2087d766.tar.bz2
tcl/board: add STM32429I-EVAL and STM32439I-EVAL dev boards from ST.
Change-Id: I304b6e7bae832391f11d53003299d68e31b0e4ef Signed-off-by: Fredrik Hederstierna <fredrik@hederstierna.com> Reviewed-on: http://openocd.zylin.com/2171 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Franck Jullien <franck.jullien@gmail.com> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/stm32429i_eval.cfg11
-rw-r--r--tcl/board/stm32429i_eval_stlink.cfg18
-rw-r--r--tcl/board/stm32439i_eval.cfg11
-rw-r--r--tcl/board/stm32439i_eval_stlink.cfg18
4 files changed, 58 insertions, 0 deletions
diff --git a/tcl/board/stm32429i_eval.cfg b/tcl/board/stm32429i_eval.cfg
new file mode 100644
index 0000000..a5d3f53
--- /dev/null
+++ b/tcl/board/stm32429i_eval.cfg
@@ -0,0 +1,11 @@
+# STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F429NIH6
+
+source [find target/stm32f4x.cfg]
diff --git a/tcl/board/stm32429i_eval_stlink.cfg b/tcl/board/stm32429i_eval_stlink.cfg
new file mode 100644
index 0000000..ad3ea80
--- /dev/null
+++ b/tcl/board/stm32429i_eval_stlink.cfg
@@ -0,0 +1,18 @@
+# STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F429NIH6
+
+source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/stm32439i_eval.cfg b/tcl/board/stm32439i_eval.cfg
new file mode 100644
index 0000000..8ebdc82
--- /dev/null
+++ b/tcl/board/stm32439i_eval.cfg
@@ -0,0 +1,11 @@
+# STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F439NIH6
+
+source [find target/stm32f4x.cfg]
diff --git a/tcl/board/stm32439i_eval_stlink.cfg b/tcl/board/stm32439i_eval_stlink.cfg
new file mode 100644
index 0000000..5b57e1a
--- /dev/null
+++ b/tcl/board/stm32439i_eval_stlink.cfg
@@ -0,0 +1,18 @@
+# STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F439NIH6
+
+source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate