Sequential write, Sequential read – Altera Cyclone II FPGA Starter User Manual

Page 30

Advertising
background image

4–8

Altera Corporation

Cyclone II FPGA Starter Development Kit User Guide

October 2006

Flash Memory Programmer

2.

Click on the Chip Erase (40 Sec) button. Observe the button and
window frame title prompt and wait for the operation to finish; this
takes about 40 seconds.

3.

Enter the desired address into the Address box and the data byte
into the wDATA box.

4.

Click on the Write button.

5.

To read a byte of data from a random location, enter the address of
the location and click on the Read button. The rDATA box displays
the content of the specified address.

Sequential Write

To write the contents of a file into flash memory, perform the following
steps:

1.

Select the FLASH tab on the Control Panel.

2.

In the Random Access area, click on the Chip Erase (40 Sec) button.
Observe the button and window frame title prompt and wait for the
operation to finish; this takes about 40 seconds.

3.

In the Sequential Write area, specify the starting address in the
Address

box.

4.

Specify the number of bytes to write in the Length box. To load the
entire file, only checkmark the File Length box without specifying
the number of bytes.

5.

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

6.

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

Sequential Read

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

1.

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

boxes.

2.

Specify the starting address in the Address box.

Advertising