i was have the same problem like you ....read its good, write is good... but after must wait 5-10 minutes to read again, and allways restart the codiprog
if you start reading again directly, not wait 5-10 min, then will get all FF ...the flash is errased and also emulated eprom ,which is part of flash in this MCU,
now i was start learning from ex: freescale
http://cache.freescale.com/files/mic...geType=product
Bookmarks