16.04.2014 Views

STM8S and STM8A microcontroller families

STM8S and STM8A microcontroller families

STM8S and STM8A microcontroller families

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Flash program memory <strong>and</strong> data EEPROM<br />

RM0016<br />

4 Flash program memory <strong>and</strong> data EEPROM<br />

4.1 Introduction<br />

The embedded Flash program memory <strong>and</strong> data EEPROM memories are controlled by a<br />

common set of registers. Using these registers, the application can program or erase<br />

memory contents <strong>and</strong> set write protection, or configure specific low power modes. The<br />

application can also program the device option bytes.<br />

4.2 Glossary<br />

●<br />

●<br />

Block<br />

A block is a set of bytes that can be programmed or erased in one single programming<br />

operation. Operations that are performed at block level are faster than st<strong>and</strong>ard<br />

programming <strong>and</strong> erasing. Refer to Table 5 for the details on block size.<br />

Page<br />

A page is a set of blocks.<br />

A dedicated option byte can be used to configure, by increments of one page, the size<br />

of the user boot code.<br />

34/449 Doc ID 14587 Rev 8<br />

www.BDTIC.com/ST

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

Saved successfully!

Ooh no, something went wrong!