[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] usrper fails in usb_claim_interface
From: |
Larry Doolittle |
Subject: |
Re: [Discuss-gnuradio] usrper fails in usb_claim_interface |
Date: |
Wed, 6 Apr 2005 16:19:20 -0700 |
User-agent: |
Mutt/1.5.8i |
On Tue, Apr 05, 2005 at 02:18:19PM -0700, Eric Blossom wrote:
> On Tue, Apr 05, 2005 at 12:03:00PM -0700, Larry Doolittle wrote:
> >
> > I have an Avnet Virtex 4 evaluation board, intended for
> > projects similar in concept to GNU Radio. It uses the
> > same CY7C68013 chip as USRP.
> >
> > I used USRP as a software reference design, and started
> > splicing in some code of my own. [chop]
> > 2005-04-05 11:20:16.264596500 <6>usbtest 5-1:1.0: FX2 device
> > 2005-04-05 11:20:16.264640500 <6>usbtest 5-1:1.0: high speed {control
> > bulk-in bulk-out} tests (+alt)
> ----------------------------------^^^^^^^
>
> You have the usbtest module loaded.
> rmmod it.
Eric is right, when I rmmod usbtest this problem goes away.
Someplace in the bowels of debian sid this module is configured
to reload every time I plug in the device, and I then have to
rmmod it again by hand. "find /etc -type f | xargs grep usbtest"
didn't find the magic.
So, I'm on to bigger and better problems!
Somehow, when I hacked up the Makefile for my custom FX2 build,
I left off
MEMOPTS = --code-loc 0x0000 --code-size 0x1800 --xram-loc 0x1800 \
--xram-size 0x0800 -Wl '-b USBDESCSEG = 0xE000'
Deadly! Once I fixed that:
# usrper -x load_firmware ${FOO}/usrp_main.ihx
lt-usrper: found unconfigured FX2; needs firmware.
# lsusb
Bus 005 Device 051: ID fffe:0001
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
# usrper i2c_read 0 16
ffffffffffffffffffffffffffffffff
#
Cool! It looks like my code is in there, attempting
to read the JTAG ID chain, and getting all 1's. Not
the right answer, of course, but I'm on my way.
- Larry
signature.asc
Description: Digital signature
- [Discuss-gnuradio] usrper fails in usb_claim_interface, Larry Doolittle, 2005/04/05
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, mgray, 2005/04/05
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, Eric Blossom, 2005/04/05
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface,
Larry Doolittle <=
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, Matt Ettus, 2005/04/06
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, James Cooley, 2005/04/27
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, Eric Blossom, 2005/04/27
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, James Cooley, 2005/04/27
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, Eric Blossom, 2005/04/27
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, James Cooley, 2005/04/29
- Re: [Discuss-gnuradio] usrper fails in usb_claim_interface, Eric Blossom, 2005/04/29