Whats the trick to get the FX2 to work in auto-out mode? I've tried with fx2_programmer's bulk_write command and with a modified version of the test_usrp_standard_tx code. With fx2_programmer I get "connection to endpoint 2 timed out" and test_*_standard_tx sends 8MB before blocking indefinately. Basically I think the FX2 just isn't taking any data in. It seems that even if I don't have auto-out setup correctly, I should be able to at least write a few bytes to the endpoint...
Does anyone have anything that works that I can see? Unfortunately the USRP firmware uses the GPIF mode instead of FIFO mode so I'm not sure how applicable the code is... Thanks, David Carr Here's what I have (with a few questions): CPUCS = bmCLKSPD1; // CPU runs @ 48 MHz IFCONFIG=0xC3; //Internal IFCLK at 48MHz, clock out disabled SYNCDELAY;//Normal polarity, Sync, Slave FIFO mode SYNCDELAY; REVCTL = 0x03; //The TRM says to set this or ELSE SYNCDELAY; EP2CFG = 0xA2; //EP2 enabled, direction: OUT, type: BULK, Buffer size: 512, 2x Buffered FIFORESET = 0x80; // Reset the FIFO SYNCDELAY; FIFORESET = 0x02; SYNCDELAY; FIFORESET = 0x00; SYNCDELAY; EP2FIFOCFG = 0x00; //AUTO-OUT disabled, wordwide=0 (8 bit bus with) SYNCDELAY; EP2FIFOCFG = 0x10; //AUTO-OUT enabled, wordwide=0 (8 bit bus with) SYNCDELAY; EP2BCL = 0x00; //is this needed to arm the endpoint? SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; OUTPKTEND = 0x8F; //the example says x82 --- why do I want the SKIP bit set? Also x82 sets the bit for EP1 I think -- NOT EP2 SYNCDELAY; OUTPKTEND = 0x8F; SYNCDELAY; _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio