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 mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio