D E M O 9 S 1 2 X D T 5 1 2
J U L Y 1 8 , 2 0 0 8
8
Table 2: BDM Mode Setup
PWR_SEL
Pin1 – Pin2 (VB)
CLK_SEL
Pin1 – Pin2 (Y1)
VX_EN
Off
USER
As Required
LIN_EN
As Required
USB_SPEED
Pin1 – Pin2 (HIGH)
NOTE:
Refer to the Development Support section below for details on using an external HCS12 BDM cable.
4. Connect the supplied USB cable between an available USB port on the host PC and the
USB connector on the board.
5. Hosting development software will establish DEBUG communication.
6. If the P&E Connection Assistant appears, ensure the following settings
Interface:
USB HCS08/HCS12 MULTILINK – USB PORT
Port:
USB1 : USB-ML-12 REF : DEMO9S12XDT512
CPU:
HC12/HCS12 - Autodetect Device Type
MEMORY MAP
The table below shows the default memory map for the MC9S12XDP512 immediately out of
reset.
Table 3: Memory Map
$0000 -
$07FF
REGISTERS
2 KB
$0800 -
$0FFF
EEPROM
4 KB
4 – 1Kb pages between 0x800 –
0xBFF
$1000 -
$3FFF
RAM
12 KB
5 – 4Kb pages between 0x1000 –
0x1FFF
$4000 -
$7FFF
FIXED FLASH
16 KB
1K, 2K, 4K, 8K Protected Boot
Sector
$8000 -
$BFFF
FLASH EEPROM
PAGE WINDOW
16 KB
32 – 16Kb pages
$C000 -
$EFFF
FIXED FLASH
16 KB
2K, 4K, 8K, 16K Protected Boot
Sector
$FF00 -
$FFFF
Vectors
BDM (if active)
255
bits
SOFTWARE DEVELOPMENT
Software development will require the use of an assembler or compiler supporting the HCS12
instruction set and a host PC operating a debug interface. The assembler or compiler must
also support the HC(S)12 X-Gate instruction set. CodeWarrior Development Studio and Axiom
IDE for Windows for Debugging and Flash programming are supplied with this board.