Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | Low level routines for writing and erasing the MSP430 flash memory

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

Low level routines for writing and erasing the MSP430 flash memory - wmk6341 - Aug 22 10:18:48 2008

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 )