![Maxim Integrated MAX31782 Скачать руководство пользователя страница 217](http://html1.mh-extra.com/html/maxim-integrated/max31782/max31782_user-manual_1744481217.webp)
MaximIntegrated 21-4
MAX31782 User’s Guide
Revision 0; 8/11
21.3DataTransferFunctions
The MAX31782 cannot access data from the same memory segment that is currently being used for instructions . For
example, when instructions are executing from FLASH, data in FLASH cannot be accessed . The following utility ROM
functions can be used to transfer data from one memory segment to another . For example, if data in FLASH needs to
be copied to SRAM, one of these ROM functions can be called to do this transfer . This is useful when code is executing
from FLASH and access to lookup tables or non-volatile data that is stored in FLASH is required . These functions can
also be used by code running from SRAM to read data that is stored in SRAM .
Since these functions are executed from utility ROM, addresses must be specified correctly to point to the intended
memory segments . When executing from utility ROM, the memory map is illustrated in
. For example, data
located at word address 0100h in the FLASH must be accessed at word address 8100h (or byte address 8200h) when
using any of the functions listed in the following sections .
Figure 21-1. Memory Map when Executing from Utility ROM
PROGRAM
SPACE
DATA SPACE
(WORD MODE)
DATA SPACE
(BYTE MODE, CDA0 = 0)
DATA SPACE
(BYTE MODE, CDA0 = 1)
FFFFh
FFFFh
8000h
FFFFh
8000h
FFFFh
8000h
03FFh
07FFh
0000h
07FFh
0000h
0000h
A3FFh
EXECUTING FROM
A000h
8FFFh
7FFFh
3FFFh
8000h
4000h
0000h
1K x 16
DATA SRAM
1K x 16
DATA SRAM
32K x 8
LOWER HALF
(PAGE 0) OF
PROGRAM FLASH
32K x 8
UPPER HALF
(PAGE 1) OF
PROGRAM FLASH
32K x 16
PROGRAM FLASH
4K x 16
UTILITY ROM
16K x 16
PROGRAM FLASH
(PAGE 1)
16K x 16
PROGRAM FLASH
(PAGE 0)
2K x 8
DATA SRAM
2K x 8
DATA SRAM