| 数据搜索系统,热门电子元器件搜索 |
|
R8C/2G 数据表(PDF) 275 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/2G 数据表(HTML) 275 Page - Renesas Technology Corp |
|
275 / 344 page ![]() R8C/2G Group 20. Flash Memory Rev.1.00 Apr 04, 2008 Page 255 of 318 REJ09B0387-0100 20.4.3 EW0 Mode The MCU enters CPU rewrite mode and software commands can be acknowledged by setting the FMR01 bit in the FMR0 register to 1 (CPU rewrite mode enabled). In this case, since the FMR11 bit in the FMR1 register is set to 0, EW0 mode is selected. Use software commands to control program and erase operations. The FMR0 register or the status register can be used to determine when program and erase operations complete. Figure 20.7 shows How to Set and Exit EW0 Mode. Figure 20.7 How to Set and Exit EW0 Mode Set registers(1) CM0 and CM1 Transfer a rewrite control program which uses CPU rewrite mode to the RAM. Jump to the rewrite control program which has been transferred to the RAM. (The subsequent process is executed by the rewrite control program in the RAM.) Write 0 to the FMR01 bit before writing 1 (CPU rewrite mode enabled)(2) Execute the read array command(3) Execute software commands Write 0 to the FMR01 bit (CPU rewrite mode disabled) Jump to a specified address in the flash memory Rewrite control program NOTES: 1. Select 5 MHz or below for the CPU clock by the CM06 bit in the CM0 register and bits CM16 to CM17 in the CM1 register. 2. To set the FMR01 bit to 1, write 0 to the FMR01 bit before writing 1. Do not generate an interrupt between writing 0 and 1. Write to the FMR01 bit in the RAM. 3. Disable the CPU rewrite mode after executing the read array command. EW0 Mode Operating Procedure |
|
链接网址 |
| 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 |