2024-08-14 04:52:21 +08:00
|
|
|
# The contents of this file are partially dependend on
|
|
|
|
# the adapter that you have. Please modify accordingly.
|
|
|
|
adapter driver ftdi
|
|
|
|
ftdi vid_pid 0x0403 0x6010
|
|
|
|
ftdi channel 0
|
|
|
|
# Every pin set as high impedance except TCK, TDI, TDO and TMS
|
2024-09-30 23:37:50 +08:00
|
|
|
ftdi layout_init 0x0008 0x000b
|
2024-08-14 04:52:21 +08:00
|
|
|
|
|
|
|
# nSRST defined on pin CN2-13 of the MiniModule (pin ADBUS5 [AD5] on the FT2232H chip)
|
|
|
|
# This choice is arbitrary. Use other GPIO pin if desired.
|
|
|
|
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
|
|
|
|
|
|
|
|
transport select jtag
|
|
|
|
adapter speed 10000
|
|
|
|
|
|
|
|
set PL_TAPID 0x13722093
|
|
|
|
set SMP 1
|
|
|
|
|
|
|
|
source ./zynq-7000.cfg
|
|
|
|
|
|
|
|
reset_config srst_only srst_open_drain
|
|
|
|
adapter srst pulse_width 250
|
|
|
|
adapter srst delay 400
|
|
|
|
|
|
|
|
source ./common.cfg
|
|
|
|
|
|
|
|
reset halt
|
|
|
|
|
|
|
|
# Disable MMU
|
|
|
|
targets $_TARGETNAME_1
|
|
|
|
arm mcr 15 0 1 0 0 [expr { [arm mrc 15 0 1 0 0] & ~0xd }]
|
|
|
|
targets $_TARGETNAME_0
|
|
|
|
arm mcr 15 0 1 0 0 [expr { [arm mrc 15 0 1 0 0] & ~0xd }]
|