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