mw/urjtag.git
8 years agofix some thinkos in libusb cleanup master
Mike Frysinger [Mon, 30 Aug 2010 22:03:42 +0000 (22:03 +0000)]
fix some thinkos in libusb cleanup

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1844 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoupdate vsllink to libusb-1 api
Mike Frysinger [Mon, 30 Aug 2010 22:03:20 +0000 (22:03 +0000)]
update vsllink to libusb-1 api

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1843 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoold and outdated by urjtag/
Mike Frysinger [Mon, 30 Aug 2010 20:25:20 +0000 (20:25 +0000)]
old and outdated by urjtag/

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1842 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_bison.y: Avoid further overhead by using memcpy() with all known lengths...
Mike Frysinger [Mon, 30 Aug 2010 20:17:34 +0000 (20:17 +0000)]
src/svf/svf_bison.y: Avoid further overhead by using memcpy() with all known lengths rather than strcpy().

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1841 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_bison.y: Use known string length to call strcpy() rather than strcat...
Mike Frysinger [Mon, 30 Aug 2010 20:15:22 +0000 (20:15 +0000)]
src/svf/svf_bison.y: Use known string length to call strcpy() rather than strcat().  This avoids having to rescan for the end of the string.  Fix by Frans Meulenbroeks.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1840 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_bison.y: Avoid calling strlen() multiple times on the same string. Fix...
Mike Frysinger [Mon, 30 Aug 2010 20:13:47 +0000 (20:13 +0000)]
src/svf/svf_bison.y: Avoid calling strlen() multiple times on the same string.  Fix by Frans Meulenbroeks.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1839 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_flex.l: Use memcpy() rather than strcpy() when we already know the length...
Mike Frysinger [Mon, 30 Aug 2010 20:10:12 +0000 (20:10 +0000)]
src/svf/svf_flex.l: Use memcpy() rather than strcpy() when we already know the length and we just want to dupe the string.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1838 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_flex.l (fix_yylloc): Accept the string length from caller to avoid useles...
Mike Frysinger [Mon, 30 Aug 2010 20:07:29 +0000 (20:07 +0000)]
src/svf/svf_flex.l (fix_yylloc): Accept the string length from caller to avoid useless overhead of calling strlen().  Fix by Frans Meulenbroeks.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1837 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/svf/svf_flex.l: Have align_string return the length of the string to the caller...
Mike Frysinger [Mon, 30 Aug 2010 20:05:26 +0000 (20:05 +0000)]
src/svf/svf_flex.l: Have align_string return the length of the string to the caller, and have the callers re-use that.  This avoids useless overhead of calling strlen() over and over.  Fix by Frans Meulenbroeks.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1836 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoClean up libusb detection to prefer 1.0 over 0.1, and accept whatever pkg-config...
Mike Frysinger [Mon, 30 Aug 2010 20:01:38 +0000 (20:01 +0000)]
Clean up libusb detection to prefer 1.0 over 0.1, and accept whatever pkg-config tells us.  Also allow libusb-1.0 + ftdi w/out async since it isn't required for things to work.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1835 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosrc/tap/cable/gpio.c (gpio_get_value): Replace read/lseek with pread.
Mike Frysinger [Thu, 26 Aug 2010 20:12:29 +0000 (20:12 +0000)]
src/tap/cable/gpio.c (gpio_get_value): Replace read/lseek with pread.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1834 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoRewrite to use raw file descriptors when working with the gpio value. Also assume...
Mike Frysinger [Thu, 26 Aug 2010 20:10:56 +0000 (20:10 +0000)]
Rewrite to use raw file descriptors when working with the gpio value.  Also assume the gpio layer only has a value of '0' or '1'.  Work by Frans Meulenbroeks.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1833 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix multiple calls to gpio_get_value() after switching to the cached file pointer...
Mike Frysinger [Tue, 24 Aug 2010 20:36:46 +0000 (20:36 +0000)]
fix multiple calls to gpio_get_value() after switching to the cached file pointer -- need to seek to the start of the stream after every read

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1832 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix by Simon Qian of vsllink cable initialization origin/HEAD origin/master
Mike Frysinger [Thu, 19 Aug 2010 22:23:18 +0000 (22:23 +0000)]
fix by Simon Qian of vsllink cable initialization

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1831 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoUse already cached fp rather than constantly re-opening things on the fly.
Mike Frysinger [Thu, 19 Aug 2010 16:54:30 +0000 (16:54 +0000)]
Use already cached fp rather than constantly re-opening things on the fly.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1830 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd new vsllink cable driver by Simon Qian
Mike Frysinger [Thu, 19 Aug 2010 16:13:40 +0000 (16:13 +0000)]
add new vsllink cable driver by Simon Qian

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1829 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosupport even older versions of mingw (as found on some Debian distros) that lack...
Mike Frysinger [Thu, 19 Aug 2010 03:47:50 +0000 (03:47 +0000)]
support even older versions of mingw (as found on some Debian distros) that lack usleep/nanosleep, but have _sleep

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1828 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd another ADI manuf entry and bf561-0.{0,1,4} steppings
Mike Frysinger [Mon, 16 Aug 2010 20:07:33 +0000 (20:07 +0000)]
add another ADI manuf entry and bf561-0.{0,1,4} steppings

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1827 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd support for bf51x-0.2 parts
Mike Frysinger [Mon, 16 Aug 2010 15:03:35 +0000 (15:03 +0000)]
add support for bf51x-0.2 parts

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1826 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoinclude the file name we are searching when issuing an "unknown" field error during...
Mike Frysinger [Mon, 16 Aug 2010 15:02:42 +0000 (15:02 +0000)]
include the file name we are searching when issuing an "unknown" field error during part detection

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1825 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoDisable ice100 cable driver when libusb is not found
Mike Frysinger [Sun, 15 Aug 2010 01:22:27 +0000 (01:22 +0000)]
Disable ice100 cable driver when libusb is not found

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1824 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoautodetect inpout32 support by default
Mike Frysinger [Sun, 15 Aug 2010 01:19:29 +0000 (01:19 +0000)]
autodetect inpout32 support by default

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1823 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoice100b: add version check & firmware upgrade info (Chad Wentworth)
Mike Frysinger [Wed, 11 Aug 2010 04:27:18 +0000 (04:27 +0000)]
ice100b: add version check & firmware upgrade info (Chad Wentworth)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1822 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agopunt old .cvsignore files
Mike Frysinger [Wed, 11 Aug 2010 04:13:35 +0000 (04:13 +0000)]
punt old .cvsignore files

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1821 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix TDO handling ingeneric_flush_using_transfer()
Arnim Läuger [Sat, 7 Aug 2010 22:47:54 +0000 (22:47 +0000)]
fix TDO handling ingeneric_flush_using_transfer()
(Matthias Drochner)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1820 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agopartially restore support for hex value parsing (requires leading "0x")
Mike Frysinger [Sat, 7 Aug 2010 21:42:24 +0000 (21:42 +0000)]
partially restore support for hex value parsing (requires leading "0x")

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1819 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoConvert a few sizeof() users to ARRAY_SIZE
Mike Frysinger [Sat, 31 Jul 2010 17:57:39 +0000 (17:57 +0000)]
Convert a few sizeof() users to ARRAY_SIZE

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1818 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoFix by Michael Walle for jim cable build failure due to older cable struct setup
Mike Frysinger [Sat, 31 Jul 2010 03:40:53 +0000 (03:40 +0000)]
Fix by Michael Walle for jim cable build failure due to older cable struct setup

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1817 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd support for bf592-0.1
Mike Frysinger [Sat, 31 Jul 2010 00:32:57 +0000 (00:32 +0000)]
add support for bf592-0.1

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1816 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoissue CFI_INTEL_CMD_WRITE_TO_BUFFER when polling SR_READY in buffered
Arnim Läuger [Fri, 30 Jul 2010 20:29:27 +0000 (20:29 +0000)]
issue CFI_INTEL_CMD_WRITE_TO_BUFFER when polling SR_READY in buffered
write (Michael Walle)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1815 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd new gpio cable driver by Stefano Babic
Mike Frysinger [Fri, 30 Jul 2010 19:14:43 +0000 (19:14 +0000)]
add new gpio cable driver by Stefano Babic

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1814 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agodrop dos newlines
Mike Frysinger [Sun, 18 Jul 2010 19:10:37 +0000 (19:10 +0000)]
drop dos newlines

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1813 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoAdd "b" to the fopen() mode string for Windows and such [2874517] by Daryl Tester
Mike Frysinger [Sun, 18 Jul 2010 18:28:21 +0000 (18:28 +0000)]
Add "b" to the fopen() mode string for Windows and such [2874517] by Daryl Tester

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1812 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoUnify jtag home dir parsing and add support for the Windows home env var names.
Mike Frysinger [Sun, 18 Jul 2010 07:38:52 +0000 (07:38 +0000)]
Unify jtag home dir parsing and add support for the Windows home env var names.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1811 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agodo not abort running when a user rc file cannot be parsed ... this occurs when perms...
Mike Frysinger [Sun, 18 Jul 2010 07:07:16 +0000 (07:07 +0000)]
do not abort running when a user rc file cannot be parsed ... this occurs when perms are weird or HOME doesnt exist or any other odd situation that shouldnt ultimately prevent urjtag from running

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1810 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agounify ftdi help output more across sub drivers and the usbconn layer
Mike Frysinger [Tue, 29 Jun 2010 21:20:11 +0000 (21:20 +0000)]
unify ftdi help output more across sub drivers and the usbconn layer

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1809 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agounify duplicate ftdi lists via macros to simplify maintenance
Mike Frysinger [Tue, 29 Jun 2010 21:10:54 +0000 (21:10 +0000)]
unify duplicate ftdi lists via macros to simplify maintenance

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1808 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agorevert usbblaster de-ftdi-ification as Arnim points out things are used indirectly...
Mike Frysinger [Tue, 29 Jun 2010 20:12:53 +0000 (20:12 +0000)]
revert usbblaster de-ftdi-ification as Arnim points out things are used indirectly via the generic usb layers

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1807 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agosplit out libusb help strings so sub-libusb drivers can share them
Mike Frysinger [Mon, 28 Jun 2010 21:34:52 +0000 (21:34 +0000)]
split out libusb help strings so sub-libusb drivers can share them

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1806 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agodrop local ice100 help stub and use common libusb one
Mike Frysinger [Mon, 28 Jun 2010 21:29:00 +0000 (21:29 +0000)]
drop local ice100 help stub and use common libusb one

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1805 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoneed to update cable lists too for usbblaster libusb conversion
Mike Frysinger [Mon, 28 Jun 2010 21:14:25 +0000 (21:14 +0000)]
need to update cable lists too for usbblaster libusb conversion

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1804 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoconvert usbblaster from (light) libftdi usage to pure libusb
Mike Frysinger [Mon, 28 Jun 2010 20:49:54 +0000 (20:49 +0000)]
convert usbblaster from (light) libftdi usage to pure libusb

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1803 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoupdate NEWS/THANKS after the ice100/gnICE+ work
Mike Frysinger [Fri, 25 Jun 2010 02:27:52 +0000 (02:27 +0000)]
update NEWS/THANKS after the ice100/gnICE+ work

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1802 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoport to libusb-1.x (includes a small glue layer so libusb-0.x still works)
Mike Frysinger [Fri, 25 Jun 2010 02:23:25 +0000 (02:23 +0000)]
port to libusb-1.x (includes a small glue layer so libusb-0.x still works)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1801 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agonew cable driver for Analog Devices, Inc. Blackfin USB Emulator-100B
Mike Frysinger [Thu, 24 Jun 2010 00:08:48 +0000 (00:08 +0000)]
new cable driver for Analog Devices, Inc. Blackfin USB Emulator-100B

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1800 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agostart a quirks field so cables can declare cable-specific quirky behavior
Mike Frysinger [Wed, 23 Jun 2010 20:08:35 +0000 (20:08 +0000)]
start a quirks field so cables can declare cable-specific quirky behavior

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1799 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofill out the cable's chain pointer after we've finished connecting everything else
Mike Frysinger [Wed, 23 Jun 2010 19:27:02 +0000 (19:27 +0000)]
fill out the cable's chain pointer after we've finished connecting everything else

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1798 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agodrop fmax checks as the code is no longer used
Mike Frysinger [Wed, 23 Jun 2010 18:49:26 +0000 (18:49 +0000)]
drop fmax checks as the code is no longer used

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1797 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agogive libusb-1.0+ libftdi users a tip about --with-async-mode
Mike Frysinger [Wed, 23 Jun 2010 02:42:58 +0000 (02:42 +0000)]
give libusb-1.0+ libftdi users a tip about --with-async-mode

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1796 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix gcc printf warning
Mike Frysinger [Wed, 23 Jun 2010 02:18:25 +0000 (02:18 +0000)]
fix gcc printf warning

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1795 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agobf51x bus: fix copy & paste typo in name
Mike Frysinger [Mon, 21 Jun 2010 20:26:55 +0000 (20:26 +0000)]
bf51x bus: fix copy & paste typo in name

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1794 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agogeneralize the windows.h as well as the IN/OUT checks via normal configure tests...
Mike Frysinger [Wed, 16 Jun 2010 21:47:54 +0000 (21:47 +0000)]
generalize the windows.h as well as the IN/OUT checks via normal configure tests rather than hardcoding to specific OS checks (should fix building with some cygwin versions)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1793 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agogeneralize the getuid/geteuid stubs to avoid OS-ifdef nests
Mike Frysinger [Wed, 16 Jun 2010 21:32:30 +0000 (21:32 +0000)]
generalize the getuid/geteuid stubs to avoid OS-ifdef nests

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1792 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoadd a --with-readline configure option for people to explicitly control support for...
Mike Frysinger [Wed, 16 Jun 2010 05:09:22 +0000 (05:09 +0000)]
add a --with-readline configure option for people to explicitly control support for the external library

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1791 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix segfault while connecting to a new cable after probing a flash
Mike Frysinger [Wed, 16 Jun 2010 00:54:34 +0000 (00:54 +0000)]
fix segfault while connecting to a new cable after probing a flash
http://blackfin.uclinux.org/gf/tracker/6028

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1790 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoscrub old cvs log
Mike Frysinger [Tue, 15 Jun 2010 23:01:20 +0000 (23:01 +0000)]
scrub old cvs log

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1789 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoconstify more driver lists and related structures to cut down on .data size
Mike Frysinger [Tue, 15 Jun 2010 03:28:23 +0000 (03:28 +0000)]
constify more driver lists and related structures to cut down on .data size

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1788 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoidcode: clean up code a bit and dont leak resources on error
Mike Frysinger [Mon, 14 Jun 2010 23:05:23 +0000 (23:05 +0000)]
idcode: clean up code a bit and dont leak resources on error

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1787 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agoparport/ppi: sync ppi_connect with ppdev driver to fix build warnings
Mike Frysinger [Mon, 14 Jun 2010 22:58:41 +0000 (22:58 +0000)]
parport/ppi: sync ppi_connect with ppdev driver to fix build warnings

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1786 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agocmd_bfin: include sys/wait.h for wait related defines
Mike Frysinger [Mon, 14 Jun 2010 22:53:22 +0000 (22:53 +0000)]
cmd_bfin: include sys/wait.h for wait related defines

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1785 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agodrop unused stropts.h check
Mike Frysinger [Mon, 14 Jun 2010 22:43:52 +0000 (22:43 +0000)]
drop unused stropts.h check

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1784 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years ago[ 2996919 ] Support for MX29LV320C
Arnim Läuger [Wed, 19 May 2010 19:12:11 +0000 (19:12 +0000)]
2996919 ] Support for MX29LV320C

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1783 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

