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
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.
Actually with S32DS it may be pretty simple to connect:
Check following thread
Sorry I gave you the wrong information. Actually I use the OpenSDA port for debugging.
I believe in this context it should be pretty much the same.
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.