| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX.
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
These firmware files for the usrp1 are imported from
GNURadio.
|
| | |
| | |
| | |
| | | |
Changed memory map to correspond to new tx_policy code.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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!
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
for results first. In fact, don't try to do
an I2C transaction while an SPI transaction is pending.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
When we have real error handling in the DUDE/BRO protocol we'll add this back in.
|
| | | |
|
| | | |
|
| |/ |
|
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
timeout defined in hal_uart.h.
|
| |
| |
| |
| | |
the world but there's only so many GPS interfaces out there.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_regs.hpp
|
| |
| |
| |
| | |
pool
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Should look further into initializing ALL clocks on host side.
|
| |
| |
| |
| | |
smarts have been host-side for a while, so this is redundant code.
|
| | |
|
| |
| |
| |
| | |
TX. Yellow LED on connector blinks on TX/RX.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
also added a templated host to/from network conversion in byteswap.hpp (didnt use it though)
|
|
|
|
|
|
| |
added more notes on buffer size to the manual
pulled in some firmware fixes from the mimo work, just to have them in here
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Fix bug in codec control.
Comment out some clock control in fw code.
|