STM32F072 Erase page0 >> SOLVED

Hi, it's possible to erase and rewrite page0 from internal program ? I disable before all IRQ, after erase the page0 and rewrite it. But after erase, the program crash (jump to unknow address) . There is a special way to do this ?

I'd imagine you'd want to relocate the vector table, and any active code into RAM, and once you have that running, then you could erase the FLASH pages. I'm not sure "disabling the interrupts" is going to be adequate.

Hi, my code its in high part of micro (0x800c000) and erase only first 16 pages of micro. If i put a breakpoint and execute code step to step, it work, and erase all 16 page. When i remove breakpoint, after first erase, the code jump at unknow address.