while(MC_ME.GS.B.S_MTRANS == 1); /* Wait for mode transition complete */ Stucked in this step when debugging

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

while(MC_ME.GS.B.S_MTRANS == 1); /* Wait for mode transition complete */ Stucked in this step when debugging

737 Views
yuzhuyang
Contributor I

hello expert:

when i try to debug with MULTI the sample boot project, program  paused in step below:

while(MC_ME.GS.B.S_MTRANS == 1); /* Wait for mode transition complete */ 

any comments on this section when debugg with MULTI load elf built by GHS?

thanks!

Labels (1)
Tags (1)
0 Kudos
2 Replies

505 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You dont have probably configured clocks. Most probably PLL is unlocked and you are asking micro to be supplied by PLL.

Check your clock sources if they are correct.

Peter

0 Kudos

505 Views
yuzhuyang
Contributor I

Hi Peter ,

I deleted this wait program, and debug the erase, then everything goes well. 

while we have this sentence debugging, program stopped and wait for ever. 

CLOCK configured before this line. otherwise programming goes wrong, i think.

thanks for your professional  comments!

regards,

Yang

0 Kudos