MSP430 seems to reset intermittently
To see why you are being RESET you need to check the system rest vector (SYSRSTIV) at address 019Eh and you will be able to see the cause of your reset.  There are many things on a MSP430 that will cause a reset