Read from a file, Write to a file, Flash memory programmer – Altera Cyclone III FPGA Starter Kit User Manual
Page 19: Flash memory programmer –5
![background image](https://www.manualsdir.com/files/763634/content/doc019.png)
Altera Corporation
3–5
July 2010
Cyclone III FPGA Starter Kit User Guide
Using the Control Panel
Read from a File
To read the contents of a file and load it to the DDR SDRAM, follow these
steps:
1.
Click Load File.
2.
Browse to sample.txt located in the control_panel directory and
click Open. This step instantiates the DDR SDRAM controller and
loads the text contents into the DDR SDRAM. Notice that the Data
to Ascii-text
column shows the DDR SDRAM contents in Ascii
value.
Write to a File
To write the contents of the DDR SDRAM to a file, follow these steps:
1.
Click Save File.
2.
Enter the start and end addresses of the DDR SDRAM.
3.
Choose a file name and click Save. This instantiates the controller to
read the DDR SDRAM contents from the start address to the end
address, and write the contents to a file.
Flash Memory
Programmer
You can perform the following operations to read from and write to the
board’s flash memory with the control panel:
■
Perform a CFI query of flash memory
■
Erase select blocks of flash memory
■
Write 32-bit hex word to flash memory
■
Write a binary file to flash memory
■
Load the contents of the flash memory into a file
c
Do not exit from the control panel while erasing the flash
memory.