aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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!
* 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.
* Added recovery app to use raw socket to burn known ip addr.Josh Blum2010-03-163-25/+13
| | | | Fixed up fw so the device can reply after new addrs are set.
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-161-2/+2
| | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....)
* Ability to burn mac addr and ip addr to usrp2 (over ip/udp for now).Josh Blum2010-03-152-17/+70
| | | | Added firmware support and usrp2 burner host app.
* Moved timeouts into the udp transports.Josh Blum2010-03-042-13/+0
| | | | | | Simplified the fast path checking in the fw, but it turns out this was not the issue. Fixed some bad bit operations with the 16sc words (dont forget sign extension). Added some more documentation to the headers....
* The net common is too slow in usrp2 firmware to figure out if its vrt data.Josh Blum2010-03-022-0/+12
| | | | | Added a custom function to tell if a packet is vrt data, seems to be feeding fast enough at this rate... Fixed some buffer size calculation logic.
* Added control code in the txrx.c and dboard interface for usrp2 to handle ↵Josh Blum2010-02-162-6/+9
| | | | gpio and atr
* Restored microblaze build (accidentally removed makefile ams and gitignores ↵Josh Blum2010-02-162-0/+137
| | | | when doing cmake for host)
* Removed Autotools stuff and the git ignore files.Josh Blum2010-02-152-137/+0
| | | | | Feeding cpack a readme and license file. Added readme contents.
* Reading the dboard ids from the usrp2.Josh Blum2010-02-122-1/+2
|
* Getting hello packets from the usrp2 with ip and mac addrs.Josh Blum2010-02-112-166/+2
| | | | Cleaned up the mb build system a bit.
* net_common working in this state with control udp packetsJosh Blum2010-02-1011-4/+952
|
* removed dboard filesJosh Blum2010-02-108-2044/+22
|
* Copied a snapshot of the usrp2 firmware into the microblaze firmware ↵Josh Blum2010-02-1072-0/+8949
directory in the uhd repo. Added erllc copyrights to the files created and modified at erllc.