This is an automated email from Gerrit. Uwe Bonnes ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2395
-- gerrit commit 08a4e6998883250b9d5249e9c77244244cb58d07 Author: Uwe Bonnes <[email protected]> Date: Fri Nov 21 13:24:33 2014 +0100 stm32f0x.cfg: Recognize all stm32f0 devices know so long. Change-Id: Ie40f5f8a1e69893d7b517f7306fc33ee7e99a279 Signed-off-by: Uwe Bonnes <[email protected]> diff --git a/tcl/target/stm32f0x.cfg b/tcl/target/stm32f0x.cfg index 79ea095..d304758 100644 --- a/tcl/target/stm32f0x.cfg +++ b/tcl/target/stm32f0x.cfg @@ -36,6 +36,28 @@ if { [info exists CPUTAPID] } { swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID +if { [info exists BSTAPID] } { + set _BSTAPID $BSTAPID +} else { + # See STM Document RM0091 (Rev. 7) + # Section 32.1.1 + # STM32F03x + set _BSTAPID1 0x06444041 + # STM32F04x + set _BSTAPID2 0x06445041 + # STM32F05x + set _BSTAPID3 0x06440041 + # STM32F07x + set _BSTAPID4 0x06448041 + # STM32F09x + set _BSTAPID5 0x06442041 +} + +if {[using_jtag]} { + swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 \ + -expected-id $_BSTAPID3 -expected-id $_BSTAPID4 -expected-id $_BSTAPID5 +} + set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME -- ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
