Hi Katie Thanks for swift reply 1.The issue is somehow reproducible i.e. sometimes the device stops within minutes of running other times within a few hours. 2.Pulling the reset line low will reset the device and make it start running again However, I tried to reconfigure RST to NMI interrupt but then the device seemed not to execute the interrupt code (i.e. toggeling a LED) 3. I have not tried to connect debugger and pause - but I have tried to read flash memory after device has stopped. I have written some debug code that writes to a specific flash location on various places in code. Based on this information it seems like the device stops after LPM2 instruction. I've also used MSPFlasher to read pheriperial registers and it seems like no interrupt is pending when device stops However, I'll look into the suggested application note to see if I'm able to connect to the running device 4. Yes I'm using a Rev.A device but the application is using SPI not UART hence PMM27 should not be the cause 5.Both RST and TEST trace are short and there is a 47kohm pulldown resistor on TEST line (I could try a smaller resistor) 6.Timer is normaly stopped before altering timer operation however, I update the TxCCR registers without stopping timer - maybe this could be a problem ? Regards Olav
↧