Hi. I have problems with my MK22FX512VLH12. I save my data by powerfail on my internal flash and sometimes I can not save all my data. For example my flash have this entries: AA AA AA AA BB BB BB BB FF FF FF FF FF FF FF FF.
The first 8 bytes are ok but the last 8 bytes do not save on the flash. If I want to read the last 4 bytes (FF FF FF FF), I get an Bus Error. On the Comand window from uVision stands: Cannot access Memory (@ 0x10004210, Read, Acc Size: 4 Byte). I read the data with a normal pointer. Why I can not read this address?
If all data stored by powerfail I have no problems.