|
From: | Roshan Baliga |
Subject: | Re: [Discuss-gnuradio] Reprogram FPGA |
Date: | Tue, 24 Jul 2007 16:19:58 -0700 |
User-agent: | Thunderbird 2.0.0.5 (X11/20070716) |
S Mande wrote:
1) Do I need a 3rd party tool to transfer my code to the FPGA on USRP ? I remember using a JTAG cable and Active-HDL for this task when i worked with Aldec procesors.
I'm sure there are multiple ways to do this, but I just use the existing usrp framework to load the RBF file onto the fpga. That is, when I generate a new RBF file, I throw it into /usr/local/share/usrp/rev4/std_2rxhb_2tx.rbf and load it up with my own C application that links to libusrp.so. It's the quick and dirty way, but hey, it works.
2) I believe that the firmware is loaded everytime I run GNU radio. Is it that I replace the existing fpga Verilog firmware code ( .v file ) from its existing location .i.e. gnuradio folderwith my modified Verilog firmware code ?
The RBF file that is loaded is picked up from a predetermined location. In my case, with a rev 4 usrp, it's /usr/local/share/usrp/rev4/std_2rxhb_2tx.rbf. In your quartus project, the file you want is in usrp/fpga/toplevel/usrp_std/usrp_std.rbf
If you replace the file in /usr/local... with a new rbf file, the gnuradio code will load it next time you power cycle/run the USRP.
-Roshan
[Prev in Thread] | Current Thread | [Next in Thread] |