|
Message
From: hsr2@p...<hsr2@p...>
Date: Wed Apr 7 03:35:14 CEST 2004
Subject: [usb] How to send 0 packet using USB 2.0 Function Core
Hi Sir, I think you want to response In-data packet with Zero for set_address. In my case, I have set register before the IN-PID as following: WIF_WB_RF(18'h00040,32'h0301_0000); // Endpoint 0: CSR // Set MaxPackSize = 0 FYI,
Jeff
----- Original Message ----- From: zhangchun<zhangchun@t...> To: Date: Fri Apr 2 08:51:39 CEST 2004 Subject: [usb] How to send 0 packet using USB 2.0 Function Core
> Do you mean set EP_CSR register of corresponding endpoint? > >From the spec (Rev 1.4) of USB 2.0 Function Core, there is no > TXZERO bit. > In EP_CSR register, bit 10:0 is maxpayload size. > regards, > chun > ----- Original Message ----- > From: "Jain, Vivek (Vivek)" <vivekjain@a...> > To: "Discussion list about free,open source USB IP core" > <usb@o...> > Sent: Friday, April 02, 2004 1:25 PM > Subject: RE: [usb] How to send 0 packet using USB 2.0 Function Core > > Set the TXZERO bit ( bit 5) of ep_stat register of > corresponding endpoint. > > > > Rgds > > Vivek > > -----Original Message----- > > From: usb-bounces@o... > [mailto:usb-bounces@o...]On Behalf Of zhangchun > > Sent: Friday, April 02, 2004 6:25 AM > > To: Discussion list about free,open source USB IP core > > Subject: [usb] How to send 0 packet using USB 2.0 Function > Core > > > > > > Hi, all, > > > > It seems that function controller must assign zero to > Maxpayload of endpoint > > register to send zero bytes packet. Is there any other method? > > > > regards, > > chun > > > > _______________________________________________ > > http://www.opencores.org/mailman/listinfo/usb > > > > _______________________________________________ > > http://www.opencores.org/mailman/listinfo/usb > > > >
|
 |