Added dongle VSLLINK - from Simon Qian
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 02:56:55 +0000 (02:56 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 02:56:55 +0000 (02:56 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1280 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in
doc/openocd.texi
src/Makefile.am
src/jtag/Makefile.am
src/jtag/jtag.c
testing/build.test1/Makefile.openocd

index afacbf68d963c1f80b3b379cc6e48c5848bab71a..8f3bbdf129ed8bc1480badc3617be26a8521a006 100644 (file)
@@ -156,8 +156,8 @@ esac
 )
 
 AC_ARG_ENABLE(gccwarnings,
 )
 
 AC_ARG_ENABLE(gccwarnings,
-       AS_HELP_STRING([--enable-gccwarnings], [Enable compiler warnings, default no]),
-       [gcc_warnings=$enableval], [gcc_warnings=no])
+       AS_HELP_STRING([--enable-gccwarnings], [Enable compiler warnings, default yes]),
+       [gcc_warnings=$enableval], [gcc_warnings=yes])
 
 AC_ARG_ENABLE(parport,
   AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]), 
 
 AC_ARG_ENABLE(parport,
   AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]), 
@@ -243,6 +243,10 @@ AC_ARG_ENABLE(jlink,
   AS_HELP_STRING([--enable-jlink], [Enable building support for the Segger J-Link JTAG Programmer]),
   [build_jlink=$enableval], [build_jlink=no])
 
   AS_HELP_STRING([--enable-jlink], [Enable building support for the Segger J-Link JTAG Programmer]),
   [build_jlink=$enableval], [build_jlink=no])
 
+AC_ARG_ENABLE(vsllink,
+  AS_HELP_STRING([--enable-vsllink], [Enable building support for the Versaloon-Link JTAG Programmer]),
+  [build_vsllink=$enableval], [build_vsllink=no])
+
 AC_ARG_ENABLE(rlink,
   AS_HELP_STRING([--enable-rlink], [Enable building support for the Raisonance RLink JTAG Programmer]),
   [build_rlink=$enableval], [build_rlink=no])
 AC_ARG_ENABLE(rlink,
   AS_HELP_STRING([--enable-rlink], [Enable building support for the Raisonance RLink JTAG Programmer]),
   [build_rlink=$enableval], [build_rlink=no])
