We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I seem to be chasing my tail on this problem. I'm trying to store floating point constants to the flash on a Cygnal C8051F005 over the serial port. It seems to work if I always erase the page first but if I don't I get some pretty weird results. I don't necessarily want to erase previously stored data. Does anyone have any code examples that may be helpful. Thanks in advance.
You should be aware that flash memory also has a limited number of erase/write cycles. You cannot treat it as if it is RAM, or you will quickly be unable to write anything to the device. Check the cygnal data sheet(s) from their website: http://www.cygnal.com