stm8af6166t STMicroelectronics, stm8af6166t Datasheet - Page 14

no-image

stm8af6166t

Manufacturer Part Number
stm8af6166t
Description
Automotive 8-bit Mcu, With Up To 128 Kbytes Flash, Eeprom, 10-bit Adc, Timers, Lin, Can, Usart, Spi, I2c, 3 V To 5.5 V
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
stm8af6166tA
Manufacturer:
TI
Quantity:
1
Part Number:
stm8af6166tA
Manufacturer:
ST
0
Part Number:
stm8af6166tA
Manufacturer:
ST
Quantity:
20 000
Part Number:
stm8af6166tAY
Manufacturer:
ST
0
Part Number:
stm8af6166tB
Manufacturer:
RENESAS
Quantity:
49
Part Number:
stm8af6166tB
Manufacturer:
ST
0
Part Number:
stm8af6166tC
Manufacturer:
ST
0
Part Number:
stm8af6166tCX
Manufacturer:
ST
0
Product overview
14/84
Write protection (WP)
Write protection in application mode is intended to avoid unintentional overwriting of the
memory in case of user software malfunction. The implemented WP scheme enables
The program memory is divided into two areas:
The UBC area 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.
Read-out protection (ROP)
The read-out protection blocks reading and writing the program memory, data memory and
RAM in debug mode. Once the read-out protection is activated, any attempt to toggle its
status triggers a global erase of the program and data memory.
Write protection of the program memory in user mode
Code update in user mode
Main program memory: Up to 128 Kbytes minus UBC
User-specific boot code (UBC): Configurable up to 128 Kbytes
Up to
128 Kbytes
Flash
program
memory
Data
EEPROM
memory
Flash memory organization
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 I Kbyte
(2 first pages) up to 128 Kbytes
(1 page steps)

Related parts for stm8af6166t