discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to load my own .rbf bitstream?


From: Mattias Kjellsson
Subject: Re: [Discuss-gnuradio] how to load my own .rbf bitstream?
Date: Mon, 11 Jan 2010 21:19:04 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]