AN2667 Freescale Semiconductor / Motorola, AN2667 Datasheet - Page 12

no-image

AN2667

Manufacturer Part Number
AN2667
Description
Multi-Controller Hardware Development for the MPC5xx Family
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
The debugger software knows which device should be controlled by monitoring the USE
bitmask that is used to describe the controlled devices.
For the EVB development the tool configuration file was amended to add the following
definition to the config.32 file (MPC561):
Add the following definition to the config.32 file (MPC563):
No device can be debugged when in Peripheral Mode as the core of the device is not
active. Slave Mode should be selected for debug. Ensure D16(PRPM) of the RCW is
not set when trying to communicate with the debugger.
Also ensure SIUMCR[MLRC] = 01 or 11 for RETRY functionality and EMCR[SIZEN] =
1 to allow access to the Module Configuration Registers.
4.0 Types of Accesses and Interrupt Handling
4.1
An external master can perform an access to any location within the internal address
space, no matter if it accesses flash memory, CALRAM, any peripheral module, or
USIU internal register.
There are some access attributes that can be driven on the MPC5xx internal bus when
it is accessed by an external master. These are:
In order to drive these attributes on the internal bus, the EMCR register in the USIU
must be programmed before the access. This means that if one attribute of an access
which is going to be performed differs from current EMCR settings, then EMCR must be
reprogrammed. Access size may be driven directly from the external bus if the SIZEN
bit in EMCR is cleared, (i.e., the requirement to reprogram EMCR in every attribute
change may be bypassed if the only attribute that changes is access size).
MOTOROLA
• Access size (byte, half-word, and word)
• Supervisor/user
• Instruction/data
• Reservation cycle
• Regular access/PPC register access
• Program trace
Types of Accesses
Multi-Controller Hardware Development for the MPC5xx Family
Freescale Semiconductor, Inc.
For More Information On This Product,
• 1 means control the device
• 0 means skip the device
USE=110
USE=001
Go to: www.freescale.com
Note
12 - 16

Related parts for AN2667