@@ -412,6 +416,12 @@ else
   AC_DEFINE(BUILD_JLINK, 0, [0 if you don't want the J-Link JTAG driver.])
 fi
 
   AC_DEFINE(BUILD_JLINK, 0, [0 if you don't want the J-Link JTAG driver.])
 fi
 
+if test $build_vsllink = yes; then
+  AC_DEFINE(BUILD_VSLLINK, 1, [1 if you want the Versaloon-Link JTAG driver.])
+else
+  AC_DEFINE(BUILD_VSLLINK, 0, [0 if you don't want the Versaloon-Link JTAG driver.])
+fi
+
 if test $build_rlink = yes; then
   AC_DEFINE(BUILD_RLINK, 1, [1 if you want the RLink JTAG driver.])
 else
 if test $build_rlink = yes; then
   AC_DEFINE(BUILD_RLINK, 1, [1 if you want the RLink JTAG driver.])
 else
@@ -631,6 +641,7 @@ AM_CONDITIONAL(PRESTO_FTD2XX, test $build_presto_ftd2xx = yes)
 AM_CONDITIONAL(USBPROG, test $build_usbprog = yes)
 AM_CONDITIONAL(OOCD_TRACE, test $build_oocd_trace = yes)
 AM_CONDITIONAL(JLINK, test $build_jlink = yes)
 AM_CONDITIONAL(USBPROG, test $build_usbprog = yes)
 AM_CONDITIONAL(OOCD_TRACE, test $build_oocd_trace = yes)
 AM_CONDITIONAL(JLINK, test $build_jlink = yes)
+AM_CONDITIONAL(VSLLINK, test $build_vsllink = yes)
 AM_CONDITIONAL(RLINK, test $build_rlink = yes)
 AM_CONDITIONAL(IS_CYGWIN, test $is_cygwin = yes)
 AM_CONDITIONAL(IS_MINGW, test $is_mingw = yes)
 AM_CONDITIONAL(RLINK, test $build_rlink = yes)
 AM_CONDITIONAL(IS_CYGWIN, test $is_cygwin = yes)
 AM_CONDITIONAL(IS_MINGW, test $is_mingw = yes)
index fdbed6b59e26eee59ecca237875931b6c6a951c5..70e8c93c3d8ec306674b4854557ac98102efdaf2 100644 (file)
@@ -222,6 +222,8 @@ should be included:
 @item
 @option{--enable-jlink} - From SEGGER
 @item
 @item
 @option{--enable-jlink} - From SEGGER
 @item
+@option{--enable-vsllink}
+@item
 @option{--enable-rlink} - Raisonance.com dongle.
 @end itemize
 
 @option{--enable-rlink} - Raisonance.com dongle.
 @end itemize
 
@@ -395,6 +397,9 @@ Raisonance has an adapter called @b{RLink}.  It exists in a stripped-down form o
 
 @item @b{USB - Presto} 
 @* Link: @url{http://tools.asix.net/prg_presto.htm}
 
 @item @b{USB - Presto} 
 @* Link: @url{http://tools.asix.net/prg_presto.htm}
+
+@item @b{Versaloon-Link}
+@* Link: @url{http://www.simonqian.com/en/Versaloon}
 @end itemize
 
 @section IBM PC Parallel Printer Port Based
 @end itemize
 
 @section IBM PC Parallel Printer Port Based
@@ -1140,6 +1145,9 @@ libusb.
 
 @item @b{rlink}
 @* Raisonance RLink usb adapter
 
 @item @b{rlink}
 @* Raisonance RLink usb adapter
+
+@item @b{vsllink}
+@* vsllink is part of Versaloon which is a versatile USB programmer.
 @comment - End parameters
 @end itemize
 @comment - End Interface
 @comment - End parameters
 @end itemize
 @comment - End Interface
index b254291785e3d3a547dd07144c439af1c98133b3..0e0f50e480e713e181ec55af7d679833b3971ccf 100644 (file)
@@ -50,10 +50,14 @@ else
 if RLINK
 LIBUSB = -lusb
 else
 if RLINK
 LIBUSB = -lusb
 else
+if VSLLINK
+LIBUSB = -lusb
+else
 LIBUSB =
 endif
 endif
 endif
 LIBUSB =
 endif
 endif
 endif
+endif
 
 
 
 
 
 
index 0c5812964ca41a33aebc156c48f94bc8c70dfed1..8bb0ea21af6768e7acd16e3c7277d348c86194c5 100644 (file)
@@ -96,7 +96,13 @@ else
 RLINKFILES =
 endif
 
 RLINKFILES =
 endif
 
+if VSLLINK
+VSLLINKFILES = vsllink.c
+else
+VSLLINKFILES =
+endif
+
 libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \
 libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \
-       $(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES)
+       $(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES) $(VSLLINKFILES)
 
 noinst_HEADERS = bitbang.h jtag.h
 
 noinst_HEADERS = bitbang.h jtag.h
index 16dbbd22f0248fe90689d8a73b865809ee8a57b2..48921ebc4c67f8830925da7fad1931c8e5a3d0c0 100644 (file)
@@ -196,6 +196,10 @@ static int hasKHz = 0;
        extern jtag_interface_t jlink_interface;
 #endif
 
        extern jtag_interface_t jlink_interface;
 #endif
 
+#if BUILD_VSLLINK == 1
+       extern jtag_interface_t vsllink_interface;
+#endif
+
 #if BUILD_RLINK == 1
        extern jtag_interface_t rlink_interface;
 #endif
 #if BUILD_RLINK == 1
        extern jtag_interface_t rlink_interface;
 #endif
@@ -237,6 +241,9 @@ jtag_interface_t *jtag_interfaces[] = {
 #if BUILD_JLINK == 1
        &jlink_interface,
 #endif
 #if BUILD_JLINK == 1
        &jlink_interface,
 #endif
+#if BUILD_VSLLINK == 1
+       &vsllink_interface,
+#endif
 #if BUILD_RLINK == 1
        &rlink_interface,
 #endif
 #if BUILD_RLINK == 1
        &rlink_interface,
 #endif
index dbe8ac10eb660b4130092a7b74d8fc6723f0b57d..6b0cb56ff0f8188a3a99f93a78f050c541ad4830 100755 (executable)
@@ -40,7 +40,7 @@ MINGW32_EASY_PERMUTATIONS += ftd2xx
 CONFIG_OPTIONS_win32_libftdi  = --enable-parport --enable-ft2232_libftdi
 
 # Default build for win32... is the ftd2xx type build.
 CONFIG_OPTIONS_win32_libftdi  = --enable-parport --enable-ft2232_libftdi
 
 # Default build for win32... is the ftd2xx type build.
-PERMUTE_win32          ?= $(BUILD_SYSNAME)_ftd2xx
+PERMUTE_win32          ?= ftd2xx
 CONFIG_OPTIONS_win32   ?= $(CONFIG_OPTIONS_win32_$(PERMUTE_win32))
 CONFIG_OPTIONS_cygwin   = $(CONFIG_OPTIONS_win32)
 CONFIG_OPTIONS_mingw32  = $(CONFIG_OPTIONS_win32)
 CONFIG_OPTIONS_win32   ?= $(CONFIG_OPTIONS_win32_$(PERMUTE_win32))
 CONFIG_OPTIONS_cygwin   = $(CONFIG_OPTIONS_win32)
 CONFIG_OPTIONS_mingw32  = $(CONFIG_OPTIONS_win32)

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)