mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-24 18:46:24 +00:00
5ae0264055
Change-Id: I05e8596ffacdb6cd8da4dd8a40bb460183f4930a Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7728 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
30 lines
740 B
INI
30 lines
740 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Gowin FPGA IDCODEs
|
|
# from JTAG Programming and Configuration Guide
|
|
# http://cdn.gowinsemi.com.cn/TN653E.pdf
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $CHIPNAME
|
|
} else {
|
|
set _CHIPNAME gw1n
|
|
}
|
|
|
|
jtag newtap $_CHIPNAME tap -irlen 8 -ignore-version \
|
|
-expected-id 0x0900281B \
|
|
-expected-id 0x0900381B \
|
|
-expected-id 0x0100681B \
|
|
-expected-id 0x0300081B \
|
|
-expected-id 0x0300181B \
|
|
-expected-id 0x0120681B \
|
|
-expected-id 0x0100381B \
|
|
-expected-id 0x1100381B \
|
|
-expected-id 0x0100981B \
|
|
-expected-id 0x1100581B \
|
|
-expected-id 0x1100481B \
|
|
-expected-id 0x0100181B \
|
|
-expected-id 0x1100181B \
|
|
-expected-id 0x0100481B
|
|
|
|
pld create $_CHIPNAME.pld gowin -chain-position $_CHIPNAME.tap
|