AN2757 Freescale Semiconductor / Motorola, AN2757 Datasheet - Page 17

no-image

AN2757

Manufacturer Part Number
AN2757
Description
MPC5200 Quick Start
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
6.3
The GCT opens and saves the MPC5200 configuration into the project’s “appconfig.h” file located in the “ApplicationConfig”
subdirectory of the project folder on a disk. A configuration is saved as a set of macro (#define) values in the form of a standard
C-header file. This header file is included by all MPC5200_Quick_Start project files and the values from this file are used to
initialize the MPC5200 control and PowerPC core registers.
Most of the items in the tree view do have a check-box field. Using it, the user selects the modules for which the configuration is
to be saved in the resulting “appconfig.h” file. When the check-box is not ticked and the module configuration in the GCT differs
from module post-reset state, the user is warned about that the modified configuration will be lost (not saved into “appconfig.h”).
Depending on the GCT settings, the configuration saved in the “appconfig.h” file may also contain the human-readable
comments, describing the configuration values as they were displayed in the Graphical Configuration Tool.
As the MPC5200_Quick_Start is built on top of the Freescale (formerly Motorola)MPC5200 BSP, the GCT saves the
configuration in the 8-bit, 16-bit and 32-bit “BSP” format of peripheral register values. Be aware that this format often does not
correspond exactly to the 32-bit register definitions as stated in the MPC5200 User Manual.
6.4
The “File / Options...” menu in the GCT opens the “Configuration Tool Options” dialog with a few settings controlling the
“appconfig.h” file output.
Freescale Semiconductor
GCT Input/Output - “appconfig.h”
GCT Options
AN2757 MPC5200 Quick Start and Graphical Configuration Tool
Figure 15. GCT-Saved Configuration (CDM Module)
Graphical Configuration Tool
17

Related parts for AN2757