📄 readme.txt
字号:
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
…
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -