Hi everybody,
I want to receive data every 1ms over the interrupt pipe (USB 1.1).
I'm using a Cypress development board which sends every ms 2 bytes in
a frame. I modified the mouse driver source from the ddk and now I
observed a strange behaviour.
I always miss every 2nd frame and the interrupts are only coming every
2ms.
Then I increased the buffer (wMaxPackageSize) up to 16 bytes and then
I could see that always the bytes 3 and 4 are missing the rest of the
16 bytes is OK.
The next test I did: buffer to 32 and I got a similar result: bytes 1
and 2 are OK bytes 3 and 4 are missing and the rest is OK
again---?????
Does anybody know what's going wrong here??? Is it possible to have
more than one buffer, something like double-buffering in the usb
stack???
Thanks in advance,
Kone
usb problem with interrupt transfer 1ms
bridged with qnx.ddk
Post Reply
1 post
• Page 1 of 1
Jump to
- New qnx.* Newsgroup
- ↳ qnx.newuser
- ↳ qnx.rtos
- ↳ qnx.gui
- ↳ qnx.development_tools
- ↳ qnx.ddk
- ↳ qnx.porting
- ↳ qnx.bsp
- ↳ qnx.qnx4
- ↳ qnx.3rdparty_product_announcements
- ↳ qnx.cafe
- ↳ qnx.public.sysadmin
- ↳ qnx.evaluation
- QDN Newsgroups
- ↳ qdn.cafe
- ↳ qdn.public.qnx2
- ↳ qdn.public.qnx4
- ↳ qdn.public.neutrino
- ↳ qdn.public.photon
- ↳ qdn.public.porting
- ↳ qdn.public.news
- ↳ qdn.public.qnxjobs
- ↳ qdn.public.qnxrtp.newuser
- ↳ qdn.public.qnxrtp.installation
- ↳ qdn.public.qnxrtp.os
- ↳ qdn.public.qnxrtp.photon
- ↳ qdn.public.qnxrtp.devtools
- ↳ qdn.public.qnxrtp.applications
- ↳ qdn.public.qnxrtp.advocacy
- ↳ qdn.public.qnx4.photon
- ↳ qdn.public.qnx4.devtools
- ↳ qdn.public.articles
- ↳ qdn.public.ddk.graphics
- ↳ qdn.public.ddk.network
- ↳ qdn.public.ddk.audio
- ↳ qdn.public.ddk.input
- ↳ qdn.public.ddk.usb
- ↳ qdn.public.ddk.printer
- ↳ qdn.public.qnxrtp.porting
- ↳ qdn.public.qnxrtp.games
- ↳ qdn.public.qnxrtp.embedded
- ↳ qdn.public.qnxrtp.mips
- ↳ qdn.public.qnxrtp.powerpc
- ↳ qdn.public.qnxrtp.strongarm
- ↳ qdn.public.qnxrtp.x86
- ↳ qdn.public.sysadmin
- ↳ qdn.public.qnxrtp.xscale
- ↳ qdn.public.qnxrtp.sh4
- ↳ qdn.public.newuser
- ↳ qdn.public.installation
- ↳ qdn.public.devtools
- ↳ qdn.public.ddk
- ↳ qdn.public.bsp
- Other QNX Newsgroups
- ↳ comp.os.qnx
- ↳ openqnx.developer