Alternate fpga image


#1

I’ve tried placing my usrp_std.rbf in /usr/local/share/usrp/rev2 (I have
a
rev3 board) as well as in rev4, but that fails to load my firmware… I
also
tried eiding transmit_path.py (testing gmsk) to be:
self.u = usrp.sink_c(fusb_block_size=self._fusb_block_size,
fusb_nblocks=self._fusb_nblocks,
fpga_filename="/usr/local/share/usrp/rev2/usrp_std.rbf")

at line 109 and that causes:
[root@localhost digital]# ./benchmark_tx.py -f 10e6 -r 100k -M .01
Can’t find fpga bitstream: /usr/local/share/usrp/rev2/usrp_std.rbf

yet:
[root@localhost digital]# ls -la /usr/local/share/usrp/rev2/
total 748
drwxr-xr-x 2 root root 4096 Jan 13 22:27 .
drwxr-xr-x 4 root root 4096 Jan 13 10:08 …
-rw-r–r-- 1 root root 180809 Jan 13 10:08 multi_2rxhb_2tx.rbf
-rw-r–r-- 1 root root 176948 Jan 13 10:08 std_2rxhb_2tx.rbf
-rw-r–r-- 1 root root 173865 Jan 13 10:08 std_4rx_0tx.rbf
-rw-r–r-- 1 root root 17622 Jan 13 10:08 std.ihx
-rw-rw-r-- 1 root root 177037 Jan 13 22:05 usrp_std.rbf

did I miss something?

View this message in context:
http://www.nabble.com/alternate-fpga-image-tf2982494.html#a8329794
Sent from the GnuRadio mailing list archive at Nabble.com.


#2

On Sat, Jan 13, 2007 at 08:37:18PM -0800, Loconut wrote:

Can’t find fpga bitstream: /usr/local/share/usrp/rev2/usrp_std.rbf
-rw-rw-r-- 1 root root 177037 Jan 13 22:05 usrp_std.rbf

did I miss something?

You can specify the fpga image to load using the fpga_filename keyword
argument. E.g.,

u = usrp.sink_c(fpga_filename = ‘myfile.rbf’)

Eric


#3

On Sat, Jan 13, 2007 at 10:11:54PM -0800, Eric B. wrote:

[root@localhost digital]# ./benchmark_tx.py -f 10e6 -r 100k -M .01
-rw-r–r-- 1 root root 17622 Jan 13 10:08 std.ihx
-rw-rw-r-- 1 root root 177037 Jan 13 22:05 usrp_std.rbf

did I miss something?

You can specify the fpga image to load using the fpga_filename keyword
argument. E.g.,

u = usrp.sink_c(fpga_filename = ‘myfile.rbf’)

Eric

Sorry, I must have been asleep when I sent this :wink:

FWIW, the reason we tack on the “path to the standard place” (which
includes the rev) is to avoid accidentally loading an rbf for the
wrong board rev into the USRP and killing it.

Eric