URL
https://opencores.org/ocsvn/usb_fpga_1_15/usb_fpga_1_15/trunk
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 4 |
Line 1... |
Line 1... |
flashdemo
|
default
|
---------
|
-------
|
|
|
This example demonstrates how data can be read and written to/from the
|
This is the default firmware for ZTEX USB-FPGA Modules 2.13a, 2.13b,
|
Flash memory.
|
2.13c and 2.13d. It supports:
|
|
|
During the start-up the firmware (defined in flashdemo.c) reads the
|
* Firmware uploading
|
number of last sector n from sector 0 (dword at position 0) and
|
* High speed FPGA configuration via USB
|
increments it by one. If n is larger than or equal to the total amount
|
* Storage of firmware and bitstream in non-volatile memory
|
of sectors, or if it is equal to 0, n is set to 1.
|
* Configuration data: Storage of device settings in MAC-EEPROM
|
|
|
Then n is written back to sector 0 and sector n is filled with the
|
The upload utility Default.java creates the configuration data structure
|
string "Hello World!".
|
in MAC-EEPROM and can be used to upload the default firmware to EEPROM.
|
|
The wrapper scripts prog-*.sh can be used to do that for the respective
|
The host software (defined in FlashDemo.java) reads out the string from
|
FPGA Board.
|
the last sector of the flash memory.
|
|
FPGA Board.
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.