openocd/tcl/interface/ftdi/imx8mp-evk.cfg
Marc Schink 7c38f24529 tcl: Adapt config files to new ftdi command syntax
The patch was created automatically using the following
script:

%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---
(cat << EOF
ftdi_device_desc ftdi device_desc
ftdi_serial ftdi serial
ftdi_channel ftdi channel
ftdi_layout_init ftdi layout_init
ftdi_layout_signal ftdi layout_signal
ftdi_set_signal ftdi set_signal
ftdi_get_signal ftdi get_signal
ftdi_vid_pid ftdi vid_pid
ftdi_tdo_sample_edge ftdi tdo_sample_edge
EOF
) | while read a b; do
sed -i "s/$a/$b/g" $(find tcl -type f -name "*.cfg" )
done
%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---

Change-Id: Iff781f37bb5511b7e15cbe6dcdf6d28e89fb174f
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/6333
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-07-20 14:51:20 +01:00

29 lines
884 B
INI

#
# Configuration file for NXP MC-IMX8MP-EVK on-board internal JTAG
#
# Using this interface requires enabling "remote mode" for the board using the
# NXP bcu tool (see https://github.com/NXPmicro/bcu)
#
# bcu set_gpio remote_en 1 -board=imx8mpevk
#
# The REMOTE_EN gpio is accessible through the same FTDI adapter but it's
# behind an I2C GPIO expander.
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6011
ftdi channel 0
ftdi layout_init 0x00f8 0x000b
ftdi layout_signal RESET_B -data 0x0010 -oe 0x0010
# Called SYS_nRST in schematics
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
ftdi layout_signal IO_nRST -data 0x0040 -oe 0x0040
ftdi layout_signal ONOFF_B -data 0x0080 -oe 0x0080
ftdi layout_signal GPIO1 -data 0x0100 -oe 0x0100
ftdi layout_signal GPIO2 -data 0x0200 -oe 0x0200
ftdi layout_signal GPIO3 -data 0x0400 -oe 0x0400
ftdi layout_signal GPIO4 -data 0x0800 -oe 0x0800