summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_base.h
AgeCommit message (Collapse)Author
2009-02-23Cleanup, changed ifc_name() to interface_name()jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10477 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-22Adds ifc_name() to libusrp2 and gr-usrp2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10475 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-29Implements USRP2 poke32() command.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10176 221aa14e-8319-0410-a670-987f0aec2ac5
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-15Add sync_to_pps to gr-usrp2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10121 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-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