summaryrefslogtreecommitdiff
path: root/usrp2/host
AgeCommit message (Collapse)Author
2008-12-28Replaced USRP2 peek() with peek32(), handles endian-swapping if neededjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10174 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-27Implements USRP2 peek() command, allowing arbitrary reads from the internaljcorgan
Wishbone bus. Minor fix for USRP2 sync_to_pps() (uses correct packet type.) Example: >>> from gnuradio import usrp2 >>> u = usrp2.source_32fc() >>> u.peek(0x1234, 4) # Read four bytes at offset 0x1234 (code) (185, 244, 253, 164) >>> The return value will be zero length upon error. The read address must be 32-bit aligned, and only the lower 16 bits are significant. The length must be an integral multiple of 4 bytes. There is currently a read limit of 176 bytes per read; to change requires some additional firmware changes to allocate a larger reply packet. WARNING: Trying to read from memory locations not serviced by RAM or by a Wishbone peripheral may result in a hang requiring a USRP2 power cycle. The USRP2 internal memory map is documented in usrp2/firmware/lib/memory_map.h. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10172 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-24Merged r10071:10164 from features/cppdb-test into trunk. Implements the ↵jcorgan
fully native C++ API for the USRP. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10165 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-14Implement sync_to_pps command for USRP2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10116 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27backed out 9874eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9877 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27An insufficient attempt to fix the set_freq problem...eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9874 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-26Merged r9834:9855 from jcorgan/u2-wip into trunk. Catches up gr-usrp2 with ↵jcorgan
the latest changes in libusrp2, adding all the daughterboard accessor functions. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9856 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22added missing tx_interp and rx_decim proxieseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9820 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22added rx_decim and tx_interp accessorseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9819 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22Added methods to query daughterboard parameters. Merged eb/u2-wip2eb
-r9804:9814 into trunk; initialized dacmux in firmware. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9816 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-24Renamed identifiers for consistency: s/complex_float/32fc/ s/complex_16/16sc/. eb
Merged eb/u2-wip -r9645:9646 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9647 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-23usrp2 work-in-progresseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9643 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-23Adds usrp2.sink_32fc, usrp2.sink_16sc, refactoring, cleanupjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9641 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-20Ensure that usrp2 background thread runs at good pri. Doesn't fix SSSS problemeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9611 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-19removed sudoeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9604 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-08Merged r9433:9527 from features/gr-usrp2 into trunk. Adds usrp2 and ↵jcorgan
gr-usrp2 top-level components. Trunk passes distcheck with mb-gcc installed, but currently not without them. The key issue is that when mb-gcc is not installed, the build system skips over the usrp2/firmware directory, and the firmware include files don't get put into the dist tarball. But we can't do the usual DIST_SUBDIRS method as the firmware is a subpackage. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9528 221aa14e-8319-0410-a670-987f0aec2ac5