update doc/nativeJtag/usb_connect.cfg

This commit is contained in:
Dolu1990 2021-05-03 10:59:21 +02:00 committed by GitHub
parent f35d5cd2ba
commit a34d6ffb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 29 deletions

View File

@ -1,32 +1,14 @@
if [info exists env(SPINAL_SIM)] {
set SPINAL_SIM $::env(SPINAL_SIM)
} else {
set SPINAL_SIM no
}
interface ftdi
ftdi_device_desc "Digilent USB Device"
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 0
ftdi_layout_init 0x00e8 0x60eb
ftdi_tdo_sample_edge falling
reset_config none
adapter_khz 50000
source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg]
if {$SPINAL_SIM == "yes"} {
interface jtag_tcp
set _CHIPNAME fpga_spinal
set TAP_NAME $_CHIPNAME.bridge
set _CPUTAPID 0x10001fff
jtag newtap $_CHIPNAME bridge -expected-id $_CPUTAPID -irlen 4 -ircapture 0x1 -irmask 0xF
reset_config none
adapter_khz 50000
} else {
interface ftdi
ftdi_device_desc "Digilent USB Device"
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 0
ftdi_layout_init 0x00e8 0x60eb
ftdi_tdo_sample_edge falling
reset_config none
adapter_khz 50000
source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg]
set TAP_NAME xc7.tap
}
set TAP_NAME xc7.tap