D-Bug12 sets the default value of the user's stack pointer to
$0A00. This is not a mistake. The M68HC12's stack pointer
points to the last byte that was pushed onto the stack, rather than to
the next available byte on the stack, as the M68HC11 does. The
M68HC12 first decrements its stack pointer, then stores data on the
stack. The M68HC11 stores data on the stack and then decrements
its stack pointer.
3.8.2 Memory Map
Address Range
Usage
$0000 - $01FF
CPU registers
$0800 - $09FF
user code/data
$0A00 - $0BFF
reserved for D-Bug12
$0D00 - $0FFF
user code/data
$8000 - $F67F
D-Bug12 code
$F680 - $F6BF
user-accessible functions
$F6C0 - $F6FF
D-Bug12 customization data
$F700 - $F77F
D-Bug12 startup code
$F780 - $F7FF
interrupt vector jump table
$F800 - $FBFF
reserved for bootloader expansion
$FC00 - $FFBF
EEPROM bootloader
$FFC0 - $FFFF
reset and interrupt vectors
3.9 OPERATIONAL LIMITATIONS
In EVB mode, D-Bug12 requires many of the MC68HC912B32's resources for execution. In
this mode, the EVB cannot provide true emulation of a target system. These limitations are
described in the following sections.
If target-system emulation is required, the EVB may be reprogrammed and controlled via the
BDM interface. Operation as a target is described in 3.1.3 POD (Probe) Mode.
68EVB912B32UM/D
Table 3-5. Factory-Configuration Memory Map
NOTE
Description
on-chip registers
1K on-chip RAM
768 bytes on-chip EEPROM
32 Kbytes on-chip Flash
EEPROM
OPERATION
3-55