discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] alternate fpga image


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] alternate fpga image
Date: Sun, 14 Jan 2007 08:41:13 -0800
User-agent: Mutt/1.5.9i

On Sat, Jan 13, 2007 at 10:11:54PM -0800, Eric Blossom wrote:
> On Sat, Jan 13, 2007 at 08:37:18PM -0800, Loconut wrote:
> > 
> > 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:
> > address@hidden digital]# ./benchmark_tx.py -f 10e6 -r 100k -M .01
> > Can't find fpga bitstream: /usr/local/share/usrp/rev2/usrp_std.rbf
> > 
> > yet:
> > address@hidden 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?
> 
> 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




reply via email to

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