| Electronic Components Datasheet Search |
|
AT89LP6440 Datasheet(PDF) 20 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP6440 Datasheet(HTML) 20 Page - ATMEL Corporation |
|
20 / 194 page ![]() 20 3706A–MICRO–9/09 AT89LP6440 - Preliminary separate copies of SP for use with each stack space. Interrupts should be disabled while swap- ping copies of SP in such an application to prevent illegal stack accesses. All interrupt calls and PUSH, POP, ACALL, LCALL, RET and RETI instructions will incur a one or two-cycle penalty while the extended stack is enabled, depending on the number of stack access in each instruction. The extended stack may only exist within the internal EDATA space; it cannot be placed in XDATA. The stack will continue to use EDATA even if EDATA is disabled by setting EXRAM = 1. Figure 3-14. Stack Configurations 3.5 In-Application Programming (IAP) The AT89LP6440 supports In-Application Programming (IAP), allowing the program memory to be modified during execution. IAP can be used to modify the user application on the fly or to use program memory for nonvolatile data storage. The same page structure write protocol for FDATA also applies to IAP (See Section 3.3.3.1 “Write Protocol” on page 13). The CPU is always placed in idle while modifying the program memory. When the write completes, the CPU will continue executing with the instruction after the MOVX @DPTR,A instruction that started the write. To enable access to the program memory, the IAP bit (MEMCON.7) must be set to one and the IAP User Fuse must be enabled. The IAP User Fuse can disable all IAP operations. When this fuse is disabled, the IAP bit will be forced to 0. While IAP is enabled, all MOVX @DPTR instruc- tions will access the CODE space instead of EDATA/FDATA/XDATA. IAP also allows reprogramming of the User Signature Array when SIGEN = 1. The IAP access settings are sum- marized in Table 3-5. 70 00h FFh IDATA (256) SP 70 00h FFFh EDATA (4K) SP 30 SPX XSTK = 0 XSTK = 1 Table 3-5. IAP Access Settings IAP SIGEN DMEN MOVX @DPTR MOVC @DPTR 0 0 0 EDATA (0000–0FFFH) CODE (0000–FFFFH) 0 0 1 FDATA (1000–2FFFH) CODE (0000–FFFFH) 0 1 0 EDATA (0000–0FFFH) SIG (0000–01FFH) 0 1 1 FDATA (1000–2FFFH) SIG (0000–01FFH) 1 0 X CODE (0000–FFFFH) CODE (0000–FFFFH) 11 X SIG (0000–01FFH) SIG (0000–01FFH) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |