DFU protocol support for existing devu-ohci driver in QNX

Hello all,

I’m writing Device Firmware Upgrade (DFU) protocol application driver
for the existing “devu-ohci” USB driver in QNX. The DFU protocol
application driver requires sending an IOCTL command to the driver
each time a control code (makes the device to perform a specific
operation, such as readData / write Data) is sent to the driver.

Is there any function in QNX which allows me to send the IOCTL command
along with the control codes

Thanks,
Pradeep

rpradeep <rpradeep@visteon-dot-com.no-spam.invalid> wrote in message
news:cvcbk5$ehs$1@inn.qnx.com

Hello all,

I’m writing Device Firmware Upgrade (DFU) protocol application driver
for the existing “devu-ohci” USB driver in QNX. The DFU protocol
application driver requires sending an IOCTL command to the driver
each time a control code (makes the device to perform a specific
operation, such as readData / write Data) is sent to the driver.

Is there any function in QNX which allows me to send the IOCTL command
along with the control codes

To implement DFU you would use the USB DDK to attach to the device and use
usbd_setup_vendor()/usbd_io() calls to initiate DFU and transfer firmware.

Henry

Thanks,
Pradeep