blob: 5e4100d974a9f6c0fcd55b296ac0011450aa5f82 [file] [log] [blame]
Kévin Redon69b92d92019-01-24 16:39:20 +01001============
2USB CDC ECHO
3============
4
5This demo behaves like a virtual COM port based on USD device CDC. It echoes
6back bytes received from the console.
7
8Drivers
9-------
10* USB Device
11
12Supported Evaluation Kit
13------------------------
14* SAM D21 Xplained Pro
15* SAM DA1 Xplained Pro
16* SAM R21 Xplained Pro
17* SAM D11 Xplained Pro
18* SAM L21 Xplained Pro
19* SAM L22 Xplained Pro
20* SAM V71 Xplained Ultra
21* SAM E70 Xplained
22* SAM G55 Xplained Pro
23* SAM E54 Xplained Pro
24
25Interface Settings
26------------------
27* No extra board or wire connection is needed.
28* The enumerated serial port does not bridge to any specific USRT hardware but
29 simply loopback data, so whatever serial port setting works.
30
31Running the Demo
32----------------
33
341. Download the selected example, or export the example to save the .atzip file.
352. Import .atzip file into Atmel Studio 7, File->Import->Atmel Start Project.
363. Build and flash into supported evaluation board.
374. Connect PC host and TARGET USB plug with a USB cable.
385. Press the RESET button.
396. The serial port is detected by host PC. On Linux the driver will be installed
40 automatically. On Windows The INF and CAT file required can be extracted from
41 .atzip or found in generated Atmel Studio 7 project folder, relatively at
42 ./usb/class/cdc/device.
437. Open the detected/enumerated serial port using a serial port monitor
44 (e.g., TeraTerm).
458. Whatever sent from the serial port monitor will be echoed back then.