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

Subversion Repositories usb_fpga_1_15

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /usb_fpga_1_15/trunk/default/usb-fpga-1.15y
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

/Default.java
1,6 → 1,6
/*!
flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Module 1.15
Copyright (C) 2009-2011 ZTEX GmbH.
Default firmware and loader for ZTEX USB-FPGA Modules 1.15y
Copyright (C) 2009-2014 ZTEX GmbH.
http://www.ztex.de
 
This program is free software; you can redistribute it and/or modify
/default.c
1,6 → 1,6
/*!
flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Module 1.15
Copyright (C) 2009-2011 ZTEX GmbH.
Default firmware and loader for ZTEX USB-FPGA Modules 1.15y
Copyright (C) 2009-2014 ZTEX GmbH.
http://www.ztex.de
 
This program is free software; you can redistribute it and/or modify
/Readme
1,16 → 1,13
flashdemo
---------
default
-------
 
This example demonstrates how data can be read and written to/from the
Flash memory.
This firmware can be used as default firmware for ZTEX USB-FPGA Modules
1.15y and 1.15y2. It supports:
 
During the start-up the firmware (defined in flashdemo.c) reads the
number of last sector n from sector 0 (dword at position 0) and
increments it by one. If n is larger than or equal to the total amount
of sectors, or if it is equal to 0, n is set to 1.
* Firmware uploading
* High speed FPGA configuration via USB
* Configuration data: Storage of device settings in MAC-EEPROM
 
Then n is written back to sector 0 and sector n is filled with the
string "Hello World!".
 
The host software (defined in FlashDemo.java) reads out the string from
the last sector of the flash memory.
The upload utility Default.java creates the configuration data structure
in MAC-EEPROM and can be used to upload the default firmware to EEPROM.
The wrapper scripts prog-1.15y.sh can be used to do that.

powered by: WebSVN 2.1.0

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