部分翻译
Go to most recent revision |
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
2 |
ZTEX |
ucecho
|
| 2 |
|
|
------
|
| 3 |
|
|
|
| 4 |
|
|
This example is intended for ZTEX USB-FPGA-Modules.
|
| 5 |
|
|
|
| 6 |
|
|
The firmware (defined in ucecho.c) declares Endpoint 2 and Endpoint 4
|
| 7 |
|
|
(both 512 bytes, double buffered, bulk transfer, belong to interface 0).
|
| 8 |
|
|
All data that is written to Endpoint 4 is converted to uppercase by
|
| 9 |
|
|
the FPGA and can be read back from Endpoint 2.
|
| 10 |
|
|
|
| 11 |
|
|
This example does the same as the example in directory ../../all/ucecho
|
| 12 |
|
|
except that the uppercase - lowercase conversion made by the FPGA.
|
| 13 |
|
|
|
| 14 |
|
|
The driver (defined in UCEcho.java) uploads the the Firmware (ucecho.ihx)
|
| 15 |
3 |
ZTEX |
to the EZ-USB Microcontroller and the Bitstream (fpga/ucecho.bit) to the
|
| 16 |
2 |
ZTEX |
FPGA if necessary, sends user string to the device and reads them back.
|
| 17 |
|
|
|
| 18 |
|
|
Uploading the Firmware to EEPROM is also supported by the firmware (e.g.
|
| 19 |
|
|
using the FWLoader utility).
|
| 20 |
|
|
|
| 21 |
|
|
This example may serve a good starting point for own projects.
|
© copyright 1999-2013
OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.