Issues writing 0s into flash into STM32F103
Hello, I am trying to make a write into flash driver but I am having some issues.
I know that the only way to write a 1 to the memory is by clearing the whole page, but I am having issues writing 0s.
By reading the manual I encountered:
Bit 2 PGERR: Programming error
Set by hardware when an address to be programmed contains a value different from
'0xFFFF' before programming.
Does that mean I can only write 0s once to each addres per page clear?
If this is the case, why is that? Wouldn't I be capable of writinng indefinetly when I am not trying to write any 1 in the memory?
