Hello,
As I was testing for some issues with saving and retaining data in info memory, I stumbled across a more serious memory problem. The test consists of shutting down the power to the board (with MSP430F2252) for 5-10 sec, then restoring it for another 20-30 sec, doing so repeatedly, until a failure is detected. Occasionally, data stored while powered-up is lost during power recycle. (See "Data loss in info memory after power cycle" thread.) On very rare instances, the unit's behavior changes or it may completely "die". On such units that still have the JTAG fuse intact, I was able to read the contents of the program memory and compare to what's been saved there, originally. Specifically, I examined five such units, and here's what I found:
In one unit, the last segment of flash memory was erased. Thus the interrupt vector was gone, so the unit just "sat" on idle forever, at reset.
Another unit lost a segment (0xD600 - 0xD7FF) in the middle of the code, which normally extends up to 0xDFFF.
In three other boards, I found random bits cleared in a few random words (up to four words in each unit).
In normal operation the code never erases or writes to main memory. Only info segments A through D are used.
Has anyone seen such problems? What could be causing corruption of main memory during a power up or down? Since this happens a lot less frequently than my original problem, I have doubts that they are related.