MPC5744P reset escalation

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

MPC5744P reset escalation

767 Views
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

Tags (1)
0 Kudos
5 Replies

755 Views
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 Kudos

748 Views
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 Kudos

743 Views
VladiKn
Contributor III

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

0 Kudos

728 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos

758 Views
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 Kudos