From 4c670b9d6498b944c70e5a314c3057202fd89ff6 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 2 Mar 2016 13:29:47 +0100 Subject: [PATCH] target/stm32f4x.cfg: Add STM32F410/F412/F469. Taken from git://git.ac6.fr/openocd commit e8ed67c42227b7072a1e7 Change-Id: Iac106d4823123eaa96f16a975e7ecbcb24189924 Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/3377 Tested-by: jenkins Reviewed-by: Stian Skjelstad Reviewed-by: Andreas Fritiofson --- tcl/target/stm32f4x.cfg | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg index 14fc2ffb..2d5cf372 100644 --- a/tcl/target/stm32f4x.cfg +++ b/tcl/target/stm32f4x.cfg @@ -54,12 +54,22 @@ if { [info exists BSTAPID] } { # See STM Document RM0383 (Rev 2) # STM32F411 set _BSTAPID5 0x06431041 + # See STM Document RM0386 + # STM32F469 + set _BSTAPID6 0x06434041 + # See STM Document RM0401 + # STM32F410 + set _BSTAPID7 0x06458041 + # STM32F412 + set _BSTAPID8 0x06441041 } if {[using_jtag]} { swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 \ -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 \ - -expected-id $_BSTAPID4 -expected-id $_BSTAPID5 + -expected-id $_BSTAPID4 -expected-id $_BSTAPID5 \ + -expected-id $_BSTAPID6 -expected-id $_BSTAPID7 \ + -expected-id $_BSTAPID8 } set _TARGETNAME $_CHIPNAME.cpu -- 2.39.5