Browse Source

usbdux: Add usbduxsigma firmware

This adds the missing firmware for usbduxsigma. The
driver is already part of the kernel 3.2. The firware
was submitted with the initial driver submission but
probably got lost when the kernel.org was attacked.
Added usbduxsigma to the list of files in WHENCE

Signed-off-by: Bernd Porr <berndporr@f2s.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
main
Bernd Porr 13 years ago committed by Ben Hutchings
parent
commit
09c949f6d3
  1. 4
      WHENCE
  2. 5
      usbdux/Makefile_dux
  3. 4
      usbdux/README.dux
  4. 34
      usbdux/fx2-include.asm
  5. 1220
      usbdux/usbduxsigma_firmware.asm
  6. BIN
      usbduxsigma_firmware.bin

4
WHENCE

@ -1208,13 +1208,15 @@ rt3071.bin is a copy of bytes 4096-8191 of rt2870.bin for compatibility.


-------------------------------------------------------------------------- --------------------------------------------------------------------------


Driver: usbdux/usbduxfast - usbdux data acquisition cards Driver: usbdux/usbduxfast/usbduxsigma - usbdux data acquisition cards


File: usbdux_firmware.bin File: usbdux_firmware.bin
File: usbduxfast_firmware.bin File: usbduxfast_firmware.bin
File: usbduxsigma_firmware.bin
Source: usbdux/fx2-include.asm Source: usbdux/fx2-include.asm
Source: usbdux/usbduxfast_firmware.asm Source: usbdux/usbduxfast_firmware.asm
Source: usbdux/usbdux_firmware.asm Source: usbdux/usbdux_firmware.asm
Source: usbdux/usbduxsigma_firmware.asm


Licence: GPLv2. See source code in usbdux/ subdirectory. Licence: GPLv2. See source code in usbdux/ subdirectory.



5
usbdux/Makefile_dux

@ -3,7 +3,7 @@
# no warranty # no warranty
# #


all: as31 usbduxfast_firmware.bin usbdux_firmware.bin all: as31 usbduxfast_firmware.bin usbdux_firmware.bin usbduxsigma_firmware.bin


as31: as31:
make -C as31-2.1 make -C as31-2.1
@ -14,6 +14,9 @@ usbduxfast_firmware.bin: fx2-include.asm usbduxfast_firmware.asm as31
usbdux_firmware.bin: fx2-include.asm usbdux_firmware.asm as31 usbdux_firmware.bin: fx2-include.asm usbdux_firmware.asm as31
as31-2.1/as31 -Fbin usbdux_firmware.asm as31-2.1/as31 -Fbin usbdux_firmware.asm


usbduxsigma_firmware.bin: fx2-include.asm usbduxsigma_firmware.asm as31
as31-2.1/as31 -Fbin usbduxsigma_firmware.asm

clean: clean:
rm -f *.bin *~ *.lst *.bin rm -f *.bin *~ *.lst *.bin
make -C as31-2.1 clean make -C as31-2.1 clean

4
usbdux/README.dux

@ -1,5 +1,5 @@
To compile the firmware for the USBDUX and USBDUXfast To compile the firmware for the USBDUX,USBDUXfast and USBDUXsigma
----------------------------------------------------- -----------------------------------------------------------------
Download the as31 from: Download the as31 from:


http://www.berndporr.me.uk/as31/ http://www.berndporr.me.uk/as31/

34
usbdux/fx2-include.asm

@ -1,5 +1,5 @@
; rev 0.9 ; rev 0.91
; (c) Bernd Porr, Bernd.Porr@cn.stir.ac.uk ; (c) Bernd Porr, BerndPorr@f2s.com
; GPL, GNU public license ; GPL, GNU public license
; ;
; This program is free software; you can redistribute it and/or modify ; This program is free software; you can redistribute it and/or modify
@ -42,8 +42,6 @@
.equ EP8ISOINPKTS,0E643H .equ EP8ISOINPKTS,0E643H
;; endpoint byte counts ;; endpoint byte counts
.equ EP1OUTBC,0E68DH .equ EP1OUTBC,0E68DH
.equ EP1INBC,0E68FH
.equ EP1INCS,0E6A2H
.equ EP2BCH,0E690H .equ EP2BCH,0E690H
.equ EP2BCL,0E691H .equ EP2BCL,0E691H
.equ EP4BCH,0E694H .equ EP4BCH,0E694H
@ -63,6 +61,7 @@
.equ EP8FIFOCFG,0E61BH .equ EP8FIFOCFG,0E61BH
;; ;;
.equ INPKTEND,0E648H .equ INPKTEND,0E648H
.equ OUTPKTEND,0E649H
.equ GPIFCTLCFG,0E6C3H .equ GPIFCTLCFG,0E6C3H
.equ GPIFABORT,0E6F5H .equ GPIFABORT,0E6F5H
.equ GPIFIDLECTL,0E6C2H .equ GPIFIDLECTL,0E6C2H
@ -72,8 +71,12 @@
.equ EP6GPIFFLGSEL,0E6E2H .equ EP6GPIFFLGSEL,0E6E2H
.equ EP6GPIFPDFSTOP,0E6E3H .equ EP6GPIFPDFSTOP,0E6E3H
.equ EP6GPIFTRIG,0E6E4H .equ EP6GPIFTRIG,0E6E4H
.equ GPIFIE,0E660H .equ GPIFTCB3,0E6CEH
.equ GPIFIRQ,0E661H .equ GPIFTCB2,0E6CFH
.equ GPIFTCB1,0E6D0H
.equ GPIFTCB0,0E6D1H
.equ EP4GPIFFLGSEL,0E6DAH
.equ EP4GPIFPFSTOP,0E6DBH
;; ;;
;; endpoint control ;; endpoint control
.equ EP2CS,0E6A3H .equ EP2CS,0E6A3H
@ -118,9 +121,10 @@
.equ XAUTODAT2,0E67CH .equ XAUTODAT2,0E67CH
;; USB-control ;; USB-control
.equ USBCS,0E680H .equ USBCS,0E680H
;; force packet end
.equ OUTPKTEND,0E649H
.equ IOA,80H .equ IOA,80H
.equ DPL0,82H
.equ DPH0,83H
.equ DPL1,84H .equ DPL1,84H
.equ DPH1,85H .equ DPH1,85H
.equ DPS,86H .equ DPS,86H
@ -149,16 +153,12 @@
.equ GPIFTRIG,0BBH .equ GPIFTRIG,0BBH
.equ EIE,0E8h .equ EIE,0E8h
.equ EIP,0F8h .equ EIP,0F8h
.equ GPIFIE,0E660H


;;; serial control
;; GPIF .equ SCON0,098h
.equ GPIFTCB3,0E6CEH .equ SBUF0,099h
.equ GPIFTCB2,0E6CFH
.equ GPIFTCB1,0E6D0H
.equ GPIFTCB0,0E6D1H
.equ EP4GPIFFLGSEL,0E6DAH
.equ EP4GPIFPFSTOP,0E6DBH



;;; end of file ;;; end of file


1220
usbdux/usbduxsigma_firmware.asm

File diff suppressed because it is too large Load Diff

BIN
usbduxsigma_firmware.bin

Binary file not shown.
Loading…
Cancel
Save