8 years agofix build failure with gcc-4.5 due to stricter warnings with enum values in case...
Mike Frysinger [Wed, 5 May 2010 08:41:37 +0000 (08:41 +0000)]
fix build failure with gcc-4.5 due to stricter warnings with enum values in case statements

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1782 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agointermediate web page update
Arnim Läuger [Sat, 27 Feb 2010 22:46:20 +0000 (22:46 +0000)]
intermediate web page update

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1781 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoreference UrJTAG.txt from urjtag/ directory
Arnim Läuger [Sat, 27 Feb 2010 22:43:52 +0000 (22:43 +0000)]
reference UrJTAG.txt from urjtag/ directory

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1780 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agosrc/bfin/bfin-part-bfin.c (bfin_part_init): Add a few more checks to avoid segfaults...
Mike Frysinger [Tue, 16 Feb 2010 23:54:44 +0000 (23:54 +0000)]
src/bfin/bfin-part-bfin.c (bfin_part_init): Add a few more checks to avoid segfaults and change the asserts to log warnings.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1779 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agodocument all the different data files
Mike Frysinger [Tue, 16 Feb 2010 23:41:50 +0000 (23:41 +0000)]
document all the different data files

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1778 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd "Inc." to ADI's human friendly name
Mike Frysinger [Tue, 16 Feb 2010 23:11:49 +0000 (23:11 +0000)]
add "Inc." to ADI's human friendly name

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1777 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoFix parallel build issue.
Jie Zhang [Wed, 10 Feb 2010 08:09:28 +0000 (08:09 +0000)]
Fix parallel build issue.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1776 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoAdd facility to allow user to use libftdi asynchronous mode and libusb-1.0 to largely...
Jie Zhang [Wed, 10 Feb 2010 07:59:10 +0000 (07:59 +0000)]
Add facility to allow user to use libftdi asynchronous mode and libusb-1.0 to largely improve read performance.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1775 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoinclude -Llibdir in default urjtag.pc like everyone else does
Mike Frysinger [Wed, 10 Feb 2010 01:45:45 +0000 (01:45 +0000)]
include -Llibdir in default urjtag.pc like everyone else does

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1774 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd a better log for missing register/instruction definitions
Mike Frysinger [Mon, 8 Feb 2010 23:01:24 +0000 (23:01 +0000)]
add a better log for missing register/instruction definitions

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1773 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agosync Blackfin part list in bfin_init() to support BF548M and BF592
Mike Frysinger [Mon, 8 Feb 2010 21:35:51 +0000 (21:35 +0000)]
sync Blackfin part list in bfin_init() to support BF548M and BF592

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1772 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd common registers and instructions for the BF592
Mike Frysinger [Mon, 8 Feb 2010 21:34:31 +0000 (21:34 +0000)]
add common registers and  instructions for the BF592

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1771 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd a "probe" driver to support autodetection of cables
Mike Frysinger [Mon, 8 Feb 2010 09:47:59 +0000 (09:47 +0000)]
add a "probe" driver to support autodetection of cables

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1770 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoWait some clocks at Run-Test/Idle for Blackfin.
Jie Zhang [Mon, 8 Feb 2010 03:56:49 +0000 (03:56 +0000)]
Wait some clocks at Run-Test/Idle for Blackfin.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1769 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agopull in -lintl via pkg-config for odd systems like OS X
Mike Frysinger [Sat, 6 Feb 2010 01:16:50 +0000 (01:16 +0000)]
pull in -lintl via pkg-config for odd systems like OS X

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1768 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoinstall a urjtag.pc file for pkg-config users
Mike Frysinger [Sat, 6 Feb 2010 00:29:12 +0000 (00:29 +0000)]
install a urjtag.pc file for pkg-config users

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1767 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoinstall a urjtag.pc file for pkg-config users
Mike Frysinger [Sat, 6 Feb 2010 00:28:36 +0000 (00:28 +0000)]
install a urjtag.pc file for pkg-config users

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1766 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoOptimize TMS clocks for FT2232 cables.
Jie Zhang [Sat, 6 Feb 2010 00:24:25 +0000 (00:24 +0000)]
Optimize TMS clocks for FT2232 cables.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1765 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agodocument gnICE+ and support Blackfin processors
Mike Frysinger [Sat, 6 Feb 2010 00:22:02 +0000 (00:22 +0000)]
document gnICE+ and support Blackfin processors

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1764 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd a set of endian functions for dealing with endians and to push data storage out...
Mike Frysinger [Fri, 5 Feb 2010 23:09:29 +0000 (23:09 +0000)]
add a set of endian functions for dealing with endians and to push data storage out of the public API/ABI

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1763 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoutilize automake quiet rules (can be disabled at configure/make time)
Mike Frysinger [Fri, 5 Feb 2010 18:58:19 +0000 (18:58 +0000)]
utilize automake quiet rules (can be disabled at configure/make time)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1762 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoadd support for the Blackfin BF592
Mike Frysinger [Fri, 5 Feb 2010 18:46:52 +0000 (18:46 +0000)]
add support for the Blackfin BF592

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1761 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agofix some typos in AS_VAR_APPEND fallback funcs
Mike Frysinger [Fri, 5 Feb 2010 18:45:14 +0000 (18:45 +0000)]
fix some typos in AS_VAR_APPEND fallback funcs

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1760 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoFix frequency setting for FT2232H cables.
Jie Zhang [Thu, 4 Feb 2010 13:28:15 +0000 (13:28 +0000)]
Fix frequency setting for FT2232H cables.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1759 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoget autoconf-2.61+ working again
Mike Frysinger [Wed, 3 Feb 2010 07:37:07 +0000 (07:37 +0000)]
get autoconf-2.61+ working again

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1758 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoinclude hex/bit output when detecting parts to make adding support easier (copy ...
Mike Frysinger [Wed, 3 Feb 2010 01:18:45 +0000 (01:18 +0000)]
include hex/bit output when detecting parts to make adding support easier (copy & paste)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1757 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoAdd bf518f_ezbrd and bf51x bus drivers.
Jie Zhang [Tue, 2 Feb 2010 12:32:43 +0000 (12:32 +0000)]
Add bf518f_ezbrd and bf51x bus drivers.
Add bf518 silicon revision 0.1.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1756 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoAdd support for Analog Devices ADSP-BF506.
Jie Zhang [Tue, 2 Feb 2010 10:01:18 +0000 (10:01 +0000)]
Add support for Analog Devices ADSP-BF506.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1755 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoDump tap state at debug log level.
Jie Zhang [Tue, 2 Feb 2010 07:14:07 +0000 (07:14 +0000)]
Dump tap state at debug log level.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1754 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years ago * src/tap/usbconn/libftdi.c (usbconn_ftdi_write): Make sure
Jie Zhang [Tue, 2 Feb 2010 07:10:30 +0000 (07:10 +0000)]
  * src/tap/usbconn/libftdi.c (usbconn_ftdi_write): Make sure
    scheduled send bytes be less than URJ_USBCONN_FTDX_MAXSEND.
  * src/tap/usbconn/libftd2xx.c (usbconn_ftd2xx_write): Likewise.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1753 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years ago * tap/cable/ft2232.c (ft2232_gnice_done): Turn LED off when done.
Jie Zhang [Mon, 1 Feb 2010 10:37:24 +0000 (10:37 +0000)]
  * tap/cable/ft2232.c (ft2232_gnice_done): Turn LED off when done.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1752 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoMake bf537_stamp_bus_area only accept async memory addresses.
Jie Zhang [Mon, 1 Feb 2010 08:18:12 +0000 (08:18 +0000)]
Make bf537_stamp_bus_area only accept async memory addresses.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1751 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoMerge bf533_ezkit.c into bf537_stamp.c.
Jie Zhang [Mon, 1 Feb 2010 07:37:17 +0000 (07:37 +0000)]
Merge bf533_ezkit.c into bf537_stamp.c.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1750 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agoAdd bf52x and bf53x bus drivers.
Jie Zhang [Mon, 1 Feb 2010 07:15:37 +0000 (07:15 +0000)]
Add bf52x and bf53x bus drivers.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1749 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agodrop Blackfin-specific register_value() in favor of common urj_tap_register_get_value()
Mike Frysinger [Fri, 29 Jan 2010 09:18:48 +0000 (09:18 +0000)]
drop Blackfin-specific register_value() in favor of common urj_tap_register_get_value()

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1748 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agostatically sort lists so we can constify them all
Mike Frysinger [Fri, 29 Jan 2010 09:09:45 +0000 (09:09 +0000)]
statically sort lists so we can constify them all

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1747 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agostatically sort lists so we can constify them all
Mike Frysinger [Fri, 29 Jan 2010 09:09:11 +0000 (09:09 +0000)]
statically sort lists so we can constify them all

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1746 b68d4a1b-bc3d-0410-92ed-d4ac073336b7

9 years agounify duplicate defines of the ARRAY_SIZE macro
Mike Frysinger [Fri, 29 Jan 2010 08:39:13 +0000 (08:39 +0000)]
unify duplicate defines of the ARRAY_SIZE macro

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1745 b68d4a1b-bc3d-0410-92ed-d4ac073336b7