Mike Frysinger
76d803f521
fix typo in "get" help output
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1879 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
876f927f14
fix indentation style -- no functional changes
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1878 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
257b1e3b88
convert urj_parse_stream parsing to getline so that we dont have any arbitrary line length limitations on the inputs
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1877 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
080f7a428b
constify the line string given to urj_parse_line
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1876 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
8df7a9cbbe
add some documentation for the urj_parse_* funcs
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1875 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
4618f0f96e
have empty func params use "(void)" rather than "()"
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1874 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
793e8797bd
add support for ADI Blackfin bf54x-0.4 parts
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1873 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
f589c5e38c
allow people to control the interface on the command line with ftdi cables (work by Ian)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1872 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
10fdc4be5d
note by Bogdan Petrisor that pkg-config is needed to build from svn
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1871 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
5389a16802
initial usbjtagrs232 cable support by Orasanu Lucian
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1870 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
57ac6a345b
add stepping 2 for Spartan-6 XC6SLX45 FPGA from Sébastien Bourdeauducq
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1869 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
40878611d8
fix segfault in ejtag bus when EJADDRESS or EJDATA are missing
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1868 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
dd5a10e139
dont define HAVE_LIBUSB1 for libusb-0.x users
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1867 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
fc37162ca1
unify all the blackfin bus drivers
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1866 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
b57d9cf860
fix typo in libtool fallback macro
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1865 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
07ae0c530c
Add support for the Milkymist FTDI USB cable by Michael Walle.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1864 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
Mike Frysinger
9a54de1513
Drop useless params cast and useless parenthesis around addresses.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1863 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
14 years ago
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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 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
15 years ago