On 2006-11-27, David Pettit <[email protected]> wrote:

> I want to separate the information memory into section A and B
> and write a separate set of data to each section.  What's the
> best way to do this?  If I use the union/structure approach
> and define two 128 byte long structures, when I force an erase
> will it erase just the one section or will it erase both?

>From the users guide for some-part-or-other:

  MSP430 flash memory is in-system programmable (ISP) without the
  need for additional external voltage. The CPU can program its
  own flash memory. The flash memory write/erase modes are
  selected with the BLKWRT, WRT, MERAS, and ERASE bits and are:

   - Byte/word write
   - Block write
   - Segment Erase
   - Mass Erase (all main memory segments)
   - All Erase (all segments)

AFAIK, the flash controller is the same in all current parts.
   
-- 
Grant Edwards                   grante             Yow!  I'm GLAD I
                                  at               remembered to XEROX all
                               visi.com            my UNDERSHIRTS!!


Reply via email to