Mike Frysinger
f4277711d7
disable gpio cable driver when pread() is not available (i.e. Windows)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1862 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
82bf0ed22e
detectflash: preserve errors from lower layers for user to see
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1861 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
fd72c20e60
amd_flash: validate the bus address before we read/write it
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1860 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
a248ce6113
bf51x/bf54x: Change ABE signal names to match the style of all other Blackfin parts.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1859 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
3d899184a8
urj_bus_generic_attach_sig: Constify signal id name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1858 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
468874c48e
bf51x: add AMS_B[23] pin aliases; bf54x: add ADDR4-ADDR24 pin aliases
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1857 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
d3fc1f85fe
bf51x/bf54x: Change AMS signal names to match the style of all other Blackfin parts.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1856 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
f9140df7f5
previous commit also removed some xilinx files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1855 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
3d1f9fa59e
Add jtag files for Xilinx devices
...
New devices:
- Xilinx Spartan-3 family
- Xilinx Virtex-4 family
- Xilinx Spartan-6 family
- Xilinx System ACE
- Xilinx Platform flash
- Xilinx XC9500XL family
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1854 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
a0269f602d
Add fjmem example for Spartan-6 devices
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1853 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
183d46a331
New Programmable Logic Devices (PLD) subsystem by Michael Walle
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1852 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
4763d8162a
New functions by Michael Walle for resizing registers on the fly
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1851 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
91bd7afa7f
new generic bit operations by Michael Walle
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1850 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
924288c8d9
switch to newer libtool macro to avoid autoconf warnings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1849 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
a3215095ec
bf533: bring addr/data signal names in line with other blackfin parts
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1848 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
912dc005e5
bf518/bf537 bus: fix mangled whitespace
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1847 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
c6d6ee48a6
bf548: bring port signal names in line with other blackfin parts
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1846 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
dc7a1e256b
bf533: bring addr/data signal names in line with other blackfin parts
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1845 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
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
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