mpc5748G how to erase Flash

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

mpc5748G how to erase Flash

Jump to solution
920 Views
MichaelSun
Contributor I

Hi Support team,

I cannot find any buttion only to erase the flash. Could you please tell me how to do this ?

MichaelSun_0-1689920645772.png

 

0 Kudos
Reply
1 Solution
861 Views
petervlna
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
5 Replies
914 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

S32DS do not have this functionality.

You can load empty elf to erase the device. Or the device is erased prior to any programming. But not separate erase.

You can use for example debuggers like Lauterbach, PLS, GHS, iSystem etc... for it.

Or you can use PPC nexus from PEMicro where erase only is possible.

Best regards,

Peter

0 Kudos
Reply
890 Views
MichaelSun
Contributor I

Another question,  is it still possible to debug the program in SRAM when i use MPC5748G ? I have done this on MPC5604. But i didn't see any option to do this on MPC5748G.

0 Kudos
Reply
881 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Sure, you can debug it with I expect all available debuggers.

Only have in mind that if you reset the device the code from RAM is gone and need to be programmed again. Except non destructive resets / tests.

Best regards,

Peter

0 Kudos
Reply
869 Views
MichaelSun
Contributor I

Could you please tell me where to find the button ? I don't know how to debug the program in the SRAM. There is no buttion to choose.

On CW10.6, i can choose to compile the program in RAM or Flash. I want to know how to do this on S32DS

MichaelSun_1-1690187759732.png

 

 

0 Kudos
Reply
862 Views
petervlna
NXP TechSupport
NXP TechSupport
0 Kudos
Reply