MPC5645s: Start-Up Issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5645s: Start-Up Issue

1,487 次查看
sagardhavali
Contributor III

Hello,

I am facing issue with startup of MPC5645s. I am able to run my application code on the micro using debugger but when I flash it and try to run (without debugger) then it does not start.

Any idea what could be the issue?

Thanks

标记 (2)
0 项奖励
回复
3 回复数

1,363 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

what does it means does not star?

It stays in reset?

reset periodical?

is stuck in program?

Do you service watchdog?

Peter

0 项奖励
回复

1,363 次查看
sagardhavali
Contributor III

what does it means does not star?

- It does not start to run but it does run when executed with emulator.

It stays in reset?

- It looks like so, We are investigating that. But question is, if it is in Reset, it should not have run from emulator too but it runs perfectly as expected.

reset periodical?

- No, it is not periodical. It is not that it start and stops. It does not start at all.

is stuck in program?

- No. If it was stuck in program, at list power LED should have turned at least once. It does not start at all.

Do you service watchdog?

- It is disabled at the moment to bring up the functionality.

0 项奖励
回复

1,363 次查看
petervlna
NXP TechSupport
NXP TechSupport

So let me summarize:

1. It is not running as standalone. Correct?

2. You don't know if device stay in reset or no. -> check Reset_B pin.

3. Did you check it with scope to verify if it is not periodical?

4. Watchdog is disabled by debugger, but if you do not disable/service it in your startup the device will end up in reset escalation.

Anyway, if you are able to connect with debugger after failure in standalone mode you can check RGM FES/DES registers to find reset root cause.

I can check your code if you can share your binary with me.

Peter

PS: You mismatch the meaning of debug probe and emulator.

0 项奖励
回复