summaryrefslogtreecommitdiff
path: root/usrp2/firmware
AgeCommit message (Collapse)Author
2008-12-31Fix USRP2 peek32() max wordsjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10183 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-31Rename constant for clarityjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10181 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-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-17added frequency offset capability. Set to 12.5e6 on TX, 0 on RX for nowmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10125 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-14add break at end of new case to prevent fallthru. Also cleared up a warning.matt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10119 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-14Fix failure with interp > 128jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10117 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-12-07split test out into a functionmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10109 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-07more tests, for ram and sd cardmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10108 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-05implemented "reset master clock on next PPS" so we can easily sync multiple ↵matt
units without MIMO connections git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10103 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-05send a char to the serial port, but don't wait if the queue is fullmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10102 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-16removed old python commentsmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9999 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-16fixed gain calculations rfx900-2400matt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9998 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-16added a utility function to get the integer rounded gainmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9997 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-09more thorough testmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9963 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-09hardware control of ledsmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9962 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-09more thorough testmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9959 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-06removed obsolete test codeeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9941 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-31enable all rfx boardsmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9901 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27Fix (actually a bit of a kludge) for the frequency setting whileeb
streaming problem. You can now set the frequency in usrp2_fft.py while streaming without dying :-) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9878 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27Minor cleanup. eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9873 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27removed extra indentation. No change in functionalityeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9861 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-26Deadly printfs turned off... Specified gain ranges for TV Rx and RFX boards.eb
Still a problem setting the gain; Firmware takes too long to get back to service ethernet. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9860 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-25bugfix also override CPPnldudok1
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9844 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-10-18added in mux for DACsmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9807 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-15reverse the spectrum on the TVRX boardsmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9798 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-15Added firmware support for adc_mux to handle swapping I/Q, etc.eb
Modified dsp_core_rx.v to swap A and B mapping so that the software thinks that the TVRX is connected to A/D A. ISE 10.1 SP3 is required to compile the FPGA successfully. SP2 is insufficient. It compiles with SP2, but the firmware doesn't load. Only the F led is one in that case. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9795 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-14fixed problem with negative offsets in calc_dxc_freqeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9792 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-14mark RFX boards as i_and_q_swappedeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9791 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-14s/w support for tx and rx muxeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9790 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-14new tx and rx mux registerseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9789 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-14initialized freq_min/max valueseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9788 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-13fix diagnostic outputeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9786 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-13mods to build under old toolseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9785 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-12refactored divider setting on rxdb clk, txdb clk, and test clkmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9780 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-11New serdes status interrupt, clk_status interrupt. New capability to flush ↵matt
the ICache. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9779 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-11removed unneeded settingmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9778 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-07minor cleanupeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9725 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-04USRP2 firmware fixes for EDK 10.1 microblaze toolchain. Firmware now buildseb
and runs correctly using these tools. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9708 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-03fixes for EDK 10.1 toolseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9706 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-02fix for "double cross-compilation"eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9696 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-01Fixes ticket:297. Refactors how usrp2/firmware is built. Noweb
AC_CONFIG_SUBDIRS is always called, and there's a AM_CONDITIONAL in usrp2/firmware that decides whether anything really gets built or not. I think this will fix the "double cross" issue (cross-compiling the bulk of this for cell while cross-compiling the usrp2 firmware at the same time), though it's not tested yet. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9695 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-21new app to test the rammatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9634 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-19first cut at an app for testing. sets rev in eeprom, then runs txrx stuffmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9606 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-17firmware support for reading and writing the SD cardmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9588 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-17blink all leds, leave one on when done to say that firmware is running okmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9587 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-10now reads h/w rev from eeprom. f/w app set_hw_rev sets iteb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9554 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