stm8af6148 STMicroelectronics, stm8af6148 Datasheet - Page 13

no-image

stm8af6148

Manufacturer Part Number
stm8af6148
Description
Automotive 8-bit Mcu, With Up To 32 Kbytes Flash, Eeprom, 10-bit Adc, Timers, Lin, Spi, I 2c, 3 V To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
STM8AF61xx STM8AH61xx
5.4.2
Write protection (WP)
Write protection in application mode is intended to avoid unintentional overwriting of the
memory in case of user software malfunction. Code update in user mode is still possible
after execution of a specific MASS key sequence.
The program memory is divided into two areas:
The UBC area also remains write-protected during in-application programming. It permits
storage of the boot program or specific code libraries.
The boot area is a part of the program memory that contains the reset and interrupt vectors,
the reset routine and usually the IAP and communication routines. The UBC area has a
second level of protection to prevent unintentional erasing or modification during IAP
programming. This means that the MASS keys do not unlock the UBC area.
The size of the UBC is programmable through the UBC option byte, in increments of 512
bytes, by programming the UBC option byte in ICP mode.
Figure 2.
Main program memory: Up to 32 Kbytes minus user-specific boot code (UBC)
UBC: Configurable up to 32 Kbytes
Flash
program
memory
Data
EEPROM
memory
Flash memory organization of STM8A products
Remains write protected during IAP
Write access possible for IAP
Data memory area (2 Kbytes)
Program memory area
Option bytes
UBC area
Programmable area from 1 Kbyte
(first two pages) up to program memory
end - maximum 128 Kbytes
Product overview
13/90

Related parts for stm8af6148