29.12.2013 Views

Parallel Flash Loader Megafunction User Guide (PDF) - Altera

Parallel Flash Loader Megafunction User Guide (PDF) - Altera

Parallel Flash Loader Megafunction User Guide (PDF) - Altera

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Functional Description Page 15<br />

Figure 10 shows the implementation of page mode and option bits in the CFI flash<br />

memory device.<br />

Figure 10. Implementing Page Mode and Option Bits in the CFI <strong>Flash</strong> Memory Device<br />

End Address (1)<br />

8 Bits<br />

Option Bits(2)<br />

Configuration Data (Page 2)<br />

Configuration Data (Page 1)<br />

Configuration Data (Page 0)<br />

32 Bits<br />

Page 2 Address + Page-Valid<br />

Page 1 Address + Page-Valid<br />

Page 0 Address + Page-Valid<br />

Notes to Figure 10:<br />

0x000000<br />

(1) The end address depends on the density of the flash memory device. For the address range for devices with<br />

different densities, refer to Table 5.<br />

(2) You must specify the byte address for the option bits sector.<br />

Figure 11 shows the storage of the start address and Page-Valid bit for each page in<br />

the option bits sector.<br />

Figure 11. Page Start Address, End Address, and Page-Valid Bit Stored as Option Bits<br />

Bit 7...Bit 1 Bit 0<br />

0x002000 (1)<br />

Page Start Address [19:13]<br />

Page-Valid<br />

Bit 7...Bit 0<br />

0x002001<br />

Page Start Address [27:20]<br />

Bit 7...Bit 1<br />

0x002002<br />

Page End Address [19:13]<br />

Bit 7...Bit 0<br />

0x002003<br />

Page End Address [27:20]<br />

Note to Figure 11:<br />

(1) For flash byte addressing mode.<br />

Bits 0 to 12 for the page start address are set to zero and are not stored as option bits.<br />

The Page-Valid bits indicate whether each page is successfully programmed. The PFL<br />

megafunction programs the Page-Valid bits after successfully programming the<br />

pages.<br />

<strong>Parallel</strong> <strong>Flash</strong> <strong>Loader</strong> <strong>Megafunction</strong> <strong>User</strong> <strong>Guide</strong><br />

May 2013<br />

<strong>Altera</strong> Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!