| 数据搜索系统,热门电子元器件搜索 |
|
ST10F272M 数据表(PDF) 38 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F272M 数据表(HTML) 38 Page - STMicroelectronics |
|
38 / 175 page ![]() Internal Flash memory ST10F272M 38/176 To enable Access Protection, the following sequence of operations is recommended: ● execution from external memory or internal Rams ● program TAUB bit at 1 in XFVTAUR0 register ● program ACCP bit in FNVAPR0 to 0 using Set Protection operation ● program TAUB bit at 0 in XFVTAUR0 register ● Access Protection is active when both ACCP bit and TAUB bit are set to 0. Protection can be permanently disabled by programming bit PDS0 of FNVAPR1H, in order to analyze rejects. Protection can be permanently enabled again by programming bit PEN0 of FNVAPR1L. The action to disable and enable again Access Protections in a permanent way can be executed a maximum of 16 times. To execute the above described operations, the Flash has to be temporarily unprotected (see Section 5.5.9: Temporary unprotection). Trying to write into the access protected Flash from internal RAM or external memories will be unsuccessful. Trying to read into the access protected Flash from internal RAM or external memories will output dummy data (software trap 0x009Bh). When the Flash module is protected in access, data access through PEC of a peripheral is also forbidden. To read/write data in PEC mode from/to a protected Bank, it is necessary to first temporarily unprotect the Flash module. The following table summarizes all possible Access Protection levels: In particular, it shows what is possible and not possible to do when fetching from a memory (see fetch location column) supposing all possible access protections are enabled. When the Access Protection is enabled, Flash registers can not be written, so no program/erase operation can be run on IFlash. To enable the access to registers again, the Temporary Access Unprotection procedure has to be followed (see Section 5.5.9). 5.5.8 Write protection The Flash modules have one level of Write Protections: each Sector of each Bank of each Flash Module can be Software Write Protected by programming at 0 the related bit W0Px in FNVWPIRL register. 5.5.9 Temporary unprotection Bits W0Px of FNVWPIRL can be temporarily unprotected by executing the Set Protection operation and by writing 1 into these bits. Table 24. Summary of access protection level Fetch location Read IFlash / Jump to IFlash Read XRAM or External Memory / Jump to XRAM or External Memory Read Flash registers Write Flash registers Fetching from IFlash Yes / Yes Yes / Yes Yes No Fetching from IRAM No / Yes Yes / Yes No No Fetching from XRAM No / Yes Yes / Yes No No Fetching from External Memory No / Yes Yes / Yes No No |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |