AnsweredAssumed Answered

How to Erase Flash with S32DS, PEMICRO and MPC5777M

Question asked by Daniel Wax Employee on Apr 30, 2018
Latest reply on May 4, 2018 by Jiri Kral

I am trying to erase flash before programming with PE Multilink in S32Design Studio.

Looking at



There does not seem to be any scripting to erase flash sectors.


Other chips seem to have some support although most seem to be commented out. 


Calypso has:

;Low Blocks(0..B) 5-16k,2-32k,4-64k
;USER=LB Low Block Erase    1Block >   /00000000/0000000B/
;High Blocks(0..E) 14-256k
;USER=HB High Block Erase   2Block >   /00000000/0000000E/


Where if needing to enable, the lines with ÜSER= would not be commented.


The problem is that every time I program the part with a new flash binary all my old register setting are still maintained.  Maybe there is a different way to fully blow away the chip prior to flashing a new binary??