S32K144 NVM write Error

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

S32K144 NVM write Error

1,079件の閲覧回数
ipsitamishra
Contributor I

s32k144 nvmodule

I am working with Flex NVM of s32k144. Currently I am only able to write data to NVM in block size of 8bytes, Is there a way to write the data byte by byte?

Every time before writing to the NVM I am doing erase operation of the block, is it necessary to erase the block before writing the data? I tried to write data without erasing, but I am getting the error code "E_FTFE_ERR_MGSTAT0" .

タグ(2)
0 件の賞賛
1 返信

905件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Yes, it needs to be erased, because the programming operation can only change NVM bits from the erase state (1) to the programmed state (0), otherwise the error flag (MGSTAT0) is set. The smallest portion that can be erased is a sector (2k). You cannot write data in single bytes, it must be a phrase (8 bytes).

 

Regards,

Daniel

0 件の賞賛