Yan Nie wrote:
Hello,
I've created my own .rbf file. I see the USRP loads the FPGA bitstream
from /usr/rev{2,4}/*.rbf, but it doesn't allow me to copy my .rbf file
into this directory.
I assume you tried the cp as root?
How can I load my FPGA bitstream?
A quick look at http://gnuradio.org/doc/doxygen/index.html (which is a
golden place) I found for instance
usrp_sink_c_sptr
<http://gnuradio.org/doc/doxygen/classboost_1_1shared__ptr.html> usrp_make_sink_c
<http://gnuradio.org/doc/doxygen/classusrp__sink__c.html#c54a4bc557defc1c1157d09ef523cb4a>
(int which_board, unsigned int interp_rate, int nchan, int mux, int
fusb_block_size, int fusb_nblocks, const std::string fpga_filename,
const std::string firmware_filename) throw (std::runtime_error)
Although this is the c++ consturctor for a complex usrp sink, the
mapping to python should be straight forward, and similar syntax (if not
identical) can be used for the other types of sources/sinks.
Hope this helps, and is what you asked for
//Mattias
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio