
Changing between LSM and DPM
Qorivva MPC5643L Dual Processor Mode, Rev. 0
Freescale Semiconductor
8
Figure 3. Connecting to MPC5643L
4. Specify the programming algorithm to use. In this case, select the file from the P&E tools
installation folder
.
..\pemicro\algorithms\shadow\Freescale_MPC5643L_1x32x4k_Shadow_Blk_Freescale_C9
0FL2_Driver_031.PCP
to enable program and erase operations on the shadow flash.
6.2
Dump shadow flash to s-record file
After the programming tool has been configured for the MPC5643L shadow flash, the existing contents of
the shadow flash should be dumped to an s-record file. The file will be used to change the configuration.
1. From the menu bar, select Upload
Upload Module.
2. Specify a name for the s-record .s19 file.
6.3
Modify s-record file to change LSM/DPM configuration
The s-record file can now be edited to modify the LSM/DPM configuration. The s-record file format
S2xxyyyyyyzzzzcs is as follows:
•
S2
Single-character start code S followed by a single-character record type. S2 indicates the line is a
data sequence with 3 bytes of address.
•
xx
Two hexadecimal digits indicating the byte count in hexadecimal (a data + checksum).
•
yyyyyy
Six hexadecimal digits to indicate the three bytes of address that specify the memory location of
the first data byte
•
zzzz
Zero to sixty-four pairs of hexadecimal characters specifying the data bytes
•
cs
Two hex digits indicating the checksum, which is calculated by taking the sum of the all the bytes