X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Finterface%2Fftdi%2Fflyswatter2.cfg;h=ebc00fe60171b8b3cfccf0ab2c4eb1595f508eaa;hb=3bccc77999175494ceb534c172475e509ff99189;hp=7d57e436b9cf1045473891c242cb06c897ff63be;hpb=b8862229d01c803142388d8456473b908fee22ea;p=fw%2Fopenocd diff --git a/tcl/interface/ftdi/flyswatter2.cfg b/tcl/interface/ftdi/flyswatter2.cfg index 7d57e436b..ebc00fe60 100644 --- a/tcl/interface/ftdi/flyswatter2.cfg +++ b/tcl/interface/ftdi/flyswatter2.cfg @@ -1,18 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # -# TinCanTools Flyswatter 2 +# TinCanTools Flyswatter2 # -# http://www.tincantools.com/product.php?productid=16134 +# https://www.tincantools.com/product/flyswatter2/ # -echo "WARNING!" -echo "This file was not tested with real interface, it is based on code in ft2232.c." -echo "Please report your experience with this file to openocd-devel mailing list," -echo "so it could be marked as working or fixed." - -interface ftdi -ftdi_device_desc "Flyswatter2" -ftdi_vid_pid 0x0403 0x6010 +adapter driver ftdi +ftdi device_desc "Flyswatter2" +ftdi vid_pid 0x0403 0x6010 -ftdi_layout_init 0x0818 0x017b -ftdi_layout_signal nTRST -data 0x0010 -ftdi_layout_signal nSRST -noe 0x0020 +ftdi layout_init 0x0538 0x057b +ftdi layout_signal LED -ndata 0x0400 +ftdi layout_signal nTRST -data 0x0010 +ftdi layout_signal nSRST -data 0x0020 -noe 0x0100