
Projects Files
Digital Power Factor Correction using 56F8346
For More Information On This Product,
Go to: www.freescale.com
11
For more information about these commands, see:
<...>\CodeWarrior Manuals\PDF\Targeting_56800E.pdf
4.
Projects Files
The Digital PFC application is composed of the following files:
...\Project Directory
\
“Project File Name”
.mcp
,
application project file
...\Project Directory\
“Project File Name”
.pe
,
Processor Expert software file
...\Project Directory\
“Project File Name”
.G_C
, Processor Expert software file
...\Project Directory\
“Project File Name”
.dsk
, Processor Expert software file
...\Project Directory\bin\*.xMAP
, map file
...\Project Directory\bin\*.elf
, standard binary file
...\Project Directory\startup\*.c, *.h, *.asm
, initialization files
...\Project Directory\Code\adcPrimary.*
files generated by the PE for
adcPrimary
bean
...\Project Directory\Code\PC_M1.*
, files generated by the PE for
PC_M1
bean
...\Project Directory\Code\tiAux.*
, files generated by the PE for
tiAux
bean
...\Project Directory\Code\tmrD1.*
, files generated by the PE for
tmrD2
bean
...\Project Directory\Code\Cpu.*
, files generated by the PE for the CPU used
...\Project Directory\Code\Events.*
, files generated by the PE for events
...\Project Directory\Code\PE_Const.*
, PE internal definitions of the constants
...\Project Directory\Code\PE_Error.*
, PE internal definitions of the error constants
...\Project Directory\Code\PE_Types.*
, PE internal definitions of the types
...\Project Directory\Code\PESL.*
, configuration file for PESL library
...\Project Directory\Code\Vectors.*
, definitions of the interrupt vectors
5.
Execute
To execute the Digital PFC Application, select the
Project/Debug
command in the CodeWarrior IDE,
followed by the
Run
command. For more help with these commands, refer to the CodeWarrior tutorial
documentation in the following file, located in the CodeWarrior installation directory:
<...>\CodeWarrior Manuals\PDF\Targeting_56800E.pdf
If the Flash target is selected, CodeWarrior will automatically program the device’s internal Flash with
the executable generated during
Build
. If the External RAM target is selected, the executable will be
loaded to off-chip RAM.
Once Flash has been programmed with the executable, the EVM target system may be run in a
stand-alone mode from Flash. To do this, set the JG9 jumper in the 1-2 configuration to disable the
parallel port, and press the RESET button.
To enable the PFC conversion, set the RUN/STOP switch to the RUN position. If this switch was in
the RUN position before the application started, move it to the STOP position first, then back to the
RUN position. The USER LED should light continuously when the PFC conversion is enabled. To
disable the PFC conversion, move the RUN/STOP switch to the STOP position, causing the USER
LED to blink again.
F
Freescale Semiconductor, Inc.
n
.