1673 Commits (44d5afb3a38e120c28d50e2cbb5ffc1a7469b189)
 

Author SHA1 Message Date
Mike Frysinger f8916993ed 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
14 years ago
Mike Frysinger 018c1d8cfc 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
14 years ago
Mike Frysinger bb7af9534a 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
14 years ago
Mike Frysinger b39e2ae6be 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
14 years ago
Mike Frysinger 395531cc37 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
14 years ago
Mike Frysinger c00e9e68d7 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
14 years ago
Mike Frysinger b7a7d2131e 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
14 years ago
Mike Frysinger 9299ad8c3f 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
14 years ago
Mike Frysinger 95158bc90a 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
14 years ago
Mike Frysinger 4f3d840093 add support for bf51x-0.2 parts
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1826 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 9a23b17f37 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
14 years ago
Mike Frysinger 30493a083e 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
14 years ago
Mike Frysinger 185d89c2cd autodetect inpout32 support by default
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1823 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger a6b0fc287e 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
14 years ago
Mike Frysinger 6478e1bb64 punt old .cvsignore files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1821 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Arnim Läuger 7f04633daa 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
14 years ago
Mike Frysinger 7fe1437483 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
14 years ago
Mike Frysinger f8e53c6e0a 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
15 years ago
Mike Frysinger fc8686b8dd 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
15 years ago
Mike Frysinger adc1131626 add support for bf592-0.1
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1816 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 00fb2b714e 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
15 years ago
Mike Frysinger 7941d528ea 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
15 years ago
Mike Frysinger 545dca732e drop dos newlines
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1813 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger c483d516d6 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
15 years ago
Mike Frysinger 473f535350 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
15 years ago
Mike Frysinger 0c2cb5e87d 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
15 years ago
Mike Frysinger cd4fb2e516 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
15 years ago
Mike Frysinger e020ca4737 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
15 years ago
Mike Frysinger 3222da493d 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
15 years ago
Mike Frysinger 88d165e388 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
15 years ago
Mike Frysinger 2bb5f3c51d 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
15 years ago
Mike Frysinger 920e4cab1e 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
15 years ago
Mike Frysinger 7590c751a7 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
15 years ago
Mike Frysinger b19f9d0991 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
15 years ago
Mike Frysinger 2c335db3bc 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
15 years ago
Mike Frysinger 8892ca165d 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
15 years ago
Mike Frysinger b2304c2708 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
15 years ago
Mike Frysinger 644252507c 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
15 years ago
Mike Frysinger 5e1695c5ba 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
15 years ago
Mike Frysinger 0df5990524 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
15 years ago
Mike Frysinger 47cac3e134 fix gcc printf warning
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1795 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger bf136d26d1 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
15 years ago
Mike Frysinger 40952aa7ff 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
15 years ago
Mike Frysinger 8fa9714bbc 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
15 years ago
Mike Frysinger c6cffe42ac 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
15 years ago
Mike Frysinger 8e3076a4be 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
15 years ago
Mike Frysinger fab3d1d502 scrub old cvs log
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1789 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 792cf1b3f2 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
15 years ago
Mike Frysinger 925056da02 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
15 years ago
Mike Frysinger dce4185aec 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
15 years ago