Flash memory is the most popular type of non-volatile storage, and it has been adopted by most micrcontroller manufacturers. The ability to read/write hunder of thousands of times, even while the processor is running, allows a degree of flexibility not previously available with the older ROM and PROM technologies.
The flash memory in the MSP430 is used primarily to hold code. Because of the flexibility in its design, it is possible to write and read the flash at run time with the CPU. This allows you, for example, to reprogram the microcontroller with a new firmware image. It also enables you to store information that will survive a restart, making it an easy and inexpensive alternative to external