MSPM0G3519-Q1: MSPM0G3519 Microcontroller Data Flash Corruption

Part Number: MSPM0G3519-Q1
Other Parts Discussed in Thread: MSPM0G3519, SYSCONFIG

Hi TI Team,

We are using MSPM0G3519 microcontroller for automotive application. Data flash with 16KB of protected area (0x41D00000) we have used 1KB (1st Section) of Data flash to store the settings information. 

During the initial phase of deployment, Data Flash read and write operations functioned as expected with less data read and write cycle. However, after more data read and write cycle greater than 100 (varied), we are observing instances of Data Flash corruption, as shown in the attached image (Image below sample data from one affected board).

The corruption does not consistently occur at the same memory location. instead, it has been observed at different flash addresses across occurrences. The issue is intermittent and not reproducible at a fixed address or time. 

image.png

we are using following API for data flash read and write as shown below

Write 

image.png

Read 

 lUI8_ReadVerifyCmdStatus=DL_FlashCTL_readVerifyFromRAM64WithECCGenerated(FLASHCTL,lUI32_ReadVerifyFlashAddress,lUI32_Data);

 

Microcontroller - MSPM0G3519 [ LQFP-64(PM) ]

CCS IDE - 20.02

Compiler - ti-cgt-armllvm_4.0.0.LTS

SDK - mspm0_sdk_2_03_00_07

Sys Config - sysconfig_1.21.2

 

Any support is much appreciated.