| 数据搜索系统,热门电子元器件搜索 |
|
T89C51AC2-RLSI-M 数据表(PDF) 22 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T89C51AC2-RLSI-M 数据表(HTML) 22 Page - ATMEL Corporation |
|
22 / 117 page ![]() 22 Draft.A - March 30, 2001 Preview - Confidential T89C51AC2 7.4. Overview of FM0 operations The CPU interfaces to the flash memory through the FCON register and AUXR1 register. These registers are used to: • Map the memory spaces in the adressable space • Launch the programming of the memory spaces • Get the status of the flash memory (busy/not busy) • Select the flash memory FM0/FM1. 7.4.1. Mapping of the memory space By default, the user space is accessed by MOVC instruction for read only. The column latches space is made accessible by setting the FPS bit in FCON register. Writing is possible from 0000h to 7FFFh, address bits 6 to 0 are used to select an address within a page while bits 14 to 7 are used to select the programming address of the page. Setting this bit takes precedence on the EXTRAM bit in AUXR register. The other memory spaces (user, extra row, hardware security) are made accessible in the code segment by programming bits FMOD0 and FMOD1 in FCON register in accordance with Table 13. A MOVC instruction is then used for reading these spaces. Table 13. .FM0 blocks select bits 7.4.2. Launching programming FPL3:0 bits in FCON register are used to secure the launch of programming. A specific sequence must be written in these bits to unlock the write protection and to launch the programming. This sequence is 5 followed by A. Table 14 summarizes the memory spaces to program according to FMOD1:0 bits. Table 14. Programming spaces The FLASH memory enters a busy state as soon as programming is launched. In this state, the memory is no more available for fetching code. Caution: Interrupts that may occur during programming time must be disable to avoid any spurious exit of the idle mode. FMOD1 FMOD0 FM0 Adressable space 0 0 User (0000h-FFFFh) 0 1 Extra Row(FF80h-FFFFh) 1 0 Hardware Security (0000h) 1 1 reserved Write to FCON Operation FPL3:0 FPS FMOD1 FMOD0 User 5 X 0 0 No action A X 0 0 Write the column latches in user space Extra Row 5 X 0 1 No action A X 0 1 Write the column latches in extra row space Security Space 5 X 1 0 No action A X 1 0 Write the fuse bits space Reserved 5 X 1 1 No action A X 1 1 No action |
|
链接网址 |
| 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 |