target/stm32f4x.cfg: Add STM32F410/F412/F469.
Taken from git://git.ac6.fr/openocd commit e8ed67c42227b7072a1e7 Change-Id: Iac106d4823123eaa96f16a975e7ecbcb24189924 Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on: http://openocd.zylin.com/3377 Tested-by: jenkins Reviewed-by: Stian Skjelstad <stian@nixia.no> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
parent
ae3e9aaba9
commit
4c670b9d64
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue