# ftdi.cfg- config commands for ftdi support # Created by Paul George # Email id: commandpaul@gmail.com # Copyright (C) 2019 IIT Madras. All rights reserved. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # ftdi_device_desc "Arty On-board FTDI interface" adapter speed 1000 adapter driver ftdi ftdi_vid_pid 0x0403 0x6010 ftdi_channel 0 ftdi_layout_init 0x0088 0x008b reset_config none # debug_level 4 set _CHIPNAME riscv jtag newtap $_CHIPNAME cpu -irlen 6; # -expected-id 0x0362d093 set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1 riscv use_bscan_tunnel 5 1 init if {[ info exists pulse_srst]} { ftdi_set_signal nSRST 0 ftdi_set_signal nSRST z } halt