This is an automated email from Gerrit.

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

-- gerrit

commit 3a7350bc661f27a76b47bf4e6caf43b3e6d0af2a
Author: Marc Schink <[email protected]>
Date:   Wed Jul 8 15:36:29 2020 +0200

    tcl/target: Add initial GigaDevice GD32VF103 support
    
    There is no flash bank support at the moment.
    
    Change-Id: I52a2bde39425d94d9333cda002e5df0a1ef63c08
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/tcl/target/gd32vf103.cfg b/tcl/target/gd32vf103.cfg
new file mode 100644
index 0000000..9bd20e0
--- /dev/null
+++ b/tcl/target/gd32vf103.cfg
@@ -0,0 +1,24 @@
+#
+# GigaDevice GD32VF103 target
+#
+
+transport select jtag
+
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME gd32vf103
+}
+
+if { [info exists WORKAREASIZE] } {
+   set _WORKAREASIZE $WORKAREASIZE
+} else {
+   set _WORKAREASIZE 0x800
+}
+
+jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME riscv -chain-position $_TARGETNAME
+
+$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 
$_WORKAREASIZE -work-area-backup 0

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to