aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx2/src
Commit message (Collapse)AuthorAgeFilesLines
* EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵Nick Foster2010-08-312-133/+28
| | | | usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX.
* usrp1: Add SPI transaction command to FX2 firmwareThomas Tsou2010-08-133-3/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | The existing SPI read command is set for half-duplex 8-bit or 16-bit writes followed by an equivalent sized read. This patch adds a new command, VRQ_SPI_TRANSACT, which performs a full-duplex transaction up to 4-bytes. Since the data buffer of the USB control transfer is not available for outbound data on IN requests, the 4 bytes of write data are sent through the request parameters. Enables are sent in the previsouly unused high byte of the length parameter. The USB field mappings are shown below. Only rising edge and MSB operation is supported. Field (8-bit) Description ===== ===== bmRequestType 0x80 (USB Device IN request) bRequest 0x83 (VRQ_SPI_TRANSACT) wValueH OUT data(0) wValueL OUT data(1) wIndexH OUT data(2) wIndexL OUT data(3) wLengthH SPI enables wLengthL Number of bytes to transfer (1-4) EP0BUF IN data
* usrp1: Add FX2 firmware filesThomas Tsou2010-08-1346-0/+4732
These firmware files for the usrp1 are imported from GNURadio.