环境:
开发版: M483KG
usb转uart: PL 2303/ FT 232
目的: 如何使用HSUSBH_USBH_VCOM 读写PL 2303/ FT 232?
问题:
插拔PL2303/FR232装置,会显示Connect device, disconnect device
但是不知道如何传收资料。
讯息如下:
+---------------------------------------------------------+
| M480 USB Host VCOM sample program |
+---------------------------------------------------------+
| (NOTE: This sample supports only one CDC device, but |
| driver supports mul
tiple CDC devices. If you |
| want to support multiple CDC devices, you |
| have to modify this sample. |
+---------------------------------------------------------+
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 2 assigned.
USB static memory: 7/256, heap used: 568
disconnect device...
USB static memory: 6/256, heap used: 0
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 3 assigned.
USB static memory: 7/256, heap used: 568
disconnect device...
USB static memory: 6/256, heap used: 0
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 4 assigned.
USB static memory: 7/256, heap used: 568