lpcware

Erase Flash sector 0 - LPC1788

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Arkadyosh on Thu May 24 21:59:13 MST 2012
Hello,

I have question about erasing Flash sector 0. In my application I want erase sector 0 to invalid checksum(at the reset uC go into bootloader), and next reset uC by NVIC_SystemReset() function. Can I use this procedure without any consequences? Is there any contraindication to erase sector 0? Can this crash or lock uC? Maybe before erase sector 0 I must execute some special procedure, like a remap vector table or something else?

Regards,
Arkadyosh

Outcomes