discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with USB on OSX?


From: Jan Schiefer
Subject: Re: [Discuss-gnuradio] Problem with USB on OSX?
Date: Mon, 31 Jul 2006 22:28:24 -0700
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Isn't the way this works that the USRP disconnects/reconnects after the firmware download? Maybe the Mac misses that somehow? What happens if after loading the firmware you unplug and reconnect the USB?

Cheers,
   Jan

Thomas Schmid wrote:
Hi Jan,

I have two USRPs to test with, one a Rev 3 and one a Rev 4.1. Both
have the same behavior, except that one shows version 0.04 and the
other 0.02 when I first plug them in (in the system profiler). Then, I
run test_usrp_standard_tx, the firmware uploads, i.e. the LEDs start
to blink slower, but the system profiler still shows the old values,
i.e., they stay at "Vendor-specific".

I will try to see if I can enable some more debug information.

Thomas

On 7/29/06, Jan Schiefer <address@hidden> wrote:
Hi Thomas,

I am using gnuradio+USRP on a MacBook Pro under 10.4.7, this setup
should be very similar to yours.I have a version 3b USRP, with a BasicRX
and a BasicTX board.

Have you checked out http://comsec.com/wiki?UsrpInstall ?

When I plug the USRP in my system, before it loads any firmware (i.e.
before I run any usrp-related program), I see the following in the
System profiler (Apple logo/About This Mac, click More Info... ,
Hardware/USB, USB High-Speed Bus/Vendor-specific
Version 0.02, etc etc Product ID 0x0002, Vendor ID 0xfffe.

After running test_usrp_standard_tx, this information changes
 From "Vendor-specific" to "USRP Rev 2", the version changes to 1.02 and
there is a "serial number" string of all zeroes.

Does yours show the same information in the System Profiler? Also, what
does it say if you go to the usrp directory and run a "svn up"? Mine
says "At revision 832."

Cheers,
   Jan

Thomas Schmid wrote:
> I just installed gnuradio on my macbook and I wanted to test the usrp
> but got the same error as Sam:
>
> @ enter_search
> 802_15_4_pkt: waiting for packet
> usrp_basic_rx: failed to start end point streaming
>
> Next I tried to use the benchmark_usb.py file and I got this error:
> Testing 2MB/sec... usrp_open_interface:usb_claim_interface: failed
> interface 1
> usb_claim_interface: couldn't claim interface
> usrp_basic_tx: can't open tx interface
> Traceback (most recent call last):
>  File "./benchmark_usb.py", line 106, in ?
>    main ()
>  File "./benchmark_usb.py", line 96, in main
>    ok = run_test (rate, verbose)
>  File "./benchmark_usb.py", line 63, in run_test
>    usrp_tx = usrp.sink_s (0, tx_interp)
>  File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp.py", line
> 230, in __init__
>    fpga_filename, firmware_filename)
>  File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp1.py",
> line 932, in sink_s
>    return _usrp1.sink_s(*args)
> RuntimeError: can't open usrp1
>
>
> Interestingly, the firmware is uploaded successfully, i.e., the led
> first blinks fast, then slower, and then I get the error.
>
> Any ideas on what might be wrong?
>
> Thomas
>
>
> On 7/27/06, Michael Klass <address@hidden> wrote:
>> Thanks for the reply Jon.  I'm quite sure that it has USB 2.0 ports,
>> though.
>>
>>
>>
>> On 7/26/06, Jonathan Jacky <address@hidden > wrote:
>> >
>> > I'm using OS X.  I've never seen this "failed to start end point
>> > streaming" message.   I've not used the flex 400 boards, only the
>> Basic
>> > RX/TX and LFRX/TX. Are you sure your Mac has USB 2.0 ports? Until
>> > fairly recently (late 2003 or early 2004), Macs came with USB 1.1
>> ports.
>> >
>> > There is more information about this 1.1 vs 2.0 business, and how
>> to use
>> > the Mac System Profiler to check that OS X recognizes the USRP, at
>> >
>> >
>> http://staff.washington.edu/~jon/gr-osx/gr-osx-usrp.html#using
>> >
>> > Jon Jacky
>> >
>> >
>> > _______________________________________________
>> > Discuss-gnuradio mailing list
>> > address@hidden
>> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> >
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>








reply via email to

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