aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-09-15107-0/+11434
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/usrp2/CMakeLists.txt host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_regs.hpp
| * 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: images for usrp1, makefile checks for image generation dependenciesJosh Blum2010-08-191-0/+5
| |
| * Merge branch 'master' into usrp1Josh Blum2010-08-177-29/+326
| |\
| * | usrp1: Add SPI transaction command to FX2 firmwareThomas Tsou2010-08-134-3/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-13107-0/+11421
| | | | | | | | | | | | | | | These firmware files for the usrp1 are imported from GNURadio.
* | | Change to get codec_impl to compile, dur.Nick Foster2010-08-251-2/+2
| | | | | | | | | | | | Changed memory map to correspond to new tx_policy code.
* | | Merge branch 'usrp2p_udpfw' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-08-1812-411/+230
|\ \ \
| * | | Moved UDP firmware update stuff out of fw_common.h into udp_fw_update.h.Nick Foster2010-08-187-64/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This stuff should only go back into fw_common.h if we decide to integrate firmware update into the UHD code. Right now it's a separate Python script. Also moved udp_fw_update.h to lib/ because it's the same between USRP2 and USRP2P.
| * | | UDP firmware update support for USRP2P.Nick Foster2010-08-1710-372/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hooks are in there for USRP2, but without CPLD changes it won't support it. Added an app host/utils/usrp2p_fw_update.py to write to USRP2P over the wire. Lots of TODOs in that file. Caveat -- fw_common.h, bootloader_utils.h, and the .py app MUST ALL AGREE!
* | | | Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-08-187-29/+326
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | usrp2: don't forward dbsm errorsNick Foster2010-08-161-4/+4
| | |
| * | IRQ-based SPI works. Don't try to do multiple transactions without waiting ↵Nick Foster2010-08-163-18/+20
| | | | | | | | | | | | | | | | | | for results first. In fact, don't try to do an I2C transaction while an SPI transaction is pending.
| * | syntaxNick Foster2010-08-162-2/+3
| | |
| * | first stab at irq'ed spiNick Foster2010-08-163-6/+72
| | |
| * | Removed NACK checking so things don't barf when daughterboards aren't connected.Nick Foster2010-08-161-6/+7
| | | | | | | | | | | | When we have real error handling in the DUDE/BRO protocol we'll add this back in.
| * | Fix warnings related to const-ness and volatile-ness.Nick Foster2010-08-162-7/+7
| | |
| * | Bring in changes since last week.Nick Foster2010-08-101-18/+10
| | |
| * | Interrupt-driven I2C. txrx_uhd uses async i2c for comms.Nick Foster2010-08-104-24/+259
| |/
* | Finished GPS driver, more or less.Nick Foster2010-08-162-9/+10
| | | | | | | | Should detect any 115kbaud GPS on the serial port, as long as it outputs GPRMC packets. Tweaked the serial driver for a stupid off-by-one mistake.
* | Fixed behavior when no GPS present.Nick Foster2010-08-132-4/+3
| |
* | Small fix for fngetsNick Foster2010-08-131-2/+2
| |
* | Increased UART timeout for slow Jackson Labs GPSDO. Fixed up timeout code.Nick Foster2010-08-133-2/+3
| |
* | Added timeout functionality for UART gets() calls. use fngets_timeout(). ↵Nick Foster2010-08-135-1/+29
| | | | | | | | timeout defined in hal_uart.h.
* | first stab at a GPS driver in gps_ctrl.cpp. not the most expandable thing in ↵Nick Foster2010-08-133-0/+11
| | | | | | | | the world but there's only so many GPS interfaces out there.
* | Fixed GPS UART stuff. Works OK.Nick Foster2010-08-123-7/+5
| |
* | Added UART transactions to the DUDE/BRO protocol.Nick Foster2010-08-124-1/+43
| |
* | Working support for multiple UARTs.Nick Foster2010-08-125-83/+122
| | | | | | | | | | | | | | Default behavior (printf, gets, etc.) routes to DEFAULT_UART, set in hal_uart.h. Use fputstr() to print to other UARTs. Bring fgets() from hal_io.c out in hal_io.h if you want to read data from other UARTs. Still blocking. No interrupt-driven stuff yet.
* | Branch to make use of quad UART on USRP2P.Nick Foster2010-08-114-25/+50
| |
* | Merge branch 'master' into usrp2pNick Foster2010-08-105-169/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was the merge from hell Conflicts: firmware/microblaze/Makefile.am firmware/microblaze/bootstrap firmware/microblaze/configure.ac firmware/microblaze/lib/Makefile.inc host/lib/CMakeLists.txt host/lib/usrp/mimo_usrp.cpp host/lib/usrp/simple_usrp.cpp host/lib/usrp/usrp2/clock_ctrl.cpp host/lib/usrp/usrp2/codec_impl.cpp host/lib/usrp/usrp2/dboard_impl.cpp host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.hpp host/lib/usrp/usrp2/usrp2_impl.hpp host/lib/usrp/usrp2/usrp2_regs.hpp host/test/CMakeLists.txt
| * usrp2: added fpga compat number, renamed firmware proto version to compatJosh Blum2010-08-091-5/+6
| |
| * usrp2: reorganized firmware directoryJosh Blum2010-07-3085-911/+278
| |
* | Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-07-291-1/+1
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_regs.hpp
| * usrp2: added tx policy register and changed fw to not handle error in buffer ↵Josh Blum2010-07-291-1/+1
| | | | | | | | pool
* | Clock bugs, LED order.Nick Foster2010-07-296-20/+34
| | | | | | | | | | | | | | | | | | | | Figured out cold-start problem with Matt's help -- the DCM wasn't being reset. This also explains why USRP2 didn't like it when clocks_mimo_config was omitted -- it was sneakily resetting the DCM while enabling/disabling ref outputs. Also re-did USRP2P LED order and genericized the LED settings so LED_D is LED_D for both USRP2 and USRP2P.
* | Added back in clock_mimo_enable stuff since USRP2 breaks without it.Nick Foster2010-07-282-8/+8
| | | | | | | | Should look further into initializing ALL clocks on host side.
* | Stripped out all the clock functionality except for init'ing the FPGA. Clock ↵Nick Foster2010-07-286-256/+18
| | | | | | | | smarts have been host-side for a while, so this is redundant code.
* | Widened SPI slave select bus to 16 bits in host and firmware.Nick Foster2010-07-281-1/+1
| |
* | Ethernet blinky light changes. Link LED works. D201 (next to PHY) blinks on ↵Nick Foster2010-07-281-1/+8
| | | | | | | | TX. Yellow LED on connector blinks on TX/RX.
* | Ethernet mods for activity LED.Nick Foster2010-07-274-4/+33
| |
* | Ethernet PHY re-do.Nick Foster2010-07-278-12/+603
| |
* | Deleted manually those files to correspond with USRP2P branch.Nick Foster2010-07-2661-8673/+0
| |
* | New branch with firmware dir from USRP2P branch.Nick Foster2010-07-26112-45/+13382
|/
* usrp2: installed a simple dbsm_rx_inspector, it wont work without it...Josh Blum2010-07-161-4/+7
|
* usrp2: remove mb intervention on outgoing packetsJosh Blum2010-07-151-28/+6
|
* usrp2: forward errors in the dbsm to communicate them up to the hostJosh Blum2010-07-121-2/+4
|
* usrp2: Added a peek64 to read pairs of 32 bit numbers such as time64Josh Blum2010-07-051-0/+8
| | | | also added a templated host to/from network conversion in byteswap.hpp (didnt use it though)
* usrp2: increased transport buffer minimum size, and added warningJosh Blum2010-07-051-4/+4
| | | | | | added more notes on buffer size to the manual pulled in some firmware fixes from the mimo work, just to have them in here
* usrp2 mb: replace hard coded constants with macros for rx offsetJosh Blum2010-06-181-2/+2
|
* Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface ↵Josh Blum2010-05-111-20/+3
| | | | | | | | | | calls. No longer part of the dude/bro protocol. Simplified the mac and ip addr read write code in mboard impl. Modified the mac addr type to take byte_vector_t from serial.hpp types.