Ma, I am trying to implement a vendor specific high speed device that implements a upstream (IN) speed test over a 512 byte bulk endpoint. The basis for this was copied from the CDC device example out of USB stack 4.1.1. The non control endpoints are are initialized with ZLT = 1:
(void)_usb_device_init_endpoint(&controller_ID, ep_struct->ep_num, ep_struct->size, ep_struct->direction, ep_struct->type, 1);
The device calls USB_Class_Send_Data() with 5*4096 bytes of data when the USB_APP_ENUM_COMPLETE event is detected, and then sends another 5*4096 byte block every time the
USB_APP_SEND_COMPLETE event occurs. This is working but it appears that the host also gets a zero length packet after each 5*4096 byte block. My question is how do I disable the zero length condition after each block I am trying to simulate a continuous stream. Thanks.
.