How to erase Code flash by using T32 .cmm

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

How to erase Code flash by using T32 .cmm

1,032 Views
Yellow
Contributor I

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?

 

S32K3 

0 Kudos
Reply
1 Reply

1,009 Views
petervlna
NXP TechSupport
NXP TechSupport

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

 

 

0 Kudos
Reply