DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

STM8S208M8T6BTR View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
STM8S208M8T6BTR Datasheet PDF : 103 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
Option bytes
8
Option bytes
STM8S207xx, STM8S208xx
Option bytes contain configurations for device hardware features as well as the memory
protection of the device. They are stored in a dedicated block of the memory. Except for the
ROP (read-out protection) byte, each option byte has to be stored twice, in a regular form
(OPTx) and a complemented one (NOPTx) for redundancy.
Option bytes can be modified in ICP mode (via SWIM) by accessing the EEPROM address
shown in Table 12: Option bytes below. Option bytes can also be modified ‘on the fly’ by the
application in IAP mode, except the ROP option that can only be modified in ICP mode (via
SWIM).
Refer to the STM8S Flash programming manual (PM0051) and STM8 SWIM
communication protocol and debug module user manual (UM0470) for information on SWIM
programming procedures.
Table 12. Option bytes
Addr.
Option
name
Option
byte no.
7
6
5
Option bits
4
3
2
1
Factory
default
0 setting
4800h
Read-out
protection
(ROP)
OPT0
ROP[7:0]
00h
4801h
4802h
User boot
code(UBC)
OPT1
NOPT1
UBC[7:0]
00h
NUBC[7:0]
FFh
4803h Alternate
OPT2
AFR7 AFR6
AFR5
AFR4
AFR3
AFR2
AFR1
AFR0
00h
function
4804h remapping
NOPT2
NAFR7 NAFR6 NAFR5 NAFR4 NAFR3 NAFR2 NAFR1 NAFR0
FFh
(AFR)
4805h
4806h
Watchdog
option
OPT3
NOPT3
Reserved
Reserved
LSI
IWDG WWDG WWDG
00h
_EN
_HW
_HW
_HALT
NLSI
_EN
NIWDG
_HW
NWWDG NWWDG
_HW
_HALT
FFh
4807h
4808h
Clock option
OPT4
NOPT4
Reserved
Reserved
EXT
CKAWU
PRS
PRS
00h
CLK
SEL
C1
C0
NEXT NCKAWUS NPR
NPR
FFh
CLK
EL
SC1
SC0
4809h
480Ah
HSE clock
startup
OPT5
NOPT5
HSECNT[7:0]
00h
NHSECNT[7:0]
FFh
480Bh
480Ch
Reserved
OPT6
NOPT6
Reserved
00h
Reserved
FFh
480Dh
480Eh
Flash wait
states
OPT7
NOPT7
Reserved
Reserved
Wait state
00h
Nwait state FFh
487Eh
OPTBL
BL[7:0]
00h
Bootloader
487Fh
NOPTBL
NBL[7:0]
FFh
46/103
Doc ID 14733 Rev 12

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]