Tool/software: TI C/C++ Compiler
Hello,
For a production run of 100 units we found that 50% of the MSP430F5438A ref. F is working properly.
The other 50% is not booting correctly.
I have plugged in the debugger and found that with a "good" cpu the debugger has no problems.
With a "bad" cpu the debugger is lost, stepping with the debugger is not giving any problems but free run can result in different end "crashes"
for example:
- The PC is pointing to an address in flash that is not used and contains 0xFFFF.
- The cpu goes into low power mode, SCG1 = 1 / SCG0 = 1 / OSCOFF = 1/ CPUOFF = 1.
The results are completely random, and the code in the cpu is not using an low powermode options. it is always in full power mode.
Our current solution is removing the Ref. f chip and replace it with another. I prefer to solve the problem in code but I have no idea what to test next.
The stack and heap are made bigger to ensure that this is not the problem.
please advice how to solve or debug this problem.
Thank you in advance.