Sequential read, Flash memory programmer, Flash memory programmer –6 – Altera Cyclone II FPGA Starter User Manual

Page 28

Advertising
background image

4–6

Altera Corporation

Cyclone II FPGA Starter Development Kit User Guide

October 2006

Flash Memory Programmer

4.

Click on the Write a File to SDRAM button to initiate the writing of
the data.

5.

Specify the source file in the pop-up Windows dialog box.

1

The Control Panel also supports loading files with a .hex
extension. Files with a .hex extension are ASCII text files that
specify memory values using ASCII characters to represent
hexadecimal values. For example, a file containing the line

0123456789ABCDEF

defines four 16-bit values: 0123, 4567, 89AB, CDEF. These values load into
the memory consecutively.

Sequential Read

To read the contents of the SDRAM and write them to a file, use the
Sequential Read function of the Control Panel to perform the following
steps:

1.

Select the SDRAM tab on the Control Panel and use the Sequential
Read

boxes.

2.

Specify the starting address in the Address box.

3.

Specify the number of bytes to copy into the file in the Length box.
To copy the entire contents of the SDRAM, 8 MBytes of data, into a
file, only checkmark the Entire SDRAM box without specifying the
number of bytes.

4.

Click on the Load SDRAM Content to a File button.

5.

Specify the destination file in the pop-up Windows dialog box.

Flash Memory
Programmer

Using the Control Panel, the user can perform the following read/write
operations from/to the flash memory on the development board:

Erase the entire flash memory

Write one byte to the memory

Read one byte from the memory

Write a binary file to the memory

Load the contents of the flash memory into a file

1

When performing these operations, consider the following
characteristics and limitations of the flash memory:

Advertising