I was wondering if anyone knows how to write to nonvolatile memory on the MCU. I'm trying to figure out how to do it for a class project. Basically, I need to be able to save a data when the memory is powered off, but can't seem to find a good guide as to how to set it up. From the advice of my professor, I looked at the code for the Serial Debug Monitor, and saw that it may have some use in solving this problem, but I couldn't quite decipher what I would need to take from it. Does anyone have any helpful hints or advice as to how to achieve this? Thanks!
Trying searching these forums for the string "Flash programming". Also FAQ-26240 explains some Flash programming basics and points you to a number of useful application notes.