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?