Part Number: MSP430F5638
Other Parts Discussed in Thread: MSP-FET, , UNIFLASH
Using CCS ver. 12.8.1 & MSP-FET
Custom SBC using MSP430F5638. Built two PCB’s about 5 years ago. Have been doing all software development as needed on these two boards. Software includes different versions of the larger overall application, and a smaller testbed where I can test just specific MCU peripherals, or external hardware on the SBC. I’m only using about half of the FLASH, and data RAM capacity.
In the past, I sometimes would get Load Program errors < 5% of the time. Retry loading, or power everything down & back up, normally fixed the problem.
In the past few months, I can only load programs successfully about 5-10% of the time. Have tried numerous things to fix this, and occasionally they work, but usually only one or two successful loads, then it’s back to the Load Program error.
Write / Erase cycles for the MSP430 is supposed to be 10,000 to 100,000 cycles. I may have hit 10,000 program loads, but I’m sure I’ve not hit the 100.000 mark.
Typical error message (usually without the halting CPU error) - the reported address varies.
MSP430: Trouble Halting Target CPU: Internal error
MSP430: File Loader: Verification failed: Could not write 0x08000: execution state prevented access
MSP430: GEL: File: D:\Product\DIGS\Code\DC2\MCU1-430\430-Main\DC2-430-All-02\Release\DC2-430-All-02.out: Load failed.
Some Tests
Checked power supply voltage, it’s good = 3.30v
Tried a fresh download & install of an older version of CCS 12.7.0 - worked perfectly one or two times, then get Load Errors.
Tried two different MSP-FET’s, both work the same.
Questions
1 - Have these MSP430’s reached FLASH end of life?
2 - If so, why doesn’t it fail 100% of the time, instead of 90 - 95%?
3 - Only fix is to replace the MCUs?
4 - Could be a partial erase problem. How can I do a mass erase of FLASH, to ensure that isn’t the problem?
5 - Would CCS 20.3 help with this problem?