Flash memory issue in s32k116

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash memory issue in s32k116

1,553件の閲覧回数
pankajprasad100
Contributor III

Hi,

I am working on a project where I need to store the data in the flash region section in which we have used the example code-

 

pankajprasad100_0-1663319525329.png

 

After writing the data into the memory location this is how it looks-

pankajprasad100_1-1663319543200.png

 

 

Again if we try to write the data with different values into the same memory location then the flash memory is corrupted and program hangs.

 

pankajprasad100_2-1663319558159.png

 

 

Could you please suggest how to resolve the issue.

NOTE:- we need to write the data in the same location multiple times.

 

MCU-S32K116

IDE-S32 DESIGN STUDIOS

COMPILER-IAR

 

 

Regards,

Pankaj

0 件の賞賛
返信
1 返信

1,530件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

the flash memory is not automatically erased before write. The memory, you write data in, must be in erased status. Because the phrase is programmed the entire phrase must be in erased state to be able to program it. The FLASH memory does not support cumulative programming.

The problem for you can be that the least part of the memory which can be erased is a sector.

Best regards,

Ladislav

0 件の賞賛
返信