数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0073 数据表(PDF) 21 Page - STMicroelectronics

部件名 PM0073
功能描述  STM32Wxxx Flash memory microcontrollers
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0073 数据表(HTML) 21 Page - STMicroelectronics

Back Button PM0073 Datasheet HTML 17Page - STMicroelectronics PM0073 Datasheet HTML 18Page - STMicroelectronics PM0073 Datasheet HTML 19Page - STMicroelectronics PM0073 Datasheet HTML 20Page - STMicroelectronics PM0073 Datasheet HTML 21Page - STMicroelectronics PM0073 Datasheet HTML 22Page - STMicroelectronics PM0073 Datasheet HTML 23Page - STMicroelectronics PM0073 Datasheet HTML 24Page - STMicroelectronics PM0073 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 34 page
background image
PM0073
Reading/programming the STM32Wxxx embedded Flash memory
Doc ID 17766 Rev 5
21/34
Case 2 - Read protection maintained active after the write unprotection, useful for in-
application programming with a user bootloader:
1.
Erase the entire option byte area by using the OPTER bit in the Flash memory control
register (FLASH_CR).
2.
Reset the device (system reset) to reload the option bytes (and the new WRP[3:0]
bytes), and to disable the write protection.
2.3.3
Option byte block write protection
The option bytes are always read-accessible and write-protected by default. To gain write
access (Program/Erase) to the option bytes, a sequence of keys (same as for lock) has to
be written into the OPTKEYR. A correct sequence of keys gives write access to the option
bytes; this is indicated by OPTWRE in the FLASH_CR register being set. Write access can
be disabled by resetting the bit through software.
2.4
Option byte description
There are eight option bytes. They are configured by the end user depending on the
application requirements. As a configuration example, the watchdog may be selected in
hardware or software mode.
A 32-bit word is split up as follows in the option bytes.
The organization of these bytes inside the information block is as shown in Table 8: Option
byte organization (wireless line devices).
The option bytes can be read from the memory locations listed in Table 8: Option byte
organization (wireless line devices) or from the Option byte register (FLASH_OBR).
Note:
The new programmed option bytes (user, read/write protection) are loaded after a system
reset.
Table 7.
Option byte format
31-24
23-16
15 -8
7-0
complemented option
byte1
Option byte 1
complemented option
byte0
Option byte 0
Table 8.
Option byte organization (wireless line devices)
Address
[31:24]
[23:16]
[15:8]
[7:0]
0x0804 0800
nRsvd0
Rsvd0
nRDP
RDP
0x0804 0804
nRsvd2
Rsvd2
nRvsd1
Rvsd1
0x0804 0808
nWRP1
WRP1
nWRP0
WRP0
0x0804 080C
nWRP3
WRP3
nWRP2
WRP2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com