This is an automated email from Gerrit. Masaki Muranaka ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2780
-- gerrit commit 4b5456f4eeaac793c112c4e8a8a1d3a88ce8f9e9 Author: Masaki Muranaka <[email protected]> Date: Sun May 24 09:52:25 2015 +0900 Support new target "Renesas R-IN32M3". Cortex-M3 based micro cotroller. Change-Id: I7c21ae07eb24f8ee3e6404d69c4e5f14e529c19e Signed-off-by: Masaki Muranaka <[email protected]> diff --git a/tcl/target/r_in32m3.cfg b/tcl/target/r_in32m3.cfg new file mode 100644 index 0000000..610953e --- /dev/null +++ b/tcl/target/r_in32m3.cfg @@ -0,0 +1,50 @@ +# Renesas R-IN32M3 + +source [find target/swj-dp.tcl] + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME r_in32m3 +} + +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { + set _ENDIAN little +} + +if { [info exists CPUTAPID] } { + set _CPUTAPID $CPUTAPID +} else { + set _CPUTAPID 0x4ba00477 +} + +# delays on reset lines +adapter_nsrst_delay 100 +if {[using_jtag]} { + jtag_ntrst_delay 100 +} + +# Renesas R-IN32M3 reset configuration +reset_config trst_only + +swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID + +set _TARGETNAME $_CHIPNAME.cpu +target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME + +# R-IN32M3 has 768kB of SRAM on its main system bus +$_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0xC0000 -work-area-backup 0 + +# serial SPI capable flash +# flash bank <driver> <base> <size> <chip_width> <bus_width> + +# 4MHz / 6 = 666kHz, so use 500 +adapter_khz 500 + +if {![using_hla]} { + # if srst is not fitted use SYSRESETREQ to + # perform a soft reset + cortex_m reset_config sysresetreq +} -- ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
