Hi,
I am trying to use the EEPROM in the MC9S08PL4 to remember some settings, but...
When I try to erase one sector, the result in the FSTAT is: only ACCERR is HI.
I tried not to protect the EEPROM by leaving EEPROT erased (FF7D), so that DPOPEN would be HI.
Also FSEC's last bit is LO (FF7F), so SEC[1:0] would be 10b, not secured.
There is a byte called FOPT, that the Reference Manual (Rev.5) doesn't say much about.
My CYCLONE programmer offers securing the MCU, but I don't use that option.
Why do I have no access?
Is there a collection of sample programs, or white paper, or true explanation on how to do it? Production started and the poor thing still can't remember its settings.
HELP PLEASE!