PICでUSBだも12(usb_host_generic考察1)

うーん
色々とUSBのプロトコル勉強しています
232Cがユーザ任せな通信手段に対して、USBは様々な決まりごとがあって、
その理由が、「そういうものなのか、、、」と思えれば習得も早いのだろうけれど、
「なんでそうなるんだ??」と考えるとなかなか前進しません
全ての学習にいえる事なんでしょうけれど、諦めずに進めばそのうち道は開けると信じるしかない

その信条が途中で折れてしまうと、挫折となるんだろう
そんな事は重々承知のつもりだけれど、折れそう。。。

てな具合でPIC24FJ64GB002を使ったUSBホストの実験途中経過報告

Microchipのusb_host_genericサンプルプログラムで手元にあるUSBデバイスの
デバイス情報を取得してみました
コントロール転送で取得している構造体をprintf関数で出力した結果です
このUSBデバイスの情報をみて、何のデバイスを扱おうか分かる人がいたら師匠と呼ばせてください

**USB_ENDPOINT0_Address = 00
TransferType = Control
EndpointSynchronizationType = No Synchronization
EndpointUsageType = Implicit feedback Data endpoint
MaxPacketSize =0040
**USB_InterfaceNumber =01
**USB_DriverTable =01
**USB_InterfaceSettings =05
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0031
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0031
**USB_InterfaceSettings =04
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0021
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0021
**USB_InterfaceSettings =03
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0019
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0019
**USB_InterfaceSettings =02
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0011
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0011
**USB_InterfaceSettings =01
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0009
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0009
**USB_InterfaceSettings =00
**USB_EndpointAddress =83
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0000
**USB_EndpointAddress =03
** EndpointTransferType = Isochronous
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0000
**USB_InterfaceNumber =00
**USB_DriverTable =01
**USB_InterfaceSettings =00
**USB_EndpointAddress =82
** EndpointTransferType = Bulk
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0040
**USB_EndpointAddress =02
** EndpointTransferType = Bulk
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0040
**USB_EndpointAddress =81
** EndpointTransferType = Interrupt
** EndpointSynchronizationType = No Synchronization
** EndpointUsageType = Data endpoint
** MaxPacketSize =0010

[PR]

  by komoremi | 2009-12-27 22:08 | PIC-USBホスト

<< PICでUSBだも13(usb... PICでUSBだも11(usb... >>

SEM SKIN - DESIGN by SEM EXE