16.04.2014 Views

STM8S and STM8A microcontroller families

STM8S and STM8A microcontroller families

STM8S and STM8A microcontroller families

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

RM0016<br />

Figure 10.<br />

UBC area size definition on medium density <strong>STM8S</strong><br />

<strong>and</strong> <strong>STM8A</strong> with up to 32 Kbytes of Flash program memory<br />

0x00 8000<br />

0x00 807F<br />

0x00 8200<br />

0x00 8400<br />

0x00 8600<br />

0x00 8800<br />

Interrupt vector table<br />

512 bytes<br />

512 bytes<br />

512 bytes<br />

Page 0<br />

Page 1<br />

Page 2<br />

Page 3<br />

UBC[7:0] =0x01<br />

1 Kbytes<br />

UBC[7:0] =0x02<br />

2 Kbytes<br />

UBC[7:0] =0x3E<br />

32 Kbytes<br />

1K to 32 Kbytes<br />

User boot code area<br />

0x00 F800<br />

0x00 FA00<br />

0x00 FC00<br />

0x00 FE00<br />

0x00 FFFF<br />

512 bytes<br />

512 bytes<br />

512 bytes<br />

512 bytes<br />

Page 60<br />

Page 61<br />

Page 62<br />

Page 63<br />

1. N (number of protected pages) = UBC[7:0] + 2 for UBC[7:0] > 1.<br />

2. UBC[7:0] =0x00 means no user boot code area is defined. Refer to the datasheets for the description of the<br />

UBC option byte.<br />

3. The first 2 pages (1 Kbytes) contain the 128 bytes of interrupt vectors (32 IT vectors).<br />

42/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!