1
0
Fork 0
zynq-rs/openocd/kasli_soc.cfg

29 lines
644 B
INI
Raw Permalink Normal View History

2021-06-25 17:01:02 +08:00
adapter driver ftdi
2021-05-28 18:44:07 +08:00
ftdi_device_desc "Quad RS232-HS"
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0
# some GPIOs need to be set, otherwise the FTDI chip craps out for some reason.
ftdi_layout_init 0x0098 0x008b
transport select jtag
2021-06-25 17:01:02 +08:00
adapter speed 1000
set PL_TAPID 0x1372c093
set SMP 1
source ./zynq-7000.cfg
2021-05-29 12:17:59 +08:00
ftdi_layout_signal nSRST -oe 0x0004
reset_config srst_only srst_open_drain
2021-06-25 17:01:02 +08:00
adapter srst pulse_width 250
adapter srst delay 400
source ./common.cfg
2021-05-29 12:17:59 +08:00
reset halt
# Disable MMU
targets $_TARGETNAME_1
2021-12-03 18:42:45 +08:00
arm mcr 15 0 1 0 0 [expr { [arm mrc 15 0 1 0 0] & ~0xd }]
targets $_TARGETNAME_0
2021-12-03 18:42:45 +08:00
arm mcr 15 0 1 0 0 [expr { [arm mrc 15 0 1 0 0] & ~0xd }]