Freescale Semiconductor
Application Note
Document Number: AN4034
Rev. 0, 03/2011
Contents
© Freescale Semiconductor, Inc., 2011. All rights reserved.
1
Scope
This paper is a brief tutorial and description on how to
select and run the MPC5643L in decoupled parallel
mode (DPM).
2
Reference material
Freescale document MPC5643LRM,
MPC5643L
Microcontroller Reference Manual
, Rev. 7, October
2010.
3
Overview
The paper reviews the dual core modes of the
MPC5643L, but focuses on the operation of the
decoupled parallel mode (DP mode or DPM) on the chip
and on how to enable the DPM.
The MPC5643L operates in both lock step mode and
DPM — this paper will focus on the DPM mode.
1
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2
Reference material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
4
MPC5643L dual core architecture . . . . . . . . . . . . . . . . . . 2
4.1
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4.2
Sphere of replication . . . . . . . . . . . . . . . . . . . . . . . . 3
4.3
Memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5
Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5.1
Hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5.2
Software setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5.3
Basic dual core flash boot program flow . . . . . . . . . 5
6
Changing between LSM and DPM . . . . . . . . . . . . . . . . . 7
6.1
Configure the flash programming utility . . . . . . . . . . 7
6.2
Dump shadow flash to s-record file . . . . . . . . . . . . . 8
6.3
Modify s-record file to change LSM/DPM configuration
8
6.4
Program shadow flash with updated user configura-
tion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6.5
Verify new configuration . . . . . . . . . . . . . . . . . . . . . 9
7
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
8
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Qorivva MPC5643L Dual
Processor Mode
by: Mark Ruthenbeck
Applications Engineering
Microcontroller Solutions Group