This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Programming Procedure:
We are using MSP430f2416 in production. We use Elprotronics to write flash memory in production. We blow JTag fuse after every programming and then subsequent programming we are using BSL programming.
Code Description:
We are low powered battery operated instruments which uses MSP430. After each 15 seconds we go to deep sleep mode. This sleep mode unit is woken up by 5 different buttons on the wake up on interrupt pins. Then after 15 seconds unit goes to sleep mode.
Following is the observation of the problem.
- Units are QCed, tested and out of the production in the field. After few months, unit comes in repair.
- When you press the wake up one particular 'X' button out of five buttons unit turns on for just milliseconds and then go to sleep mode right away. Essentially unit doesn't turn on. If unit is turned on by other buttons then pressing button 'X' turns off the unit and go to deep sleep mode.
Troubleshooting results:
- Hardware is perfect
- There is no obvious issue with the code. Code is running in the production for more than 15 years. Earlier we had MSP430F149 micro controller. We replace it with the new one 7 years ago. Problem seems to happened last couple of years.
- There is no obvious stack issue or PC failure.
- Power cycle doesn't help. Button 'X' always seems to make unit to go to sleep.
My Questions:
- Is this a flash issue of reading the code? Is flash code is being corrupted?
- Is because of the flash error, micro controller is going to sleep mode?
- Is microcontroller resetting itself if it goes to reset vector? Does it execute the code from beginning if it goes to reset vector?
- Is there a known production flash failure issues in this micro controller?
- If flash key failure putting unit to reset how does it responds to other keys?
**Attention** This is a public forum