Re: Gnuradio and Uhd on windows,

Hi Josh,

From your email, it looks like you did those things. When you run
uhd_find_devices, the driver will actually load a firmware image

and reset the USRP (if this is the first time it was powered up). You should see
the device disconnect and connect when this happens.

Anything like that happening?
I downloaded the image and I put the usrp1_fw.ihx and usrp1_fpga.rbf
into a
directory named image and I set the PATH

to that image directory.
When I power up the USRP1 it shows in the DeviceManager the
LibUSB-Win32
Devices → USRP filter (VID=FFFE; PID=0004), but when running the

uhd_find_devices there’s no change, the device is not disconnected and
reconnected, I don’t get any error message, nothing; from
…\UHD\bin>uhd_find_devices.exe
comes back to …\UHD\bin>.
I have Win XP installed on my laptop, no virtual machine. Really I
don’t know
what’s wrong (UHD is installed, image PATH is set) with it and

what could I do with it to make it run.

FYI, I uploaded a new gnuradio installer for windows, and added >> instructions
which can be found here: >>
Josh Knows | CMake GNU Radio Port

I downloaded and installed it as you described it, when trying to run
that
gnuradio\bin\gnuradio-companion.py I received an error message "Cannot
import
gnuradio.

Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?" even if I set
PYTHONPATH
and PATH correctly, I checked and double-checked it (I’m using the
Rapid Environment Editor).

Thanks,
Mark.

Mark Colin wrote:

When I power up the USRP1 it shows in the DeviceManager the LibUSB-Win32
Devices -> USRP filter (VID=FFFE; PID=0004

Isn’t LibUSB-Win32 the old libusb 0.1 driver? What happens if you
uninstall
the driver in the device manager and reinstall with the libusb 1.0
driver?

– Don W.

On 04/14/2011 05:56 AM, Don W. wrote:

Mark Colin wrote:

When I power up the USRP1 it shows in the DeviceManager the LibUSB-Win32
Devices → USRP filter (VID=FFFE; PID=0004

Isn’t LibUSB-Win32 the old libusb 0.1 driver? What happens if you
uninstall the driver in the device manager and reinstall with the libusb
1.0 driver?

Good call, from my recollection, it should say WinUSB something

http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Windows-USB-driver

__ OR __

There is zadig.exe:
http://www.libusb.org/wiki/windows_backend#DriverInstallation

-Josh

Hi Don W,

thank you very much, I uninstalled the old one and installed the new
one
version 1.0, but unfortunatelly it doesn’t change anything. I can see in
DeviceManager the libusb (WinUSB) devices → Ettus R. LLC USRP1
(VID=FFFE;
PID=0002; REV=0004). If I run uhd_find_devices.exe the result is the
same as
before, no error, from …\UHD\bin>uhd_find_devices.exe comes back to
…\UHD\bin>, so it’s a situation of everything is installed but nothing
works.
Anyway thank you very much for the information.

Have a nice day.

Best regards,
Mark.


From: Don W. [email protected]
To: Mark Colin [email protected]
Cc: [email protected]
Sent: Thu, April 14, 2011 3:56:45 PM
Subject: Re: [Discuss-gnuradio] Gnuradio and Uhd on windows,

Mark Colin wrote:

When I power up the USRP1 it shows in the DeviceManager the LibUSB-Win32
Devices → USRP filter (VID=FFFE; PID=0004

Isn’t LibUSB-Win32 the old libusb 0.1 driver? What happens if you
uninstall the
driver in the device manager and reinstall with the libusb 1.0 driver?

– Don W.

I downloaded and installed it as you described it, when trying to run that
gnuradio\bin\gnuradio-companion.py I received an error message "Cannot import
gnuradio.

Make sure you have the most recent installer (i posted yesterday)
http://www.ettus.com/downloads/gnuradio/gnuradio-built-2011-04-13/

I accidentally the python when I built the previous installer (due to an
issue with a relative path). So the site-packages were completely
missing.

You can also test this quickly w/

python.exe -c “from gnuradio import gr”
python.exe -c “from gnuradio import uhd”

Does it show errors?

Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?" even if I set PYTHONPATH
and PATH correctly, I checked and double-checked it (I’m using the
Rapid Environment Editor).

I know, nice isnt it?

-Josh

On 04/14/2011 03:08 PM, Mark Colin wrote:

Hi Don W,

thank you very much, I uninstalled the old one and installed the new one
version 1.0, but unfortunatelly it doesn’t change anything. I can see in
DeviceManager the libusb (WinUSB) devices -> Ettus R. LLC USRP1 (VID=FFFE;
PID=0002; REV=0004). If I run uhd_find_devices.exe the result is the same as
before, no error, from …\UHD\bin>uhd_find_devices.exe comes back to
…\UHD\bin>, so it’s a situation of everything is installed but nothing works.
Anyway thank you very much for the information.

Just to verify things, I decided to try this out on an old XP laptop. I
installed uhd and set my UHD_IMAGE_PATH, updated the driver to the
WinUSB. The probe and find devices worked just fine.

I recommend you try a different computer, a different usb cable, or a
different os. Just to eliminate the variables. You only need to install
uhd to test this.

On the gnuradio front. I updated my instructions a bit. I found that the
qt dlls also needed to be in the path. I will try to include these in
the gnuradio installer next time around. Also, I had to install to
program files (x86) because thats how all the paths got hardcoded. I’m
not sure how to transplant a gnuradio install that was built for a
different prefix. We should probably make this simpler.

-Josh