On Mon, 16 Jan 2012 13:58:33 -0600, LRK wrote: 

> I still can't
grok this:
> 
> I build UHD from the latest git clone.
> 
> Plug in the
USRP1 last running on GnuRadio 3.2.2 and dmesg shows:
> ugen4.2: at
usbus4 (i.e. loaded with old firmware)
> 
> Run uhd_find_devices 
> 
>
FreeBSD 8; GNU C++ version 4.2.2 20070831 prerelease [FreeBSD];
Boost_104500; UH
> D_003.004.000-1424488
> 
> UHD Warning:
> Could not
locate USRP1 firmware.
> Please install the images package.
> No UHD
Devices Found
> uhd_find_devices returned status 255
> 
> Using the
clues in Marcus' build-gnuradio script, I install the usrp1
> images in
{install_prefix}/share/uhd/images/
> 
> Run uhd_find_devices again
> 
>
FreeBSD 8; GNU C++ version 4.2.2 20070831 prerelease [FreeBSD];
Boost_104500; UH
> D_003.004.000-1424488
> 
>
--------------------------------------------------
> -- UHD Device 0
>
--------------------------------------------------
> Device Address:
>
type: usrp1
> name:
> serial: 00000000
> 
> uhd_find_devices returned
status 0
> 
> I get the same responses after powering the USRP1 down:
>
ugen4.2: at usbus4 (disconnected)
> ugen4.2: at usbus4
> ugen4.2: at
usbus4 (disconnected)
> ugen4.2: at usbus4
> 
> Seems like
uhd_find_devices found a USRP1 but rather than tell me the
> current
status, it tells me it can't find the firmware. Since the sdcc
> stuff
was eliminated in GnuRadio 3.5.0 it seems reasonable for the USRP1
>
firmware to be put somewhere in the install space. Also seems
reasonable
> for the USRP2/etc but I don't have those to test.
> 
>
Should uhd_find_devices just tell me what it found, including the
>
current load, or is there some reason to install the firmware?
> 
> I
think there is more than one possible firmware load for the USRP1.
>
Will the USRP1 be loaded if I build and run GnuRadio without first 
>
running uhd_find_devices?

The USRP1 absolutely requires that the
firmware be loaded every time it powers up, before it knows it's a USRP.
Prior to that, the FX2 only knows how to load firmware. This has always
been the case, even in "classic land" for the USRP1. So, USRP1 also
maintained firmware images on the filesystem where it expected to find
them. 

UHD keeps these at {prefix} (/usr/local on Linux)
uhd/share/images. 

The firmware/FPGA images for USRP1 haven't changed
in a long time, although there are multiple ones, for different
configurations. For example 8-bit with 16Msps requires the "4rx" image
to be loaded. 

What happens if you use: 

uhd_usrp_probe --args
"type=usrp1" 

?? 

  
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to