This is an automated email from Gerrit.

Heinz Schweiger ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/1868

-- gerrit

commit 6f97848900bd1447871dc75e62e30767809f527a
Author: Heinz Schweiger <[email protected]>
Date:   Sun Jan 12 11:31:58 2014 +0100

    topic: Tiva-Snowflake target
    
    Using tiva nor flash driver
    (for TI Tiva C dk-tm4c129x Evaluation Kits)
    
    Change-Id: I44c172ce69f0bbb9b54d6af55ba94f9e9d9700ec
    Signed-off-by: Heinz Schweiger <[email protected]>

diff --git a/tcl/target/tiva_icdi.cfg b/tcl/target/tiva_icdi.cfg
new file mode 100755
index 0000000..8c00e79
--- /dev/null
+++ b/tcl/target/tiva_icdi.cfg
@@ -0,0 +1,34 @@
+#
+# tiva snowflake icdi pseudo target
+#
+
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME lm3s
+}
+
+# Work-area is a space in RAM used for flash programming
+# By default use 16kB
+if { [info exists WORKAREASIZE] } {
+   set _WORKAREASIZE $WORKAREASIZE
+} else {
+   set _WORKAREASIZE 0x4000
+}
+
+#
+# possible value are hla_jtag
+# currently swd is not supported
+#
+transport select hla_jtag
+
+# do not check id as icdi currently does not support it
+hla newtap $_CHIPNAME cpu -expected-id 0
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME hla_target -chain-position $_TARGETNAME
+
+$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 
$_WORKAREASIZE -work-area-backup 0
+
+# flash configuration ... autodetects sizes, autoprobed
+flash bank $_CHIPNAME.flash tiva 0 0 0 0 $_TARGETNAME

-- 

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to