OpenCores
URL https://opencores.org/ocsvn/usb_fpga_2_16/usb_fpga_2_16/trunk

Subversion Repositories usb_fpga_2_16

[/] [usb_fpga_2_16/] [trunk/] [default/] [usb-fpga-2.16/] [Readme] - Diff between revs 2 and 3

Only display areas with differences | Details | Blame | View Log

Rev 2 Rev 3
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.16a and 2.16b.
Flash memory.
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.
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.