AN2667 Freescale Semiconductor / Motorola, AN2667 Datasheet - Page 9

no-image

AN2667

Manufacturer Part Number
AN2667
Description
Multi-Controller Hardware Development for the MPC5xx Family
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3.6
Note: The text in the following section considers a dual controller system such as the
MPC563(master) / MPC561(slave) EVB.
On system boot up the master device may boot from the internal flash memory while
holding the slave device in reset. The master device uses the internal flash RCW on
boot up.
The slave can be initialised in 2 ways:
The master releases the slave from reset, the slave then samples the RCW from the
external data bus. The RCW for the slave sets up the device in peripheral mode. In
peripheral mode the master has access to the internal memory map of the slave. The
master configures the slave and downloads the relocatable code into the slave’s
CALRAM.
The master releases the slave from peripheral mode into slave mode and the slave
executes the downloaded code. In this configuration the slave does not have access to
the master device.
The master then executes it own code from internal or external flash memory.
The compile and link tools(in this case DIAB from Windriver) used to link the application
code provides the ability to partition the code between the slave and master devices.
This provides the ability to relocate the slave code into the slave device from the
master’s flash memory.
Development For The Dual MPC561/3 EVB”.
MOTOROLA
Initialisation
– The device is put into peripheral mode from reset using the RCW. The
– The initialisation code is programmed into internal or external flash and
slave code is then copied from the master’s internal or external flash
memory to the slave’s internal CALRAM or SRAM. (For this to work the
exception vector table has to be relocated to the internal CALRAM.) Also
the RCW has to select this relocation by setting D1(IP), D19(ETRE),
D24,D25(OERC) to 1 in the RCW.
the slave boots from this then switches itself to slave mode.
Multi-Controller Hardware Development for the MPC5xx Family
Freescale Semiconductor, Inc.
For More Information On This Product,
Refer to Application Note titled “ Dual Controller Software
Go to: www.freescale.com
9 - 16

Related parts for AN2667