| Electronic Components Datasheet Search |
|
PIC24FJ256DA206 Datasheet(PDF) 78 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC24FJ256DA206 Datasheet(HTML) 78 Page - Microchip Technology |
|
78 / 408 page ![]() PIC24FJ256DA210 FAMILY DS39969B-page 78 2010 Microchip Technology Inc. 4.3.3 READING DATA FROM PROGRAM MEMORY USING EDS The upper 32 Kbytes of data space may optionally be mapped into any 16K word page of the program space. This provides transparent access of stored constant data from the data space without the need to use special instructions (i.e., TBLRDL/H). Program space access through the data space occurs when the MSb of EA is ‘1’ and the DSRPAG<9> is also ‘1’. The lower 8 bits of DSRPAG are concatenated to the Wn<14:0> bits to form a 23-bit EA to access program memory. The DSRPAG<8> decides which word should be addressed; when the bit is ‘0’, the lower word and when ‘1’, the upper word of the program memory is accessed. The entire program memory is divided into 512 EDS pages, from 0x200 to 0x3FF, each consisting of 16K words of data. Pages, 0x200 to 0x2FF, correspond to the lower words of the program memory, while 0x300 to 0x3FF correspond to the upper words of the program memory. Using this EDS technique, the entire program memory can be accessed. Previously, the access to the upper word of the program memory was not supported. Table 4-37 provides the corresponding 23-bit EDS address for program memory with EDS page and source addresses. For operations that use PSV and are executed outside a REPEAT loop, the MOV and MOV.D instructions will require one instruction cycle in addition to the specified execution time. All other instructions will require two instruction cycles in addition to the specified execution time. For operations that use PSV, which are executed inside a REPEAT loop, there will be some instances that require two instruction cycles in addition to the specified execution time of the instruction: • Execution in the first iteration • Execution in the last iteration • Execution prior to exiting the loop due to an interrupt • Execution upon re-entering the loop after an interrupt is serviced Any other iteration of the REPEAT loop will allow the instruction accessing data, using PSV, to execute in a single cycle. TABLE 4-37: EDS PROGRAM ADDRESS WITH DIFFERENT PAGES AND ADDRESSES DSRPAG (Data Space Read Register) Source Address while Indirect Addressing 23-Bit EA Pointing to EDS Comment 0x200 0x8000 to 0xFFFF 0x000000 to 0x007FFE Lower words of 4M program instructions; (8 Mbytes) for read operations only. • • • • • • 0x2FF 0x7F8000 to 0x7FFFFE 0x300 0x000001 to 0x007FFF Upper words of 4M program instructions (4 Mbytes remaining, 4 Mbytes are phantom bytes) for read operations only. • • • • • • 0x3FF 0x7F8001 to 0x7FFFFF 0x000 Invalid Address Address error trap(1) Note 1: When the source/destination address is above 0x8000 and DSRPAG/DSWPAG is ‘0’, an address error trap will occur. |
|
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 |