AnsweredAssumed Answered

HID Device ACK problem in USB Stack

Question asked by Bill Elliot on Nov 1, 2013
Latest reply on Nov 14, 2013 by Bill Elliot

Hi.  I'm new to the Freescale v4.1.1 stack and am noticing a problem with a SetReport request.

 

Background:

We use HID for a request/response process for information from our device.

 

The working stack (not Freescale) on a JB8 micro sends a Control Transfer which is made up of a SETUP transaction, six eight-byte OUT transactions (report is 48 bytes in size) and an IN transaction (the ACK packet)

 

The non-working stack (Freescale v4.1.1) on a Kinetis K20DX50 micro has the same structure as above except the report length is 40 bytes so there are two 16-byte and one 8-byte transactions.  The problem is that the protocol analyzer is reporting a length error on the ACK packet.

 

The JB8 IN Transaction has a length of 0 but the K20 IN has a length of 16.

 

Question:

Is the ACK response part of the protocol stack (and broken) or is my application not doing something that it is supposed to do for the ACK to be correctly formed?

 

(Hopefully I can attach a .PDF with the protocol analyzer output so you can see the error)

Attachments

Outcomes