aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p-nextNick Foster2010-11-106-4/+144
|\ | | | | | | | | | | | | | | | | | | 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
| * 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-044-0/+138
| |\
| | * usrp2: fw sends gratuitous arp on link-upJosh Blum2010-10-224-0/+138
| | |
| * | 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.
* | U2P: Bootloader works, successfully loads production image.Nick Foster2010-10-086-196/+261
| | | | | | | | Split I2C into async and sync halves to keep the size of the bootloader small.
* | U2P: Bootloader/ICAP updates. 2-stage bootloader works. Uses EEPROM for ↵Nick Foster2010-10-071-101/+0
| | | | | | | | state info.
* | Merge branch 'usrp2p_udpfw' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2pNick Foster2010-08-185-428/+71
|\ \
| * | Moved UDP firmware update stuff out of fw_common.h into udp_fw_update.h.Nick Foster2010-08-181-0/+71
| | | | | | | | | | | | | | | | | | | | | 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-174-428/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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-186-14/+265
|\ \ \ | |/ / |/| / | |/
| * 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-162-13/+18
| | | | | | | | | | | | for results first. In fact, don't try to do an I2C transaction while an SPI transaction is pending.
| * syntaxNick Foster2010-08-161-0/+1
| |
| * first stab at irq'ed spiNick Foster2010-08-162-0/+48
| |
| * 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
| |
| * Interrupt-driven I2C. txrx_uhd uses async i2c for comms.Nick Foster2010-08-103-10/+206
| |
| * usrp2: reorganized firmware directoryJosh Blum2010-07-3027-1901/+401
| |
* | 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-134-0/+28
| | | | | | | | 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-132-0/+8
| | | | | | | | the world but there's only so many GPS interfaces out there.
* | Fixed GPS UART stuff. Works OK.Nick Foster2010-08-122-5/+3
| |
* | Added UART transactions to the DUDE/BRO protocol.Nick Foster2010-08-123-1/+24
| |
* | Working support for multiple UARTs.Nick Foster2010-08-124-79/+120
| | | | | | | | | | | | | | 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-113-24/+46
| |
* | Clock bugs, LED order.Nick Foster2010-07-293-12/+18
| | | | | | | | | | | | | | | | | | | | 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-283-4/+266
| | | | | | | | 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 mods for activity LED.Nick Foster2010-07-272-2/+2
| |
* | Ethernet PHY re-do.Nick Foster2010-07-274-617/+0
| |
* | Deleted manually those files to correspond with USRP2P branch.Nick Foster2010-07-266-1477/+0
| |
* | New branch with firmware dir from USRP2P branch.Nick Foster2010-07-2627-18/+1581
|/
* usrp2: forward errors in the dbsm to communicate them up to the hostJosh Blum2010-07-121-2/+4
|
* Added a place for serdes control on the host.Josh Blum2010-05-102-20/+20
| | | | | Fix bug in codec control. Comment out some clock control in fw code.
* Merge branch 'shrinkfw' into usrp2Josh Blum2010-05-109-322/+4
|\
| * Moved some misc setting registers into host.Josh Blum2010-04-281-10/+0
| |
| * removed some unused things like gpio from microblaze codeJosh Blum2010-04-286-287/+4
| |
| * Added reload flag to the stream cmd.Josh Blum2010-04-284-27/+2
| | | | | | | | | | This reloads the last command to handle continuous streaming in hardware. Moved rx control register setup and stream command issuing to the host.
* | added icmp echo reply to usrp2Josh Blum2010-05-031-1/+18
|/
* Moved reading the eeprom (dboard ids) onto the host.Josh Blum2010-04-234-111/+0
| | | | | Created a eeprom parser for the format in the dboard. Removed the support from the microblaze code.
* pulled aux dac and adc support from microblaze, its in the host nowJosh Blum2010-04-196-241/+0
|
* removed unused firmware codeJosh Blum2010-04-133-370/+0
|
* Moved ad9777 control 100% on to the hostJosh Blum2010-04-135-168/+0
|
* Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-251-1/+2
| | | | | | | | | a zero length command (now, no chain) used to stop the streaming. Now it seems to do the reverse... must investigate. Made all clock configuration into enums. The strings were painful and there cant be that many variations that enums cant cover them. The enums will make more sense to developers than mystery strings.