Forum: GNU Radio alternate fpga image

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dad63495ad946099d72d3a24387d0ed6?d=identicon&s=25 Loconut (Guest)
on 2007-01-19 16:31
(Received via mailing list)
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-tf29824...
Sent from the GnuRadio mailing list archive at Nabble.com.
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-09-25 22:50
(Received via mailing list)
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
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-09-25 22:51
(Received via mailing list)
On Sat, Jan 13, 2007 at 10:11:54PM -0800, Eric Blossom 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 ;)

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
This topic is locked and can not be replied to.