2015-11-30 09:42 AM
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 ? Sorry for my english2015-11-30 09:58 AM
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.
2015-12-01 06:51 AM
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.