Josh Blum
4c3ba01900
usrp-n210: removed fw warnings, bootloader does full size 16k load
2010-12-18 00:09:55 -08:00
Josh Blum
0e66165d43
udp_ports: set the source and destination ports
2010-12-17 13:45:57 -08:00
Nick Foster
afd21d0a3e
N210: ZPU firmware bootloader changes
2010-12-16 15:41:52 -08:00
Josh Blum
d6eae2063c
usrp2: added support in fw for setting dsp0 and err0 ports with protocol framer changes
2010-12-15 23:51:29 -08:00
Nick Foster
62338938a0
ZPU: bootloader for 210 mods
2010-12-15 11:58:02 -08:00
Nick Foster
5afdc004a7
Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into next
2010-12-15 10:56:59 -08:00
Josh Blum
afa7c91dfc
usrp-n2xx: moved perifs out of 0-16k to +20k to not intersect with a virtual cpu address space
2010-12-15 10:42:27 -08:00
Nick Foster
b729d3e064
Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into next
2010-12-14 18:11:21 -08:00
Josh Blum
a338403c05
usrp2: removed mb linker stuff, added bootloader + rmi gen
2010-12-14 16:16:11 -08:00
Nick Foster
14766b47af
Merge branch 'zpu' of ettus.sourcerepo.com:ettus/uhdpriv into next
2010-12-14 15:35:59 -08:00
Nick Foster
3d70da92fc
ZPU: bootloader changes for new ZPU
2010-12-14 15:34:49 -08:00
Josh Blum
03d200f948
usrp2: updated images Makefile for the zpu gcc compiler
2010-12-14 14:04:39 -08:00
Josh Blum
fcfac9f360
usrp2: removed auto* stuff (except usrp2p) and added to readme and authors
2010-12-14 13:30:39 -08:00
Josh Blum
c4fe49e84a
usrp2: replaced hal interrupt with NOPS, removes warnings
2010-12-14 13:21:11 -08:00
Josh Blum
01d5209e10
Merge branch 'zpu' into next
2010-12-14 13:13:29 -08:00
Josh Blum
42c8c0873c
zpu: working txrx, modified blink lights to look better, no interrupt (poll handler)
2010-12-14 13:10:12 -08:00
Josh Blum
219bcb1af4
packet_router: reject icmp dest unreachable when port does not match
2010-12-13 15:54:56 -08:00
Josh Blum
3926ee4fb5
zpu: added blink lights to usrp2
2010-12-12 18:24:03 -08:00
Nick Foster
4ead29c688
ZPU: -ffunction-sections
2010-12-12 18:23:55 -08:00
Josh Blum
c08da91e83
usrp-n: created cmake/zpu build for firmware
2010-12-12 18:23:46 -08:00
Josh Blum
096405b929
packet_router: added control register to set the udp control port
2010-12-11 18:43:48 -08:00
Josh Blum
ecdb22b449
packet_router: added cpu input and output control registers, modified control code
2010-12-11 18:43:10 -08:00
Josh Blum
07de916b76
packet_router: added sregs for ip addr and ports
...
the pkt control now programs the inspector with port and ip addr
set the eth mac to pass all unicast
added easy debug flag to net common
2010-12-11 18:43:10 -08:00
Josh Blum
95499e2e13
packet_router: dont register mac, also reorganized some tidbits
2010-12-11 18:43:09 -08:00
Josh Blum
6004410a7b
packet_router: implemented code to program the addresses into the router
2010-12-11 18:43:09 -08:00
Josh Blum
fe35b8ae07
packet_router: split control transaction for commit into two lines
2010-12-11 18:43:09 -08:00
Josh Blum
9f28245c26
packet_router: added helper functions to packet router, added clear, fixed handshake, garp at start
2010-12-11 18:43:09 -08:00
Josh Blum
8f07cc031b
packet_router: take that back and only garp when link is up (FIXME initial state before garp call)
2010-12-11 18:43:09 -08:00
Josh Blum
a1f3a66050
packet_router: enable the serdes and always send GARP
2010-12-11 18:43:09 -08:00
Josh Blum
8fcd9f4213
packet_router: filter on dest ip addr and bcast mac addr
2010-12-11 18:43:09 -08:00
Josh Blum
68af2b9ccf
usrp2: implement routing mode calls, and prefix pkt ctrl calls
2010-12-11 18:43:09 -08:00
Josh Blum
58d19c5adf
usrp2: remove non-relevant buffer pool things from memory map
2010-12-11 18:43:09 -08:00
Josh Blum
b621dea91e
usrp2: replaced spi and i2c async stuff with sync (since were out of the fast-path)
2010-12-11 18:43:09 -08:00
Josh Blum
57fcedbba7
usrp2: removed buffer pool macros and constants from memory map
2010-12-11 18:43:09 -08:00
Josh Blum
5d9cf99cad
usrp2: implemented packet ctrl to read and write slow path packets from the new interface
2010-12-11 18:43:08 -08:00
Josh Blum
6f2d1b519a
usrp2: pretty much gutted the buffer pool stuff with other misc changes, not in working shape
2010-12-11 18:43:08 -08:00
Josh Blum
d35b732771
Merge branch 'flow_ctrl' into next
2010-11-23 09:57:33 -08:00
Nick Foster
a2dfa1988c
N200 comes up with default IP and MAC when booted in safe mode (button pushed).
2010-11-22 16:50:14 -08:00
Nick Foster
768af46dc0
Firmware mem map changes for flow ctrl somehow didn't get propagated.
...
Also removed firmware update fw rev checking -- it occurs to me that checking fw rev in order to update fw is counterproductive.
2010-11-18 10:00:00 -08:00
Nick Foster
95cf7753c1
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into flow_ctrl
...
Conflicts:
host/lib/transport/udp_simple.cpp
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_iface.cpp
host/lib/usrp/usrp2/usrp2_regs.hpp
2010-11-17 18:31:21 -08:00
Nick Foster
e0b3b4e3dd
U2P: Ripped out the mboard_rev_t structure in favor of an enum in usrp2_regs.hpp and some logic.
...
Also change ethernet.c to move generic code to eth_lib.
2010-11-10 16:23:11 -08:00
Nick Foster
fb0cdbc553
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p-next
...
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
2010-11-10 12:15:35 -08:00
Josh Blum
81c9f77306
usrp2: implemented clear state for RX and TX control, and zero sample command support
2010-11-08 17:22:37 -08:00
Josh Blum
374f6ff05e
Merge branch 'master' into flow_ctrl
...
Conflicts:
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_impl.hpp
2010-11-05 21:22:54 -07:00
Josh Blum
94a492dc40
uhd: rename identifier for usrp1 eeprom, and fix offsets, add serial support to usrp2
2010-11-05 17:39:18 -07:00
Josh Blum
3ac3457184
Merge branch 'good_stuff' into mb_eeprom
...
Conflicts:
firmware/fx2/include
2010-11-05 13:53:39 -07:00
Josh Blum
c473cc56fa
usrp1: pulled in cmake build system for usrp1 firmware
2010-11-05 12:32:09 -07:00
Josh Blum
fcf9f6ba32
usrp2: move mboard eeprom instance into iface to the clock control can access it
2010-11-04 20:38:25 -07:00
Josh Blum
7c36bc7b74
Merge branch 'good_stuff' into mb_eeprom
2010-11-04 19:40:02 -07:00
Josh Blum
c8cb4bcadc
usrp2: implemented mboard eeprom into usrp2 mboard
2010-11-04 19:39:57 -07:00
Josh Blum
7a7e704fa3
Merge branch 'ovfl' into good_stuff
2010-11-04 19:37:36 -07:00
Josh Blum
2ce71ded9d
Merge branch 'garp' into flow_ctrl
2010-10-22 11:24:37 -07:00
Josh Blum
8a695c0684
usrp2: fw sends gratuitous arp on link-up
2010-10-22 11:05:27 -07:00
Josh Blum
2628d78e0d
Merge branch 'usrp2_overflow' into flow_ctrl
...
Conflicts:
host/lib/usrp/usrp2/usrp2_impl.hpp
2010-10-21 15:32:20 -07:00
Josh Blum
bd59192bd4
usrp2: handle real overflow packets in host, reload continuous stream cmd, remove firmware handling
2010-10-21 12:27:49 -07:00
Josh Blum
376e22ca3b
usrp2: handle destination port unreachable icmp in fw (kills streaming and update packets)
2010-10-13 18:38:54 -07:00
Nick Foster
5b4cbfe461
USRP2P: mboard rev works through props interface.
...
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.
2010-10-12 16:26:19 -07:00
Josh Blum
2c08c9a7e6
usrp2: register overflow, underflow, and pps level for pic
...
also fix minor build issue w/ LDADD
2010-10-12 15:24:37 -07:00
Nick Foster
5982ec4ee2
USRP2P: This is surprisingly involved. Adding a consistent interface to deal with hardware revisions.
2010-10-12 14:46:41 -07:00
Josh Blum
453b450aa2
usrp2: implemented flow control monitor
...
set registers in mboard impl to enable asyn fc packets
modified microblaze code to handle dummy data packet offset
2010-10-11 16:31:51 -07:00
Nick Foster
4a6990c5d3
USRP2P: Little bit of commonality in the include files. No functional change.
2010-10-08 13:38:55 -07:00
Nick Foster
7db726e9b4
U2P: Bootloader works, successfully loads production image.
...
Split I2C into async and sync halves to keep the size of the bootloader small.
2010-10-08 12:50:00 -07:00
Nick Foster
4ed75835c8
U2P: Whoops.
2010-10-07 18:12:51 -07:00
Nick Foster
c205cd329b
U2P: Bootloader/ICAP updates. 2-stage bootloader works. Uses EEPROM for state info.
2010-10-07 18:09:53 -07:00
Nick Foster
92fdf6ab25
U2P: 32/64Mbit FLASH support, internal reference support for U2P r2
2010-10-05 11:53:43 -07:00
Nick Foster
ed245848df
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
...
Conflicts:
host/lib/usrp/usrp2/CMakeLists.txt
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_regs.hpp
2010-09-15 14:58:44 -07:00
Nick Foster
b96088b692
EEPROM burning in UHD. Changed some USB device handle stuff. Added usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX.
2010-08-31 16:44:30 -07:00
Nick Foster
0019bb0543
Change to get codec_impl to compile, dur.
...
Changed memory map to correspond to new tx_policy code.
2010-08-25 18:55:09 -07:00
Josh Blum
2f3269f359
usrp1: images for usrp1, makefile checks for image generation dependencies
2010-08-19 18:23:19 -07:00
Nick Foster
769b565dbd
Merge branch 'usrp2p_udpfw' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
2010-08-18 14:49:52 -07:00
Nick Foster
2da87fa508
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
2010-08-18 14:48:35 -07:00
Nick Foster
42547a0be8
Moved UDP firmware update stuff out of fw_common.h into udp_fw_update.h.
...
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.
2010-08-18 14:38:50 -07:00
Nick Foster
9d10efa5f0
UDP firmware update support for USRP2P.
...
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!
2010-08-17 18:35:11 -07:00
Josh Blum
ea86054d72
Merge branch 'master' into usrp1
2010-08-17 17:52:17 -07:00
Nick Foster
288f932423
usrp2: don't forward dbsm errors
2010-08-16 17:44:05 -07:00
Nick Foster
ecc971c613
IRQ-based SPI works. Don't try to do multiple transactions without waiting for results first. In fact, don't try to do
...
an I2C transaction while an SPI transaction is pending.
2010-08-16 17:29:40 -07:00
Nick Foster
20d1f96f95
syntax
2010-08-16 17:29:40 -07:00
Nick Foster
5b5f8901f5
first stab at irq'ed spi
2010-08-16 17:29:40 -07:00
Nick Foster
c23a4c4334
Removed NACK checking so things don't barf when daughterboards aren't connected.
...
When we have real error handling in the DUDE/BRO protocol we'll add this back in.
2010-08-16 17:29:40 -07:00
Nick Foster
936c5518e4
Fix warnings related to const-ness and volatile-ness.
2010-08-16 17:29:40 -07:00
Nick Foster
40faee2e6d
Finished GPS driver, more or less.
...
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.
2010-08-16 16:11:45 -07:00
Thomas Tsou
b3a092055a
usrp1: Add SPI transaction command to FX2 firmware
...
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
2010-08-13 17:54:01 -07:00
Nick Foster
f626a4f21d
Fixed behavior when no GPS present.
2010-08-13 17:28:08 -07:00
Nick Foster
ac899c0052
Small fix for fngets
2010-08-13 16:18:02 -07:00
Nick Foster
d96e9f907e
Increased UART timeout for slow Jackson Labs GPSDO. Fixed up timeout code.
2010-08-13 13:07:14 -07:00
Thomas Tsou
70eae1d242
usrp1: Add FX2 firmware files
...
These firmware files for the usrp1 are imported from
GNURadio.
2010-08-13 12:25:36 -07:00
Nick Foster
6bde8e29eb
Added timeout functionality for UART gets() calls. use fngets_timeout(). timeout defined in hal_uart.h.
2010-08-13 12:09:28 -07:00
Nick Foster
f09d9820ed
first stab at a GPS driver in gps_ctrl.cpp. not the most expandable thing in the world but there's only so many GPS interfaces out there.
2010-08-13 11:34:07 -07:00
Nick Foster
6be2b64ce8
Fixed GPS UART stuff. Works OK.
2010-08-12 18:13:45 -07:00
Nick Foster
e42230e7fa
Added UART transactions to the DUDE/BRO protocol.
2010-08-12 15:17:58 -07:00
Nick Foster
32c40b5f59
Working support for multiple UARTs.
...
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.
2010-08-12 10:23:33 -07:00
Nick Foster
dfafbd5f2d
Branch to make use of quad UART on USRP2P.
2010-08-11 14:20:50 -07:00
Nick Foster
663808e847
Merge branch 'master' into usrp2p
...
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
2010-08-10 17:02:47 -07:00
Nick Foster
579268112a
Bring in changes since last week.
2010-08-10 14:53:26 -07:00
Nick Foster
5514d168ab
Interrupt-driven I2C. txrx_uhd uses async i2c for comms.
2010-08-10 14:16:48 -07:00
Josh Blum
f6c3178c7c
usrp2: added fpga compat number, renamed firmware proto version to compat
2010-08-09 18:29:13 -07:00
Josh Blum
4240d5a2a1
usrp2: reorganized firmware directory
2010-07-30 12:43:41 -07:00
Nick Foster
90a5d84a18
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
...
Conflicts:
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_regs.hpp
2010-07-29 18:12:20 -07:00
Josh Blum
23a0454998
usrp2: added tx policy register and changed fw to not handle error in buffer pool
2010-07-29 16:00:39 -07:00
Nick Foster
f39c4538a3
Clock bugs, LED order.
...
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.
2010-07-29 10:12:45 -07:00
Nick Foster
f9cec099f9
Added back in clock_mimo_enable stuff since USRP2 breaks without it.
...
Should look further into initializing ALL clocks on host side.
2010-07-28 18:22:32 -07:00
Nick Foster
329415df45
Stripped out all the clock functionality except for init'ing the FPGA. Clock smarts have been host-side for a while, so this is redundant code.
2010-07-28 16:48:45 -07:00
Nick Foster
b82b3f7a6f
Widened SPI slave select bus to 16 bits in host and firmware.
2010-07-28 14:48:45 -07:00
Nick Foster
fd3a2ac058
Ethernet blinky light changes. Link LED works. D201 (next to PHY) blinks on TX. Yellow LED on connector blinks on TX/RX.
2010-07-28 09:54:56 -07:00
Nick Foster
9b63845669
Ethernet mods for activity LED.
2010-07-27 20:11:05 -07:00
Nick Foster
06b0fc51c9
Ethernet PHY re-do.
2010-07-27 19:18:48 -07:00
Nick Foster
7aec87d83f
Deleted manually those files to correspond with USRP2P branch.
2010-07-26 15:47:01 -07:00
Nick Foster
f72ad02f5e
New branch with firmware dir from USRP2P branch.
2010-07-26 15:33:30 -07:00
Josh Blum
8a7a824848
usrp2: installed a simple dbsm_rx_inspector, it wont work without it...
2010-07-16 20:38:19 -07:00
Josh Blum
8171547b6c
usrp2: remove mb intervention on outgoing packets
2010-07-15 18:47:07 -07:00
Josh Blum
4594aef53f
usrp2: forward errors in the dbsm to communicate them up to the host
2010-07-12 20:38:33 -07:00
Josh Blum
a95eaac42f
usrp2: Added a peek64 to read pairs of 32 bit numbers such as time64
...
also added a templated host to/from network conversion in byteswap.hpp (didnt use it though)
2010-07-05 19:12:01 -07:00
Josh Blum
01e5f592d6
usrp2: increased transport buffer minimum size, and added warning
...
added more notes on buffer size to the manual
pulled in some firmware fixes from the mimo work, just to have them in here
2010-07-05 12:29:31 -07:00
Josh Blum
a950a544f5
usrp2 mb: replace hard coded constants with macros for rx offset
2010-06-18 10:52:24 -07:00
Josh Blum
81f211c94f
Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface 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.
2010-05-11 16:35:01 -07:00
Josh Blum
7c7b0d0a0d
Added a place for serdes control on the host.
...
Fix bug in codec control.
Comment out some clock control in fw code.
2010-05-10 16:37:12 -07:00
Josh Blum
650e0d9b35
Merge branch 'shrinkfw' into usrp2
2010-05-10 14:18:00 -07:00
Josh Blum
2780e2cff0
added icmp echo reply to usrp2
2010-05-03 17:21:32 -07:00
Josh Blum
30bd666e30
Moved some misc setting registers into host.
2010-04-28 17:38:22 -07:00
Josh Blum
c79595e6cc
removed some unused things like gpio from microblaze code
2010-04-28 17:23:55 -07:00
Josh Blum
a7c230cb1f
Added reload flag to the stream cmd.
...
This reloads the last command to handle continuous streaming in hardware.
Moved rx control register setup and stream command issuing to the host.
2010-04-28 16:35:22 -07:00
Josh Blum
f040d79d25
Merge branch 'eeprom' of git@ettus.sourcerepo.com:ettus/uhdpriv
2010-04-26 12:19:00 -07:00
Josh Blum
15befa19de
renamed the firmware main image to txrx_uhd.bin
2010-04-25 22:17:16 -07:00
Josh Blum
039eceb4b2
Moved reading the eeprom (dboard ids) onto the host.
...
Created a eeprom parser for the format in the dboard.
Removed the support from the microblaze code.
2010-04-23 19:21:47 -07:00
Josh Blum
19a2f02768
toggle led a for continuous streaming
2010-04-22 13:24:21 -07:00
Josh Blum
e5248746f6
Added protocol version number to usrp2 common header and data struct.
2010-04-21 17:49:00 -07:00
Josh Blum
0d365ff303
pulled aux dac and adc support from microblaze, its in the host now
2010-04-19 18:31:16 -07:00
Josh Blum
c10e58cf25
removed unused firmware code
2010-04-13 16:19:33 -07:00
Josh Blum
841400bb4e
Moved ad9777 control 100% on to the host
2010-04-13 16:08:14 -07:00
Josh Blum
b66a74ff1f
Reworked the spi part of the dboard interface.
...
It turns out to be more complicated.
The integer type is better for holding the bits.
The edges can be different, so the spi config hold 2 edge setting for mosi and miso.
2010-04-07 00:46:42 -07:00
Josh Blum
12aa8ad74c
added 16 bit peek and poke, 16 bit register defs for gpios and atrs
2010-04-05 12:18:17 -07:00
Josh Blum
83bd55d639
extended stream cmd with mode enum, and extended fragment flags in metadata
2010-04-03 19:43:20 -07:00
Josh Blum
f01b1a394f
added spi slaves to regs, use std copy for buffs
2010-03-31 19:25:22 -07:00
Josh Blum
f15df8146c
Moved dsp (rx and tx), time config, and clock config (mostly) into the host.
2010-03-31 18:55:48 -07:00
Josh Blum
38248b816c
Refactor ATR part of dboard interface (and some constants).
...
Added peek and poke to the dude/bro protocol.
Started moving more control code through peek and poke.
Added usrp_regs.hpp to be like memory map for slave perifs.
2010-03-31 17:43:20 -07:00
Josh Blum
2276c737e8
removed that fw sets seq stuff, not applicable
2010-03-26 13:45:51 -07:00
Josh Blum
1657a02203
insert correct control word and vrt len into the buffer
2010-03-26 12:54:20 -07:00
Josh Blum
af586ae149
Overhaullllllled the way we do streaming. There is an odd bug where
...
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.
2010-03-25 18:36:16 -07:00
Josh Blum
de2e7bb9ac
added easy way to compile firmware for debug mode
2010-03-24 18:03:03 -07:00
Josh Blum
6458eca954
Added recovery app to use raw socket to burn known ip addr.
...
Fixed up fw so the device can reply after new addrs are set.
2010-03-16 17:54:54 -07:00
Josh Blum
8be3b883f5
Added ability to set the subdevices in use for rx and tx dboards.
...
This is used to calculate and set the ddc and duc muxes.
Also, minor fix for burning addrs (wrong pointer....)
2010-03-16 13:49:39 -07:00
Josh Blum
e4997af845
Ability to burn mac addr and ip addr to usrp2 (over ip/udp for now).
...
Added firmware support and usrp2 burner host app.
2010-03-15 16:00:07 -07:00
Josh Blum
8e9a846438
Added simple device to handle wrapping general properties up into simple api.
...
Added setting time capability to the usrp2 impl.
Messing with props and time specs...
2010-03-10 14:47:03 -08:00
Josh Blum
bb86022d5a
Moved timeouts into the udp transports.
...
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....
2010-03-04 18:34:28 -08:00
Josh Blum
13bd67b494
The net common is too slow in usrp2 firmware to figure out if its vrt data.
...
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.
2010-03-02 14:48:11 -08:00
Josh Blum
4510672953
Send the number of samples per datagram over the control.
...
Worked on the io impl for usrp2 (added loop unrolls and 32 bit buffers).
Added some vrt rx constants to the fw common used by host and fw.
Removed the MTU prop and added a general device prop for num samples.
2010-03-01 16:13:30 -08:00
Josh Blum
6e8473e6ee
Recv noise with uhd.
2010-03-01 11:50:14 -08:00
Josh Blum
588278f567
Put fast path code (rx setup) back into txrx.c.
...
Store the fast path addrs in the udp data handler.
2010-02-23 17:58:41 -08:00
Josh Blum
6b7c53985c
Work on the io interface for a device (and some implementation work in usrp2).
...
Modified the udp transport to reflect some of these changes.
Got the fw compiling again, and it will not set data to true for small payloads (configuration ones).
2010-02-22 18:47:05 -08:00
Josh Blum
aab51fa407
DDC enable with stream at control OTW
2010-02-19 16:53:56 -08:00
Josh Blum
ea9d55b17b
DUC and DDC control packets OTW
2010-02-19 16:22:25 -08:00
Josh Blum
f439fe8218
Added control for usrp2 aux dac and adc control.
2010-02-17 18:29:16 -08:00
Josh Blum
b9497ba5b8
Added i2c control transactions in fw and host
2010-02-17 17:33:26 -08:00
Josh Blum
4fb4572e1a
Worked out spi api for the dboard interface.
...
Created usrp2 spi transaction control on host and fw
2010-02-17 16:23:12 -08:00
Josh Blum
eb7e709b7a
moved host code into host directory for clean (unambiguous) top level
2010-02-17 00:41:38 -08:00
Josh Blum
d8d783ce1b
Added control code in the txrx.c and dboard interface for usrp2 to handle gpio and atr
2010-02-16 19:17:29 -08:00
Josh Blum
6d891fdfbb
Setting the clock config over control
2010-02-16 17:49:29 -08:00
Josh Blum
ac35b51ea7
Moved the usrp2 implementation files into a usrp2 dir within mboard.
...
Filled in many of the properties for the mboard (including clock config).
2010-02-16 17:34:47 -08:00
Josh Blum
b942e603e9
Restored microblaze build (accidentally removed makefile ams and gitignores when doing cmake for host)
2010-02-16 15:31:40 -08:00
Josh Blum
e8b60b03e6
Removed Autotools stuff and the git ignore files.
...
Feeding cpack a readme and license file.
Added readme contents.
2010-02-15 17:29:19 -08:00
Josh Blum
51e5396079
Reading the dboard ids from the usrp2.
2010-02-12 19:46:09 -08:00
Josh Blum
9fff25f4e5
Added a templated dictionary class because its more useful than map.
...
Made the device addrs into a string:string dict.
If its all strings we dont have to change the top level caller for new product.
Created shared_iovec class to manage memory for device recvs.
Work on the bro/dude control protocol for usrp2.
2010-02-12 18:07:55 -08:00
Josh Blum
350f5c5dec
Getting hello packets from the usrp2 with ip and mac addrs.
...
Cleaned up the mb build system a bit.
2010-02-11 20:24:01 -08:00
Josh Blum
6c7d9f1f75
removed unwanted/broken files
2010-02-10 18:44:19 -08:00
Josh Blum
2b6c895b4f
net_common working in this state with control udp packets
2010-02-10 16:53:37 -08:00
Josh Blum
a61cc56bb6
removed dboard files
2010-02-10 12:30:05 -08:00
Josh Blum
d088a11bf7
Copied a snapshot of the usrp2 firmware into the microblaze firmware directory in the uhd repo.
...
Added erllc copyrights to the files created and modified at erllc.
2010-02-10 11:57:58 -08:00
Josh Blum
cbb8e474bb
Reorganized structure into include, lib, test, firmware, fpga.
...
The fpga and firmware are empty placeholders for now.
2010-01-12 14:43:43 -08:00