This is an automated email from Gerrit. Hellosun Wu ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5338
-- gerrit commit a1523de40f7d46aa5236ba157aa402cf4b3de2e4 Author: Hellosun Wu <[email protected]> Date: Tue Oct 29 13:36:31 2019 +0800 tcl: Add support for NDS V5 target and xc7/Corvette-F1 The "Corvette-F1" is an Arduino-compatible evaluation plafrom, which fully supports AndesCore. The board has FTDI FT2232 to connected to FPGA's JTAG interface. The "ADP-XC7KFF676" is a development and prototyping board that provides capacity for evaluation of AndesCore processors. It works with AICE in-circuit debugging tools. This patch also include target/nds32v5.cfg to support AndesCore N22/N25F and AndeShape Platform AE250. Change-Id: I144d5063d5086d00ec44634a5028b5ea5d2eba33 Signed-off-by: Hellosun Wu <[email protected]> diff --git a/tcl/board/nds32_corvettef1.cfg b/tcl/board/nds32_corvettef1.cfg new file mode 100644 index 0000000..9b79820 --- /dev/null +++ b/tcl/board/nds32_corvettef1.cfg @@ -0,0 +1,14 @@ +adapter_khz 10000 + +interface ftdi +ftdi_device_desc "Dual RS232-HS" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0c08 0x0f1b +ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 +ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 +reset_config srst_only + +source [find target/nds32v5.cfg] + +jtag init diff --git a/tcl/board/nds32_xc7.cfg b/tcl/board/nds32_xc7.cfg new file mode 100644 index 0000000..188abac --- /dev/null +++ b/tcl/board/nds32_xc7.cfg @@ -0,0 +1,4 @@ +reset_config srst_only +source [find target/nds32v5.cfg] + +jtag init diff --git a/tcl/target/nds32v5.cfg b/tcl/target/nds32v5.cfg new file mode 100644 index 0000000..09a1bee --- /dev/null +++ b/tcl/target/nds32v5.cfg @@ -0,0 +1,14 @@ +# +# Andes Core +# +# http://www.andestech.com +# + + +set _CHIPNAME nds +jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563D + +set _TARGETNAME $_CHIPNAME.cpu +target create $_TARGETNAME riscv -chain-position $_TARGETNAME + +init -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
