stm8af6199 STMicroelectronics, stm8af6199 Datasheet - Page 14

no-image

stm8af6199

Manufacturer Part Number
stm8af6199
Description
Automotive 8-bit Mcu, With Up To 128 Kbytes Flash, Eeprom, 10-bit Adc, Timers, Lin, Can, Usart, Spi, I 2c, 3 V To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
Product overview
5.4.2
14/100
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 128 Kbytes minus user-specific boot code (UBC)
UBC: Configurable up to 128 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
STM8AF61xx, STM8AF51xx
Programmable area from 1 Kbyte
(first two pages) up to program memory
end - maximum 128 Kbytes

Related parts for stm8af6199