beautypg.com

Motorola MCU MC9S12DP256 User Manual

Page 12

background image

12

PM12D60 Memory Map

FFFF

Expanded Wide Mode

Special (BDM) Expanded

Wide Mode

Single Chip Mode

C000

1 2

CONFIG

ON ON

MODE

ON ON

External EPROM

U5/6 (Mon12)

BFFF

1000

External RAM

U3/4

1 2

CONFIG

ON OFF

MODE

OFF OFF

External RAM

U3/4

1 2

CONFIG

OFF OFF

MODE

OFF OFF

Internal Flash Memory

On-Chip

FFF

C00

HC12 Internal EEPROM On-Chip

Peripheral Area -

see note 2 below

BFF

A00

Unused = A00-B7F

LCD / CS7 = BF0-BFF

CS6 = BE0-BEF

CS5 = BD0-BDF
CS4 = BC0-BCF
CS3 = BB0-BBF

CS2 = BA0-BAF
CS1 = B90-B9F
CS0 = B80-B8F

9FF

800

Internal Registers -

see note 1 below

See 68HC912D60 Technical Reference Manual

7FF

000

Internal RAM On-Chip

2.

The Internal Register base address is relocated from $000 to $800 on startup by the
debug utilities (Mon12 and NoICE). To preserve this memory map, you must also do this
in your software when booting from flash. To do this, load register $11 with $08 for
example:

MOVB #08,$11 ; post-reset location of INITRG

3.

The Peripheral Area (A00-BFF) is set to Narrow (8-bit) data width by the debug utilities. If
using this memory, you must also do this in your software when booting from flash as
follows:

MOVW

#$0CF0,PEAR

MOVB #$73,MISC

; Flash on, p-sel stretch = 3

This manual is related to the following products: