1682 Commits (35a70b6804b14d3583944099181e6b01fec30852)
 

Author SHA1 Message Date
Mike Frysinger f43c472952 fix some thinkos in libusb cleanup
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1844 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 45e5fc8979 update vsllink to libusb-1 api
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1843 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger 10c82b770b old and outdated by urjtag/
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1842 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger bdbfe27153 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
14 years ago
Mike Frysinger 6e88ef26f9 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
14 years ago
Mike Frysinger 328ca1d817 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
14 years ago
Mike Frysinger 95193fa86a 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
14 years ago
Mike Frysinger 69b34c22ea 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
14 years ago
Mike Frysinger 9760b40157 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
14 years ago
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
15 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
15 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