Hello
Basically if you have created a project with Processor Expert , the PLL and COP are initialized in the function PE_low_level_init(), which is implemented in cpu.c.
If you did create your application without ProcessorExpert, PLL is not initialized. COP is initialized according to macro _DO_ENABLE_COP_, _DO_DISABLE_COP_.
These macros are defined on the Compiler command line:
To check your command line:
- Open your project in CodeWarrior
- Open target Settings dialog (Press ALT + F7)
- Switch to Compiler for HC12 Panel
You can see the compiler command line arguments in there.
CrasyCat