1
0

81 Commits

Author SHA1 Message Date
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
michael
cdc9c5bf09 Add hack to force the detection of a parallel cable by Stefan Ziegenbalg.
This hack is activated by preloading libusb-driver-trenz.so.
2007-04-02 08:22:08 +00:00
michael
e6293f4578 really support multiple parallel ports 2007-04-01 15:47:52 +00:00
michael
1f62c14e4f BUGFIX: enable cables not connected to the primary parallel port 2007-04-01 14:37:55 +00:00
michael
54fc45085e add other tested software
change some parallel port variables
2007-03-17 19:10:54 +00:00
michael
28e7c3682e parallel cable transfer cleanup 2007-03-17 00:43:00 +00:00
michael
ae413cee9c cleanup parallel support a bit 2007-03-17 00:13:23 +00:00
michael
57fade8e35 always set ecpbase correctly. 2007-03-15 08:29:53 +00:00
michael
889bee692a impact requests ECP addresses, even when ECP is not available. Ignore
requests with base address == 0x0000
2007-03-14 23:34:34 +00:00
michael
459c6ef789 print errorstring when /dev/parportX can't be opened 2007-03-14 23:22:50 +00:00
michael
543579946c Add support for Parallel Cable III (and clones) 2007-03-14 23:13:37 +00:00
michael
ac9e3f59d8 handle other TRANSFER commands not used by USB ;-) 2007-03-14 21:08:43 +00:00
michael
576995a866 add another ioctl-stub 2007-03-14 19:15:00 +00:00
michael
bdc65937d6 remove ugly defines for 64bit support and solve the problem in a
better way
2007-03-14 17:09:01 +00:00
michael
f152c04870 add support for ise 8.1i 2007-03-14 16:58:35 +00:00
michael
010cbaa6cd allow concurrent access to the cable 2007-03-11 12:52:26 +00:00
michael
7216ce6cb7 fix 64bit and add DEBUG shared object 2007-03-10 10:51:06 +00:00
michael
b72b86b42a revert most of last 64bit cleanup, as windrvr doesn't do it this way
this version might work on 64bit
2007-03-10 01:25:19 +00:00
michael
f42065a398 do not undef DEBUG 2007-03-10 00:58:15 +00:00
michael
11d017427f fix some 64bit issues, probably... 2007-03-10 00:56:45 +00:00
michael
332ced7a9c better fix for windrvrfd when device is not opened
prevents "!!!ERROR: magic header does not match!!!" message
2007-03-04 22:44:13 +00:00
michael
f0bfb2db7d BUG-Fix: Do not do ioctls on fd == 0 2007-03-04 20:32:32 +00:00
michael
9ba1e383d1 be a bit more intelligent in 'interrupt' handling 2007-02-25 14:10:06 +00:00
michael
f1405f1379 some cleanups 2007-02-25 14:04:15 +00:00
michael
419f2c983b emulate access function, too. now even the device node /dev/windrvr6 is
no longer needed
2007-02-25 10:51:28 +00:00
michael
90831fba7f return wd version 802 2007-02-25 00:45:20 +00:00
michael
16f6b16428 return parport_pc in list of loaded modules so impact does not show
popups all the time
2007-02-25 00:34:50 +00:00