From 02,04 endpoint we need to get a stream 128Kb/sec - OK!From 06 endpoint only 150bytes/sec - OK!

The problem is: when I'm working with 02,04 and 06 at the same time after a few minutesthe usbd_io at endpoint 06 returns an error. The same situation happens incase of device with 06 endpoint configured as Interrupt_IN.

What can it be?

You should move the usbd_setup_bulk function inside the while loop.Is this an interrupt endpoint or bulk ?You should use usbd_setup_interrupt() for an interrupt endpoint.

Alexander Arkhipov <arkhipov@tst.spb.su> wrote in messagenews:c36pvu$iek$1@inn.qnx.com...

From 02,04 endpoint we need to get a stream 128Kb/sec - OK!From 06 endpoint only 150bytes/sec - OK!

The problem is:when I'm working with 02,04 and 06 at the same time after a few minutesthe usbd_io at endpoint 06 returns an error. The same situation happens incase of device with 06 endpoint configured as Interrupt_IN.

What can it be?

You should move the usbd_setup_bulk function inside the while loop.Is this an interrupt endpoint or bulk ?You should use usbd_setup_interrupt() for an interrupt endpoint.

Alexander Arkhipov <arkhipov@tst.spb.su> wrote in messagenews:c36pvu$iek$1@inn.qnx.com...