usb_test

所属分类:USB编程
开发工具:Windows_Unix
文件大小:271KB
下载次数:59
上传日期:2007-09-21 10:50:21
上 传 者studyfeng
说明:  at91sam7s64下的usb调试程序,可以通过Usb进行通信
(AT91SAM7S64 under usb debugger, you can communicate through Usb)

文件列表:
usb_test\BasicUSB_6124.exe (204885, 2007-07-09)
usb_test\BasicUSB_6124.ilk (28, 2007-07-09)
usb_test\BasicUSB_6124.pdb (39, 2007-07-09)
usb_test\debug\cdc_enumerate.o (75372, 2007-07-09)
usb_test\debug\cstartup.o (48796, 2007-07-09)
usb_test\debug\dbgu.o (75584, 2007-07-09)
usb_test\debug\low_level_init.o (64300, 2007-07-09)
usb_test\debug\main.o (66384, 2007-07-09)
usb_test\debug\usb_test_flash.bin (53544, 2007-07-09)
usb_test\debug\usb_test_flash.elf (590031, 2007-07-09)
usb_test\Driver\atm6124.Inf (1744, 2007-07-09)
usb_test\Driver\atm6124.sys (15244, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.cpp (5081, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.dsp (4810, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.dsw (549, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.ncb (39, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.opt (50688, 2007-07-09)
usb_test\pc_application\BasicUSB_6124.plg (1683, 2007-07-09)
usb_test\pc_application\CVS\Entries (488, 2007-07-09)
usb_test\pc_application\CVS\Repository (43, 2007-07-09)
usb_test\pc_application\CVS\Root (58, 2007-07-09)
usb_test\pc_application\StdAfx.cpp (300, 2007-07-09)
usb_test\pc_application\StdAfx.h (769, 2007-07-09)
usb_test\pc_application\USBLibrary.h (4683, 2007-07-09)
usb_test\src\cdc_enumerate.c (16336, 2007-07-09)
usb_test\src\cdc_enumerate.h (1593, 2007-07-09)
usb_test\src\dbgu.c (6642, 2007-07-09)
usb_test\src\dbgu.h (1248, 2007-07-09)
usb_test\src\main.c (2917, 2007-07-09)
usb_test\USBLibrary.dll (28672, 2007-07-09)
usb_test\USBLibrary.exp (1892, 2007-07-09)
usb_test\USBLibrary.lib (4156, 2007-07-09)
usb_test\usb_test.ews (296, 2007-07-09)
usb_test\usb_test.opt (29, 2007-09-05)
usb_test\usb_test_flash.pjf (2334, 2007-07-09)
usb_test\pc_application\CVS (0, 2007-09-05)
usb_test\debug (0, 2007-09-05)
usb_test\Driver (0, 2007-09-05)
... ...

AT91 SAM7 Basic USB Project The goal of this demonstration project is to demonstrate how to use the AT91 ARM-Based Software Package. This project runs a test of the AT91SAM7Sxx device and his corresponding Evaluation Kit, the AT91SAM7Sxx-EK. This project implements a USB communication using the on-chip USB device with a PC application. Install Please copy atmusb6124.inf in the following windows directory C:\WINxx\inf directory and atmusb6124.sys in the following windows directory C:\WINxx\system32\drivers directory. When the USB device is connected for the first time, the PC host asks for a driver installation file (.inf file). atmusb6124.sys driver will be associated to this device. The BasicUSB_6124.exe PC application is then ready to communicate: C:\ BasicUSB_6124.exe This will transmit buffer every second to each connected device. Quick description This device uses 3 pipes associated with physical endpoints: , EP0 Control endpoint , EP1 Bulk IN endpoint , EP2 Bulk Out endpoint During the initialization, , The peripheral clock must be enabled for the USB device and the 48MHz PLL USB clock. , Pipe objects are then initialized and the dispatch routine is associated with the control pipe , The pull-up on USB DP line is finally activated Once the device is plugged and the enumeration phase completed, the application reads data from the USB host and sends back a packet through the DBGU. After ten seconds with any connected device found, the PC application stops sending packet. DBGU Trace -I- BasicUSB 0) Set Pull-UP 1) Clear Pull UP (Start PC application) -I- Len 41 -I- Len 322 -I- Len 659 -I- Len 941 -I- Len 844 -I- Len 160 -I- Len 396 -I- Len 93 -I- Len 258

近期下载者

相关文件


收藏者