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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

744件の閲覧回数
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!

ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

512件の閲覧回数
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 件の賞賛

512件の閲覧回数
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 件の賞賛