summaryrefslogtreecommitdiffstats
path: root/firmware
Commit message (Collapse)AuthorAgeFilesLines
* U2P: Ripped out the mboard_rev_t structure in favor of an enum in ↵Nick Foster2010-11-101-2/+2
| | | | | | usrp2_regs.hpp and some logic. Also change ethernet.c to move generic code to eth_lib.
* Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p-nextNick Foster2010-11-10125-4173/+682
|\ | | | | | | | | | | | | | | | | | | Conflicts: firmware/microblaze/lib/u2_init.c host/lib/usrp/usrp2/clock_ctrl.cpp host/lib/usrp/usrp2/fw_common.h host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.cpp host/lib/usrp/usrp2/usrp2_iface.hpp
| * uhd: rename identifier for usrp1 eeprom, and fix offsets, add serial support ↵Josh Blum2010-11-051-1/+1
| | | | | | | | to usrp2
| * Merge branch 'good_stuff' into mb_eepromJosh Blum2010-11-05116-4066/+528
| |\ | | | | | | | | | | | | Conflicts: firmware/fx2/include
| | * usrp1: pulled in cmake build system for usrp1 firmwareJosh Blum2010-11-05117-4066/+529
| | |
| * | usrp2: move mboard eeprom instance into iface to the clock control can access itJosh Blum2010-11-041-0/+6
| | |
| * | Merge branch 'good_stuff' into mb_eepromJosh Blum2010-11-047-104/+148
| |\|
| | * Merge branch 'ovfl' into good_stuffJosh Blum2010-11-041-1/+1
| | |\
| | | * usrp2: handle real overflow packets in host, reload continuous stream cmd, ↵Josh Blum2010-10-211-1/+1
| | | | | | | | | | | | | | | | remove firmware handling
| | * | usrp2: fw sends gratuitous arp on link-upJosh Blum2010-10-227-103/+147
| | |/
| * / usrp2: implemented mboard eeprom into usrp2 mboardJosh Blum2010-11-042-14/+0
| |/
* | USRP2P: mboard rev works through props interface.Nick Foster2010-10-121-2/+2
| | | | | | | | | | | | Added usrp2_burn_mb_rev.cpp to utils. It is not installed to the utils install dir. Not all happy with the mboard_rev setup -- is_usrp2p() is too specific for a generalized mboard_rev concept. I'm not sure where else to put it so for now it stays.
* | USRP2P: This is surprisingly involved. Adding a consistent interface to deal ↵Nick Foster2010-10-122-2/+4
| | | | | | | | with hardware revisions.
* | USRP2P: Little bit of commonality in the include files. No functional change.Nick Foster2010-10-081-4/+2
| |
* | U2P: Bootloader works, successfully loads production image.Nick Foster2010-10-089-202/+268
| | | | | | | | Split I2C into async and sync halves to keep the size of the bootloader small.
* | U2P: Whoops.Nick Foster2010-10-071-1/+1
| |
* | U2P: Bootloader/ICAP updates. 2-stage bootloader works. Uses EEPROM for ↵Nick Foster2010-10-076-61/+91
| | | | | | | | state info.
* | U2P: 32/64Mbit FLASH support, internal reference support for U2P r2Nick Foster2010-10-051-4/+5
| |
* | 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
| |