This is an automated email from Gerrit. Andrey Skvortsov ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2221
-- gerrit commit ce06ddb4ed78a66b079cd2d8815c31f9d85e4400 Author: Andrey Skvortsov <[email protected]> Date: Wed Jul 16 16:59:25 2014 +0400 tcl: target: add support for MDR32F9Q2I over SWD using STLINK Change-Id: I7050d923d6d008be03249c203e4446734b5f5a03 Signed-off-by: Andrey Skvortsov <[email protected]> diff --git a/tcl/target/mdr32f9q2i_stlink.cfg b/tcl/target/mdr32f9q2i_stlink.cfg new file mode 100644 index 0000000..b19074e --- /dev/null +++ b/tcl/target/mdr32f9q2i_stlink.cfg @@ -0,0 +1,37 @@ +# MDR32F9Q2I (1986ВЕ92У) +# http://milandr.ru/index.php?mact=Products,cntnt01,details,0&cntnt01productid=57&cntnt01returnid=68 + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME mdr32f9q2i +} + +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { + set _ENDIAN little +} + +# Work-area is a space in RAM used for flash programming +if { [info exists WORKAREASIZE] } { + set _WORKAREASIZE $WORKAREASIZE +} else { + set _WORKAREASIZE 0x8000 +} + +# tapid for swd (is different from jtag) +set CPUTAPID 0x2ba01477 + +source [find target/stm32_stlink.cfg] + +# stm32f0x family uses stm32f1x driver +set _FLASHNAME $_CHIPNAME.flash + +# can't handle overlapping memory regions +if { [info exists IMEMORY] && [string equal $IMEMORY true] } { + flash bank ${_CHIPNAME}_info.flash mdr 0x08000000 0x01000 0 0 $_TARGETNAME 1 1 4 +} else { + flash bank $_CHIPNAME.flash mdr 0x08000000 0x20000 0 0 $_TARGETNAME 0 32 4 +} + -- ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
