MPC5744P reset escalation

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

MPC5744P reset escalation

855 次查看
VladiKn
Contributor III

Hello,

While trying to setup the Online BIST I managed to input a wrong clock divider (I used an even value instead of odd) and now my board entered reset escalation. After that I wasn't able to connect with the debugger anymore. Is it possible to get out of that state now, and how?
On the other hand, is it possible that it's really that easy to kill the microcontroller with one bad write to a register?

Cheers,
Vladimir

标记 (1)
0 项奖励
5 回复数

843 次查看
VladiKn
Contributor III

Hi,

Thanks for the quick response. Currently I am using PEMicro. Do you have an example how to do it?
In the MC_CGM_SC_DC0 register I put a value of 0x4 in the DIV field and my application crashed. After that I was no longer able to connect to the board. So I don't know what else could it be.

0 项奖励

836 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Actually with S32DS it may be pretty simple to connect:

https://community.nxp.com/t5/MPC5xxx/MPC5748G-Reset-escalation-PEMicro-Multilink-FX/m-p/951223#M1432...

Check following thread

0 项奖励

831 次查看
VladiKn
Contributor III

Sorry I gave you the wrong information. Actually I use the OpenSDA port for debugging.

0 项奖励

816 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I believe in this context it should be pretty much the same.

0 项奖励

846 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, The solution is to stop the core just after power-on-reset, attach by debugger and erase MCU/reload the code.
With TRACE32 it can be done by “Halt core at power-on reset” feature (Select in the menu: MPC5XXX - Tools - Halt core at power-on reset.).

It can be done with PeMicro as well, but procedure is no so simple. Which debugger you are using?

You cannot bricked out the MCU by simple register write, it would have to be some NVM programming as DCF records.

0 项奖励