This is an automated email from Gerrit. Andreas Färber ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3851
-- gerrit commit 95d5060ed79486aee2759cd48e8cda11e14971c8 Author: Andreas Färber <[email protected]> Date: Tue Nov 1 15:19:25 2016 +0100 tcl/target: Add Realtek RTL8195 config Tested with the Ameba RTL8195 board (CMSIS-DAP SWD). Change-Id: I4e011f47de1df28076e89e696f5a907b6a7348b6 Signed-off-by: Andreas Färber <[email protected]> diff --git a/tcl/target/rtl8195.cfg b/tcl/target/rtl8195.cfg new file mode 100644 index 0000000..a68a0b1 --- /dev/null +++ b/tcl/target/rtl8195.cfg @@ -0,0 +1,41 @@ +# +# Realtek RTL8195 (ARM Cortex-M3 @ up to 166 MHz) +# + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME rtl8195 +} + +source [find target/swj-dp.tcl] + +if { [info exists CPU_JTAG_TAPID] } { + set _CPU_JTAG_TAPID $CPU_JTAG_TAPID +} else { + # TODO Verify TAPID + set _CPU_JTAG_TAPID 0x4BA00477 +} + +if { [info exists CPU_SWD_TAPID] } { + set _CPU_SWD_TAPID $CPU_SWD_TAPID +} else { + set _CPU_SWD_TAPID 0x2ba01477 +} + +if { [using_jtag] } { + set _CPU_TAPID $_CPU_JTAG_TAPID +} else { + set _CPU_TAPID $_CPU_SWD_TAPID +} + +swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID + +set _TARGETNAME $_CHIPNAME.cpu +target create $_TARGETNAME cortex_m -endian little -chain-position $_TARGETNAME + +if { ![using_hla] } { + cortex_m reset_config sysresetreq +} + +adapter_khz 500 -- ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
