On Wed, 2011-04-27 at 23:19 -0700, sh.sharma wrote:
In trying to understand the my problem, i start tracing usrp_rx_cfile…
some of the work i have done & track a function named usb_bulk_read called
in read function of fusb_ephandle_gfeneric class…
i think it reads data from usb(cyprex) part of USRP…
but i want to know that which part of the code in gnuradio/USRP block code
put the data in that cyprex part , and if this is automatically done by the
hardware board, then where is the code that is involve in this transaction…
If you’re asking about the older gr-usrp drivers, then:
gnuradio/usrp contains the driver that talks USB to the USRP, and the
firmware and FPGA code that run on the USRP itself.
gnuradio/gr-usrp contains the bridge that gets USRP data from the driver
The USRP has a Cypress FX2 USB controller which uses the GPIF interface
to talk to the Cyclone FPGA and read data from it. The firmware to
control the FX2 is in the gnuradio/usrp/firmware directory. The Cyclone
FPGA code is in gnuradio/usrp/fpga. The firmware on the FX2 isn’t smart
enough to do anything but SPI, I2C transfers, etc. so all the control
and tuning logic is in the host side driver, in gnuradio/usrp/host.
my current objective is to know about the complete data path of
i want to get the part from that the C++ takes control…
Or is it some of the important part id done other than C++ (means
verilog, matlab etc…) or these languages work only like drivers of USRP…
If you describe what you’re trying to do, we might be able to give you
more specific suggestions.