I have a demojm board with a mcf51jm128 cpu. My OS is Win7 x64, and I'm using the latest version of CW.
The problem is clock configuration function, the CPU freezes on the following loops:
while(MCGSC_IREFST != 0U)
while(MCGSC_PLLST == 0U)
while(MCGSC_LOCK == 0U)
If I comment these lines the CPU is working correctly.
How to solve that problem? If It's needed I can send you a clock configuration preset from CW (*.dev file).
I upload preset screenshot and Processor Expert dev file.
Original Attachment has been moved to: preset.dev.zip
I'm using the default quartz on the DEMOJM Board.
Changing External oscillator to External crystal nothing change. The CPU is looping on the "/* Wait until external reference is stable */" loop.
IT WORKS ;-)
You must change the "external ref clock for peripherials" to enable state.