阅读:2526回复:6
USB疑惑!
偶是一开发USB的新手,现要做一单片机(带USB接口,FLASH),要与PC通过USB接口相连,传输文件。(从PC到FLASH,或者从FLASH 到PC)
偶仔细阅读了USB spec ,对其结构仍然百思不得其解 对PC端和MCU端都是HOST,那么device、configuration、endpoint怎么配置,能否讲讲其结构, 请教各位高手, 小生万分感激!! |
|
沙发#
发布于:2001-04-02 21:33
pc和mcu都是host?好像不是吧!
我记得好像pc是host,mcu是device.device是物理上的概念,endpoint是一个端点,是接收数据的,一个device可以有若干个端点。configure是一种配置方式,每个point都可以有一种配置方式。 其实,只要你调试一个很简单的例子就可以理解了。 |
|
|
板凳#
发布于:2001-04-06 13:39
There are always some sample codes with usb MCUs - including firmware and software. I don't know which MCU have you got. In fact, I've ever seen these samples on Cypress, ST and Philips websites and their CDs. You can find a project named usbtherm in DriverWorks which supports the Cypress' eveluation board. Of course, you can get the firmware codes of thie eveluation board from their website and sample CD.
|
|
|
地板#
发布于:2001-04-16 16:50
DriverWorks的usbtherm
|
|
|
地下室#
发布于:2001-04-24 08:48
当然要硬件啦!否则怎么玩?
|
|
|
5楼#
发布于:2001-04-25 11:11
是Cypress的CY7C63001的评估板,其实就是这个MCU通过一个东东采集温度的实验板,是给他们的客户开发时候做参考的。我以前还不知道他们的driver是谁写的,后来看了DriverWork,才知道原来如此。
|
|
|
6楼#
发布于:2002-04-09 09:55
请问到何处找DriverWorks的usbtherm
|
|