
9. Memory Map
The memory map of the microcontroller is initialized by the
TwinPEEKs monitor as follows (Note: partly different from reset
default values!):
S12compact.DP512
16KB Flash (equals Page $3F)
TwinPEEKs uses the top 4KB
$FFFF
$C000
16KB Flash page $20
(any Page
$20
..$3F, selectable by PPAGE)
$BFFF
$8000
16KB Flash (equals Page $3E)
$7FFF
$4000
14KB RAM
TwinPEEKs uses the top 512 bytes
$3FFF
$0800
1KB (of total 4KB) EEPROM
(the area below $0400 is hidden by control registers,
the top 2048 bytes by the RAM!)
$07FF
$0400
Control Registers
$03FF
$0000
Ressource
End
Begin
Note:
Due to a mask set erratum of the MC9S12DP512 Mask Set 4L00M
(and earlier) not only the monitor code in page $3F is write protected,
but also an additional area starting at $B000 up to $BFFF in page $3B.
Consequently, the monitor can not download user code to this region.
However, the whole Flash memory (including the write protected
areas) can be programmed using a BDM tool at any desired time.
User Manual
45