AN2757 Freescale Semiconductor / Motorola, AN2757 Datasheet - Page 8

no-image

AN2757

Manufacturer Part Number
AN2757
Description
MPC5200 Quick Start
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MPC5200 Quick Start Projects
Figure 6. CodeWarrior Flash Programmer: “Target Configuration”
Figure 7. CodeWarrior Flash Programmer: “Flash Configuration”
The second “Flash Configuration” page of the Flash Programmer
(Figure
7) shows the type and address of the Flash device to
be programmed. For the Lite5200, the proper device “AM29LV065D” is set already by loading the “flash_prog.xml” configuration
file. A “Flash Memory Base Address” should be set to 0xFF000000, which is the address assigned to the Flash (CS0) memory
space by the script in the Debugger Configuration File
(Section 5.2.3, Debugger Initialization
Files).
On the third “Program / Verify” page of the Flash Programmer
(Figure
8), it is possible to specify an s-record file (.mot) to be
programmed and to perform the Flash programming itself. However, before programming the Flash memory, it should be first
checked whether the Flash sectors to be programmed are blank (erased). Go to the fourth “Erase / Blank Check” page of the
Flash Programmer, select Flash sectors to be checked and press “Blank Check” or “Erase” button. The amount of memory (a
number of sectors) to be checked or erased depends on the size of the s-record file to be programmed. The s-record file can be
examined with a text editor - the last S3-record gives an information about how long the image is (see
Figure
9). In the case of
the “Hello World” application created in
Section
4, the S-record is about 0x9400 bytes long.
AN2757 MPC5200 Quick Start and Graphical Configuration Tool
8
Freescale Semiconductor

Related parts for AN2757