Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Incorrect response of QNX USB stack when working with serial driver: (1 Item)
   
Incorrect response of QNX USB stack when working with serial driver  
Background
*********

We are working with a customer networking device with the serial and network drivers provided by them. The intention is 
to test the firmware download to the device. This is achieved by sending AT^FWLOAD command to the device. After the AT 
command is sent, the device resets and goes into download mode handled by Qualcomm.

Now, here is where the issue surfaces. After the reset, we see that the driver is unable to submit a urb request. The 
request fails with err=2 (No such file or directory). We have checked thoroughly that after reset a new set of 
descriptors is fetched from the io-usb and the same are used to submit the urb. Also, in the normal mode the submission 
of urb's have no issues.

// parse descriptors before submitting urb
 
 
Jan 01 00:02:37    3    10     0 usbserial_parse_descriptors: USB_ENDPOINT_IN - USB_ATTRIB_BULK: open pipe ok in_addr=
10e0c0
 
Jan 01 00:02:37    3    10     0 usbserial_parse_descriptors: =2, =2,=40, =0
 
Jan 01 00:02:37    3    10     0 usbserial_parse_descriptors: USB_ENDPOINT_OUT - USB_ATTRIB_BULK, open pipe ok out_addr=
10e0e0
 
 
// read request fails with error “No such file or directory”
 
Jan 01 00:02:37    3    10     0 usbserial_usb_read_start submit ret=2 to in_addr=10e0c0
 
Jan 01 00:02:37    3    10     0 usbserial_usb_read_start submit ret=2 to in_addr=10e0c0
 
Jan 01 00:02:37    3    10     0 usbserial_usb_read_start submit ret=2 to in_addr=10e0c0
 
Jan 01 00:02:37    3    10     0 usbserial_usb_read_start submit ret=2 to in_addr=10e0c0


We are having trouble deciphering why the above situation might arise and request the help of QNX experts in this regard
. The usb log is attached. Thanks in advance.


Regards,
Praveen
 
Attachment: Text AT^FWLOAD=0_failed_on_qnx_0301_2.usb 141.66 KB