I just posted some code to the files section that provide the low level
routines for writing and erasing flash memory. I initially wrote this
code a number of years ago and have recently updated them a bit. The
core code has been in production use for over 5 years and is in well
over 2 million devices. The primary change to the original code is the
saving and restoring of the watchdog timer setting.
The code uses the __monitor attribute available in the Rowley
CrossWorks toolset to disable interrupts upon entry to the function and
to restore the original setting upon exit. IAR has a similar attribute.
Regards
-Bill Knight
R O SoftWare
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )