Cravero Marco

MPC5553: FLASH ERASE

Discussion created by Cravero Marco on Nov 2, 2006
Latest reply on Nov 8, 2012 by Matthew Manthey
Hello!

I'm using Mpc5553 and I would want to erase the flash. In the reference manual there's the correct sequence of events for this operation. The step n°3 is:

3) Write to any address in flash. This is referrred to as an erase interlock write.

My code for an erase interlock write is like that:

*address=value;


...but this line of code reset the system!

The block of flash to be erased doesn't contain code and it's correctly selected and it isn't locked.

Can you help me?

Thanks

Mudy

Message Edited by Alban on 2006-11-02 03:36 PM

Outcomes