diff options
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | 2014-11-06 16:31:21 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-11-24 22:27:52 +0000 |
commit | 41a968ec055c309d2eb669c20f831e169b4dc2e2 (patch) | |
tree | c839a1bda36a2f0a2a973fb412931cbe676ee95a | |
parent | c4b52f8fd7b06f8cec5db5cdf33fd984a255ceaa (diff) | |
download | riscv-openocd-41a968ec055c309d2eb669c20f831e169b4dc2e2.zip riscv-openocd-41a968ec055c309d2eb669c20f831e169b4dc2e2.tar.gz riscv-openocd-41a968ec055c309d2eb669c20f831e169b4dc2e2.tar.bz2 |
tcl/target/stm32f4x: add F401 and F411 IDs
Change-Id: I12079586dafb8a7614bdf4cc0b13cd5030301742
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2379
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r-- | tcl/target/stm32f4x.cfg | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg index 7e593e6..ecd39de 100644 --- a/tcl/target/stm32f4x.cfg +++ b/tcl/target/stm32f4x.cfg @@ -49,11 +49,20 @@ if { [info exists BSTAPID] } { set _BSTAPID1 0x06413041 # STM32F42xxx and STM32F43xxx set _BSTAPID2 0x06419041 + # See STM Document RM0368 (Rev. 3) + # STM32F401B/C + set _BSTAPID3 0x06423041 + # STM32F401D/E + set _BSTAPID4 0x06433041 + # See STM Document RM0383 (Rev 2) + # STM32F411 + set _BSTAPID5 0x06431041 } if {[using_jtag]} { swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 \ - -expected-id $_BSTAPID2 + -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 \ + -expected-id $_BSTAPID4 -expected-id $_BSTAPID5 } set _TARGETNAME $_CHIPNAME.cpu |