MPC555CME Freescale Semiconductor, MPC555CME Datasheet - Page 726

KIT EVALUATION FOR MPC555

MPC555CME

Manufacturer Part Number
MPC555CME
Description
KIT EVALUATION FOR MPC555
Manufacturer
Freescale Semiconductor
Type
Microcontrollerr
Datasheet

Specifications of MPC555CME

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Processor To Be Evaluated
MPC555
Data Bus Width
32 bit
Interface Type
RS-232
For Use With/related Products
MPC555
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
21.4.1.5 Running in Debug Mode
21.4.1.6 Exiting Debug Mode
MPC555
USER’S MANUAL
have some significant value, these two registers must be saved before any other op-
eration is performed. Failing to save these registers may result in loss of their value in
case of another load/store type exception inside the development software.
Since exceptions are treated differently when in debug mode (refer to
ning in Debug
ister (SRR0) and machine status save/restore one register (SRR1).
When running in debug mode all fetch cycles access the development port regardless
of the actual address of the cycle. All load/store cycles access the real memory system
according to the cycle’s address. The data register of the development port is mapped
as a special control register therefore it is accessed using mtspr and mfspr instruc-
tions via special load/store cycles (refer to
(DPDR)).
Exceptions are treated differently when running in debug mode. When already in de-
bug mode, upon recognition of an exception, the exception cause register (ECR) is up-
dated according to the event that caused the exception, a special error indication
(ECR_OR) is asserted for one clock cycle to report to the development port that an
exception occurred and execution continues in debug mode without any change in
SRR0 and SRR1. ECR_OR is asserted before the next fetch occurs to allow the de-
velopment system to detect the excepting instruction.
Not all exceptions are recognized when in debug mode. Breakpoints and watchpoints
are not generated by the hardware when in debug mode (regardless of the value of
MSRRI). Upon entering debug mode MSREE is cleared by the hardware thus forcing
the hardware to ignore external and decrementer interrupts.
Setting the MSREE bit while in debug mode, (by the debug software), is strictly forbid-
den. The reason for this restriction is that the external interrupt event is a level signal,
and since the CPU only reports exceptions while in debug mode but do not treat them,
the CPU does not clear the MSREE bit and, therefore, this event, if enabled, is recog-
nized again every clock cycle.
When the ECR_OR signal is asserted the development station should investigate the
exception cause register (ECR) in order to find out the event that caused the excep-
tion.
Since the values in SRR0 and SRR1 do not change if an exception is recognized while
already in debug mode, they only change once when entering debug mode, saving
them when entering debug mode is not necessary.
The rfi instruction is used to exit from debug mode in order to return to the normal pro-
cessor operation and to negate the freeze indication. The development system may
monitor the freeze status to make sure the MPC555 / MPC556 is out of debug mode.
It is the responsibility of the software to read the exception cause register (ECR) before
/
MPC556
Mode), there is no need to save machine status save/restore zero reg-
DEVELOPMENT SUPPORT
Rev. 15 October 2000
21.7.13 Development Port Data Register
21.4.1.5 Run-
MOTOROLA
21-30

Related parts for MPC555CME