I'm using S32K342, and i have Downloaded the faulty Software, because of that it's creating the WD reset. i want to erase the older SW. but if i connect the T32 it's always running. and while trying to erase it's throwing debug port fail.
how to enable flash erase voltage and how to erase Flash memory by using T32 cmm or any other option?
Hello,
To overcome this issue you can use script - feature called halt core on power on reset. However I am not sure if it there is by default script for K3 in Lauterbach.
https://community.nxp.com/t5/MPC5xxx/MPC5748G-Lauterbach-multiple-reset-causes-error/m-p/433439
If there is not, then you can try attach debugger while pressing reset button on the board. Usually on like 10 tries I can attach.
Then you can erase flash or disable watchdog.
Best regards,
Peter