Other Parts Discussed in Thread: EK-TM4C1294XL
Tool/software: Code Composer Studio
HI TI,
I am starting on CCS example project "usb_host_msc" for both ek-tm4c1294xl and am335x starter kit respectively. The example projects from starterware and tivaware quite similiar, and both work fine with usb memory stick.
However, I happen to notice bulk endpoint wMaxPacketSize in tivaware/ek-tm4c1294xl is 64, while it is 512 in starterware/am335x starter kit. You may monitor this value through function static void * USBHMSCOpen(tUSBHostDevice *psDevice) inside usbhmsc.c
I plug this memory stick into Ubuntu laptop, and find the value is 512 (which is actually defined by USB standards)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 2
Please help to clarification. Thanks in advance
Mike