beautypg.com

3 memory map when executing from sram, 2 .4 .4 .3 memory map when executing from sram -11 – Maxim Integrated MAX31782 User Manual

Page 15

background image

MaximIntegrated 2-11

MAX31782 User’s Guide

Revision 0; 8/11

2.4.4.3MemoryMapWhenExecutingfromSRAM

When executing from the SRAM:
The utility ROM can be read as data, starting at 8000h of the data space . The utility ROM cannot be written .
Reading of flash memory is executed normally . Writing to flash memory requires the use of the utility ROM routines .
One page (byte access mode) or both pages (word access mode) of the flash memory can be accessed as data with
an offset of 0000h . For byte access mode, the page of flash accessed is determined by the CDA0 bit .

Figure 2-5

illustrates the mapping of the flash and utility ROM memory segments into data memory space when code

is executing from the SRAM memory segment .

Figure 2-5. Memory Map When Executing from SRAM

PROGRAM

SPACE

DATA SPACE

(BYTE MODE, CDA0 = 0)

DATA SPACE

(BYTE MODE, CDA0 = 1)

DATA SPACE

(WORD MODE)

FFFFh

FFFFh

FFFFh

FFFFh

8FFFh

9FFFh

9FFFh

A3FFh

8FFFh

7FFFh

3FFFh

EXECUTING FROM

8000h

7FFFh

8000h

7FFFh

8000h

7FFFh

8000h

4000h

0000h

0000h

0000h

0000h

A000h

1K x 16

SRAM

4K x 16

UTILITY ROM

8K x 8

UTILITY ROM

8K x 8

UTILITY ROM

4K x 16

UTILITY ROM

32K x 8

LOWER HALF

(PAGE 0) OF

FLASH

32K x 8

UPPER HALF

(PAGE 1) OF

FLASH

32K x 16

FLASH

16K x 16

FLASH

(PAGE 1)

16K x 16

FLASH

(PAGE 0)