AN2548 Freescale Semiconductor / Motorola, AN2548 Datasheet - Page 14

no-image

AN2548

Manufacturer Part Number
AN2548
Description
Serial Monitor Program for HCS12 MCUs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2548/D
Monitor Status Codes
$00 — Monitor
Active
$01 — User Program
Running
$02 — User Program
Halted
$04 — TRACE1
Command Returned
from User Program
$08 — Cold Reset
Executed
$0C — Warm Reset
Executed
14
The second character of a 3-character prompt is a status code that tells the
host debug program the current state of the monitor.
This code indicates that the user application program is not currently running
and the monitor is active and waiting for further commands from the host.
This code indicates that the user application program is currently running. In
this mode, the host may still issue commands to read or write memory locations
or halt the user program so the monitor regains control. However, the monitor
can only honor such command requests if/when the user program has cleared
the I bit in the CCR because these commands rely on an SCI0 receive interrupt
to gain the attention of the monitor program.
This code indicates that the user application program has been halted by the
host. Control has been returned to the monitor.
This code indicates that a TRACE1 (single step) command has been executed
successfully and the monitor is now active and waiting for a new command.
This code indicates that a complete device reset and monitor restart has
occurred.
This code indicates that the monitor has detected a fatal error and has
restarted.
Freescale Semiconductor, Inc.
For More Information On This Product,
Serial Monitor Program for HCS12 MCUs
Go to: www.freescale.com
MOTOROLA

Related parts for AN2548