|
From: Alan S. <st...@ro...> - 2016-03-23 16:47:48
|
On Wed, 23 Mar 2016, Phani Kumar wrote: > Hi > > After debugging using USB analyzer, came to know its toggle endpoint issue. > However facing another issue because of toggle. > Kindly help. > > My application has : > > write to endpoint 2 > read from endpoint 81 > > First time it works successfully. If I run the application second time, it > fails again. > > Do I need to do reset the toggle bit after every transfer? Kindly help You do not need to reset the toggle bit after every transfer. Probably the problem is that your program is doing something to reset the toggle when it shouldn't. For example, your program may issue an unneeded Set-Interface or Set-Configuration request. Alan Stern |