AnsweredAssumed Answered

MCF51JM128 get freeze on the PLL loops

Question asked by michalpl on Sep 15, 2012

hello.

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)

(MCUinit.c file)

 

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).

Thanks.

 

Edit:

 

I upload preset screenshot and Processor Expert dev file.

 

edit:

Original Attachment has been moved to: preset.dev.zip

Attachments

Outcomes