Question
Why must I erase before programming an unused flash page?
Hello I am forced to erase the entire flash page when I write into an address of the flash page. Why is that? I have never used this page...
I understand that if the flash has been already used, it cannot be rewritten... but why when the page is always '1'?
Thanks a lot.
Edit 1:
UsageFault: An instruction executed with an invalid EPSR.T or EPSR.IT field.
UsageFault: The processor has attempted to execute an undefined instruction.
MemManage: The processor attempted a load or store at a location that does not permit the operation.
MemManage: The processor attempted an instruction fetch from a location that does not permit execution.
HardFault: A BusFault has occurred on a vector table read during exception processing.
