tcl/board/calao-usb-a9260: fix and refactor broken support
The old configuration files did not work because of a missing 'at91sam9260minimal.cfg' file. Also, the config files were placed wrongly. Update them, put them to the proper location, merge the two supported boards into one, remove now superfluous include, remove defunct web page, etc.. Tested with a Calao USB-A9G20 and a hacked 'device_desc' to match. Native support for it will come next. Signed-off-by: Wolfram Sang <wsa@kernel.org> Change-Id: Iec578c8777c5a6134e132dbac17c2988c7634742 Reviewed-on: https://review.openocd.org/c/openocd/+/7522 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
parent
e9a7221b68
commit
f0e8f7b790
|
@ -0,0 +1,14 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# CALAO Systems USB-A9260 (C01 and C02)
|
||||
|
||||
adapter driver ftdi
|
||||
ftdi device_desc "USB-A9260"
|
||||
ftdi vid_pid 0x0403 0x6001 0x0403 0x6010
|
||||
ftdi layout_init 0x0c08 0x0f1b
|
||||
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
|
||||
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
|
||||
|
||||
transport select jtag
|
||||
|
||||
source [find target/at91sam9260.cfg]
|
|
@ -1,12 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#
|
||||
# CALAO Systems USB-A9260 common -C01 -C02 setup
|
||||
#
|
||||
# http://www.calao-systems.com/
|
||||
#
|
||||
# See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg.
|
||||
#
|
||||
|
||||
adapter srst delay 200
|
||||
jtag_ntrst_delay 200
|
|
@ -1,24 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#
|
||||
# CALAO Systems USB-A9260-C01
|
||||
#
|
||||
# http://www.calao-systems.com/
|
||||
#
|
||||
|
||||
echo "WARNING!"
|
||||
echo "This file was not tested with real interface, but is assumed to work as this"
|
||||
echo "interface uses the same layout as configs that were verified. Please report your"
|
||||
echo "experience with this file to openocd-devel mailing list, so it could be marked"
|
||||
echo "as working or fixed."
|
||||
|
||||
adapter driver ftdi
|
||||
ftdi device_desc "USB-A9260"
|
||||
ftdi vid_pid 0x0403 0x6010
|
||||
|
||||
ftdi layout_init 0x0c08 0x0f1b
|
||||
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
|
||||
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
|
||||
|
||||
script interface/calao-usb-a9260.cfg
|
||||
script target/at91sam9260minimal.cfg
|
|
@ -1,24 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#
|
||||
# CALAO Systems USB-A9260-C02
|
||||
#
|
||||
# http://www.calao-systems.com/
|
||||
#
|
||||
|
||||
echo "WARNING!"
|
||||
echo "This file was not tested with real interface, but is assumed to work as this"
|
||||
echo "interface uses the same layout as configs that were verified. Please report your"
|
||||
echo "experience with this file to openocd-devel mailing list, so it could be marked"
|
||||
echo "as working or fixed."
|
||||
|
||||
adapter driver ftdi
|
||||
ftdi device_desc "USB-A9260"
|
||||
ftdi vid_pid 0x0403 0x6001
|
||||
|
||||
ftdi layout_init 0x0c08 0x0f1b
|
||||
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
|
||||
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
|
||||
|
||||
script interface/calao-usb-a9260.cfg
|
||||
script target/at91sam9260minimal.cfg
|
Loading…
Reference in New Issue