Michael Gernoth
47661cecc5
More robust search for filename in memory at runtime
2010-05-26 10:11:43 +02:00
Michael Gernoth
6b3a171567
Dynamically search for /proc/sys/dev/parport/%s/base-addr
2010-05-24 15:12:14 +02:00
Michael Gernoth
a90dd20702
full support for parallel ports on ISE 12
2010-05-24 14:33:38 +02:00
Michael Gernoth
765c485a06
Overload XilCommNS::CPortResources::Instance
2010-05-24 13:36:45 +02:00
Michael Gernoth
ad0f0d12f7
declare variables at the beginning of the scope
2010-05-24 11:08:56 +02:00
Michael Gernoth
b05f6dfed5
Add initial parallel port support for ISE 12.
...
Only ports existing on the local system can be used for real
or ftdi-emulated cables. So you can't attach a ftdi-cable
to your non-existant LPT4 currently.
2010-05-23 23:10:41 +02:00
Michael Gernoth
4c90fa3933
Always set return value for parallel ports
...
This fixes a crash in ISE 12 but does not lead to working parallel
port suppoet
2010-05-23 17:40:11 +02:00
Michael Gernoth
80a14787b9
fix ISE 12 support on 64bit
2010-05-23 17:01:17 +02:00
Michael Gernoth
daa4fc041d
Don't overload uname but set personality in library constructor
...
This fixes planAhead crashing on startup
2010-05-23 01:18:13 +02:00
Michael Gernoth
9f78065e21
fix prototype for _Z14isModuleLoadedPci
2010-05-23 00:11:02 +02:00
Michael Gernoth
4ba5d6d931
support for ISE 12
2010-05-22 13:22:00 +02:00
Michael Gernoth
aed36bb341
Let usb-driver work with a no-module kernel by Gyorgy 'nog' Jeney
2008-11-27 15:11:07 +01:00
Michael Gernoth
1fc8f7a47d
cable sharing for USB needs to overload semop, this adds a disabled stub
2008-09-23 16:23:20 +02:00
Michael Gernoth
325556c933
improve debug output
2008-04-12 17:49:32 +02:00
Michael Gernoth
9bfaca620d
implement support for multiple XPCU cables for ISE 10.1
...
this also solves the crash of impact 10.1 which was previously
attributed to a mutex deadlock, but impact itself leaks filedescriptors.
2008-04-12 17:20:15 +02:00
Michael Gernoth
19acdb82e4
pass pointer to usb-driver structure through impact
2008-04-12 15:26:58 +02:00
Michael Gernoth
8af4d9103d
make it possible to return an error everywhere
2008-04-12 15:13:26 +02:00
Michael Gernoth
501f1c2134
move interrupt functions to xpcu.c
2008-04-12 00:30:12 +02:00
Michael Gernoth
f92c0fbce9
rework more XPCU code. INT_* still needs to be moved
2008-04-11 21:14:32 +02:00
Michael Gernoth
4f3471859a
move card_type into xpcu_s
2008-04-11 15:38:01 +02:00
Michael Gernoth
0c2db148a4
add xpcu_set_interface
2008-04-11 15:36:07 +02:00
Michael Gernoth
6234190be3
add xpcu_close
2008-04-11 15:22:59 +02:00
Michael Gernoth
6c235d59ca
move XPCU transfer function
2008-04-11 15:16:28 +02:00
Michael Gernoth
cbfa0ac6c8
begin separating XPCU functions into own file
2008-04-11 15:08:19 +02:00
Michael Gernoth
74ed4fbde8
release usb-device on close
2008-04-10 22:31:10 +02:00
Michael Gernoth
adb51cf1e7
fix usb_reset. sharing the cable between applications is still possible.
2008-04-10 22:21:21 +02:00
Michael Gernoth
cf55ed64bb
make it possible to share the USB and parallel cable between applications
2008-04-10 22:10:15 +02:00
Michael Gernoth
bbc3baea9b
reset the USB cable when /dev/windrvr6 is closed.
...
This should solve prolems when impact fails on second use.
2008-04-10 20:25:53 +02:00
Michael Gernoth
c42237a305
Fix 32-bit ISE 10.1 on 64-bit platform.
...
When trying to access a cable with this combination, ISE displays the
following error: "Cable operation is not supported when running the
32-bit version of the application on a 64-bit platform."
This is fixed by additionally overloading the uname function and replacing
x86_64 by i686 in the returned struct in the 32-bit version of this library.
The 64-bit version will still correctly return x86_64.
2008-03-29 13:51:08 +01:00
Michael Gernoth
be59993b74
do not export unnecessary symbols
2007-11-03 20:45:32 +01:00
Michael Gernoth
a2a952c0da
be compatible with libusb-versions without dev->devnum member
2007-09-06 17:31:44 +02:00
Michael Gernoth
77683ab696
ignore bus-id on XILINX_USB_DEV setting missing a device-id
2007-08-29 10:37:29 +02:00
Michael Gernoth
3a2a22bc86
make it possible to specify the USB bus
...
document the usage for multiple cables
2007-08-26 13:56:47 +02:00
Michael Gernoth
d377df04c9
support for multiple USB cables by Mondrian Nuessle <nuessle@uni-mannheim.de>
2007-08-24 11:19:50 +02:00
Michael Gernoth
72ce448bf9
only close the parallel port when it was really openend
2007-06-29 18:36:12 +02:00
Michael Gernoth
b8b756f5d3
better check for NULL on access
2007-05-19 15:15:27 +02:00
Michael Gernoth
3eee002c15
return -1 if pathname passed to accept is a null-pointer.
...
unbreaks git with libusb-driver.so preloaded
2007-05-17 20:26:44 +02:00
Michael Gernoth
81cf365889
add something versionlike for the git-tracked usb-driver
2007-05-17 20:26:44 +02:00
michael
61e0de7a4b
config parser to associate ftdi2232 devices with parallel port
2007-05-01 11:42:14 +00:00
michael
25ba7a4909
more parts of the config infrastructure
2007-04-30 23:42:17 +00:00
michael
5e3d963bcb
unify parallel and jtagkey interface
2007-04-30 09:23:32 +00:00
michael
3e670223fd
start of configuration infrastructure
2007-04-29 15:18:42 +00:00
michael
d0e2002d3a
much faster programming via FTDI2232 now.
...
programs a xc3s200 in 22 seconds
2007-04-29 13:49:13 +00:00
michael
b122ac4b01
improve performance by
...
* using synchronous bitbang mode
* handling multi transfers in the jtagkey-driver by combining writes and reads
2007-04-29 10:19:40 +00:00
michael
1dac51954a
pass MULTI_TRANSFER to jtagkey_transfer, so it can be optimized there
...
(which will hopefully increase performance by much)
2007-04-29 00:58:10 +00:00
michael
bccac33bca
some cleanups
2007-04-29 00:47:44 +00:00
michael
19b2e286ce
preliminary support for amontec jtagkey.
...
it's too slow to be usable right now
2007-04-29 00:43:14 +00:00
michael
0dca330e46
make parallel port numbers permanent across program restarts
2007-04-08 19:07:05 +00:00
michael
3b1b5fa8ab
generate a better driver identification
2007-04-06 12:51:55 +00:00
michael
05e1bfcd05
rename TRENZ define to FORCE_PC3_IDENT and document how to enable the
...
define
2007-04-02 11:31:20 +00:00