i have a play this weekend again in this.
i added a CSV LOG from a running USB Serial with the same PIC24 Board.
This is the USB Serial Initialize Start Procedure with the PIC24 DEMO ( Microchip - Shure electronic ) taken from the MPLAP Demo -
i added this in this thread earlier with all electric shema and src code in MPLAP. ( Shure )
For compare with the FC Initialize seq ( 1 - 134 ) I added the CSV Log. Please remove the last ".zip" i added this only for upload limitation´
Edit:
I added the Flowcode USB Initialize seq (1 - 176 ) for compare with the CDC Demo from microchip.
134 is the end in the Demo.
Flowcode produce from 135 - 176 more... Perhabs the Pipe's for ping-pong going across?
I added the USB View from Flowcode USB Serial
Code: Select all
Device Descriptor:
bcdUSB: 0x0200
bDeviceClass: 0x02
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x08 (8)
idVendor: 0x12BF
idProduct: 0xF010
bcdDevice: 0x0100
iManufacturer: 0x01
0x0409: "Flowcode USB Serial"
iProduct: 0x02
0x0409: "Matrix Multimedia Ltd."
iSerialNumber: 0x00
bNumConfigurations: 0x01
ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed: Full
Device Address: 0x01
Open Pipes: 3
Endpoint Descriptor:
bEndpointAddress: 0x82
Transfer Type: Interrupt
wMaxPacketSize: 0x0008 (8)
bInterval: 0x02
Endpoint Descriptor:
bEndpointAddress: 0x03
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x83
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Configuration Descriptor:
wTotalLength: 0x0043
bNumInterfaces: 0x02
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xC0 (Bus Powered Self Powered )
MaxPower: 0x32 (100 Ma)
Interface Descriptor:
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x01
bInterfaceClass: 0x02
bInterfaceSubClass: 0x02
bInterfaceProtocol: 0x01
iInterface: 0x00
Unknown Descriptor:
bDescriptorType: 0x24
bLength: 0x05
05 24 00 10 01
Unknown Descriptor:
bDescriptorType: 0x24
bLength: 0x04
04 24 02 02
Unknown Descriptor:
bDescriptorType: 0x24
bLength: 0x05
05 24 06 00 01
Unknown Descriptor:
bDescriptorType: 0x24
bLength: 0x05
05 24 01 00 01
Endpoint Descriptor:
bEndpointAddress: 0x82
Transfer Type: Interrupt
wMaxPacketSize: 0x0008 (8)
bInterval: 0x02
Interface Descriptor:
bInterfaceNumber: 0x01
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x0A
bInterfaceSubClass: 0x00
bInterfaceProtocol: 0x00
iInterface: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x03
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x83
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Thank you!
best wishes
Rudi
Edit:
I added a USB View of the Initialize ..
strange - not all Enpoints are listed.
..
..
but it works as USB Serial .