Commit graph

26 commits

Author SHA1 Message Date
Bernd Porr
12155822bc Removed old hotplug install which is no longer used at all and
just left udev as the only hotplug mechanism. I've also added
an option to disable the installation of the firmware. This
is useful for debian or ubuntu packages where the firmware
is now provided by a package accompanying the staging kernel.
All usbdux files are included in the kernel firmware packages.
Package maintainers should use the --disable-firmware option.
2012-04-26 23:24:50 +01:00
Ian Abbott
be02f1a3d6 etc/hotplug/usbduxsigma: Remove Makefile and Makefile.in ...
... but keep Makefile.am of course!
2012-04-23 17:29:51 +01:00
Bernd Porr
ac43731c43 Updated usbdux firmware files. The udev hotplug mechanism
now takes binary files and no longer hex files. Also
added the firmware for usbduxsigma.
2012-04-23 14:03:12 +01:00
Bernd Porr
2387fcffef Generates also binary format for the new comedi driver integrated into
the mainstrain linux kernel
2009-04-17 20:41:45 +00:00
Bernd Porr
0b9c89434c Generates also binary format for the new kernel comedi drivers 2009-04-17 20:40:33 +00:00
Bernd Porr
ebd3258a05 New firmware with PWM support. It uses the GPIF of the board to stream
out the bit streams.
2007-11-25 21:17:14 +00:00
Frank Mori Hess
6c72b05ff4 Moved EXTRA_DIST outside of conditionals. 2007-10-21 20:05:13 +00:00
Bernd Porr
6277f54e12 Added udev support. 2007-04-23 22:20:09 +00:00
Bernd Porr
0dc6fe9c33 Conterpart to the change in comedi: have taken out the
bufferoverflow packet. It has messed everything up. Just
restarting the gpif is the best option. Without any additional
packets.
2005-02-27 20:40:38 +00:00
Bernd Porr
3ed5c07df6 Set the ring buffer length to 512kB for usbduxfast. This is needed
for graphical software like qtscope. Otherwise we get always buffer
overflows.
2005-02-27 02:18:23 +00:00
Bernd Porr
22eea6221e Transfer mode for data is now bulk. If a buffer overflow occurrs
the next packet has two 0xff at the begining.
2005-01-04 17:27:23 +00:00
Bernd Porr
317ef9454d Added usbduxfast to the makefile.am 2004-11-02 00:19:36 +00:00
Bernd Porr
e7f8fe4301 usbduxfast hotplug scripts and firmware. 2004-11-02 00:17:58 +00:00
Bernd Porr
c6463add66 For usbduxfast. Initial commit. 2004-11-02 00:15:47 +00:00
Bernd Porr
98ceac99f3 Changed e-mail adress to berndporr@f2s.com 2004-08-18 22:22:31 +00:00
Bernd Porr
769a448373 New constants for the new firmware. Access to revision control of the FX2. 2004-08-18 22:21:42 +00:00
Bernd Porr
1249c61de9 Removed usbdux_firmware.lst because it's just the listing of the assembler which is not needed in the distro. 2004-08-18 22:16:14 +00:00
Bernd Porr
f4ca47d701 Minor bug fixes. 2004-08-18 22:12:38 +00:00
Frank Mori Hess
cdb4e7d266 updated usbdux firmware from Bernd Porr:
Firmware now only measures as many channels as are in the channel list. If
there's only one channel in the list we can manage to measure within one
microframe. This makes it possible to measure with 8kHz max.
Added a counter. The counter is called every 2ms from an FX2 timer inerrupt. Low
priority so that measurements are not disturbed.
The bulk transfers are now two times faster (insn). Reading an A/D value or an
DIO takes now only 2ms or less. The trick is that the in endpoint is already
filled when the request is issued.
Fixed a bug in the FIFO resets.

Second counter did not count properly. That's fixed. Also
found two missing syncdelays.
2004-08-01 22:24:01 +00:00
Frank Mori Hess
30e7053ebc usbdux update from bernd porr:
The new hotplug script uses comedi/usbdux.c for firmware upload and not fxload
any more. fxload is too unreliable and seems to be missing or different among
different distros. All users of usbdux boards report problems which are fxload
related. The new hotplug script simply uses comedi_config -i firmware.hex. This
fix also removes problems with the usbdevfs (race in 2.6, sleep, ...). The
usbdevfs is no longer needed.
2004-03-29 01:43:27 +00:00
Frank Mori Hess
6ea1735e6e Update from Bernd Porr. Sleeps only if the file is not there. 2004-02-16 14:02:19 +00:00
Frank Mori Hess
2aeeb17080 usbdux firmware update from Bernd Porr:
Bugfix version of the firmware. When running ./cmd and ./ao_waveform at the same
time I got CRC errors on the USB. Reason: some registers in the FX2 need a
syncdelay. After a write to a register no other write is allowed to any other
register for a certain time. This is called "Syncdelay". Introduced syncdelays
for all EP registers. Now the CRC errors are gone.
Another bugfix: the byte for the CPUCS register was wrong (shifted one bit to
the left). This resulted in undefined processor speed. The speed was chosen just
by chance at power up (12Mhz,24Mhz,48Mhz).
2004-02-07 22:20:16 +00:00
Frank Mori Hess
38580fc697 patch form Bernd Porr:
added a "sleep 1" just before fxload to eliminate race condition betwwen hotplug and usbdevfs in the preemptive 2.6 kernel
2004-02-07 21:42:49 +00:00
Frank Mori Hess
4d08248fda update for usbdux driver form Bernd Porr who says:
Had to change the USB 2.0 transfer protocol from IRQ transfer to ISO transfer.
Reason: IRQ transfer is still not stable (2.4/2.6). However, ISO transfer has
been rewritten in the kernel and works (just now in 2.6 but will be backported
sooner or later)!
I supply new firmware and a new version of the driver which now uses ISO
transfer throughout (1.1 / 2.0).
2004-01-31 21:57:02 +00:00
Frank Mori Hess
a57ff1fc14 update from bernd porr to use fxload to load firmware 2003-12-21 17:30:01 +00:00
Frank Mori Hess
e410cfda9c comedilib support for new usbdux driver 2003-11-30 15:41:14 +00:00