| 数据搜索系统,热门电子元器件搜索 |
|
STM8AP5X2ATAY 数据表(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8AP5X2ATAY 数据表(HTML) 15 Page - STMicroelectronics |
|
15 / 100 page ![]() STM8AF61xx, STM8AF51xx Product overview 15/100 5.4.3 Read-out protection (ROP) STM8A devices provide a read-out protection of the code and data memory by programming the lock byte at address 4800h with the value AAh. Read-out protection prevents reading and writing the program and data memory via the debug module and SWIM interface. This protection is active in all device operation modes. Any attempt to remove the protection by overwriting the lock byte triggers a global erase of the program and data memory. The ROP circuit may provide a temporary access for debugging or failure analysis. This is a specific product option and must be specified while ordering STM8A products. Temporary read access is protected by a user defined, 8-byte keyword that is different from 00h or FFh. The keys are stored in the option byte area. Temporary read-out can be permanently disabled by means of the option byte TMU_DIS. For enabling temporary read access the eight access keys have to be written in the TMU registers. A wrong code does not change the protection status. More than eight unsuccessful access trials trigger an erase of the program and data memory. Entering the right key sequence enables a temporary read access to the code and data memory after a delay of several milliseconds. The procedure for temporary read access is as follows: ● Activate SWIM mode under device reset - the CPU is stalled, code and data memory are not visible by the debug module. ● Enable the internal 128 KHz LSI oscillator ● Write the 8eight key bytes into the TMU registers ● Set the bit(0) of the TMU status register to 1. A dedicated state machine on an isolated bus, compares the TMU register content with the key stored in the TMU option bytes. During this periode read and write operations have no effect. A reset re-activates the initial protection status. The comparison can be monitored by means of the TU_CTL_ST register. ● In case of a successful key comparison, the SWIM interface enables read access to the code and data memory and program execution. A comparison error does not change the protection status but increments the counter MAXATT. If the counter content exceedes eight unsuccessful trials, a global erase of the data and code memory is triggered. The read access is temporary. A device reset restores the initial protection. 5.4.4 Speed ● Operation at up to 16 MHz CPU clock frequency without wait states. At a higher clock frequency, a single wait state has to be inserted. ● Programming time modes (same for word or block) – Fast programming: Without erase – Standard programming: Erase and program |
|
链接网址 |
| 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 |