S32k3xx : Query on Embedded Flash Memory Blocks

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

S32k3xx : Query on Embedded Flash Memory Blocks

ソリューションへジャンプ
246件の閲覧回数
varunbharti
Contributor I

Hi,

I wanted to inquire about the inclusion of separate Data Flash Memory alongside Code Flash Memory in the S32K3xx microcontrollers.

Could you kindly provide some insights into why separate Data Flash memory is required in the design choice?

Thank you for your time and assistance.

0 件の賞賛
1 解決策
213件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

The most typical way for using of DFLASH is EEPROM emulation. DFlash use always smallest block with highest endurance, sometimes reaction to ECC failure is handled differently than with code flash. That’s why it is well suited for running EEPROM emulation driver above this memory space. Otherwise it just may be used for storing non-volatile data (in comparison to code flash, it has higher endurance, but lower data retention).

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
214件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

The most typical way for using of DFLASH is EEPROM emulation. DFlash use always smallest block with highest endurance, sometimes reaction to ECC failure is handled differently than with code flash. That’s why it is well suited for running EEPROM emulation driver above this memory space. Otherwise it just may be used for storing non-volatile data (in comparison to code flash, it has higher endurance, but lower data retention).

0 件の賞賛
133件の閲覧回数
varunbharti
Contributor I

Hi  @davidtosenovjan ,

Thank you again for your response, 

Can you please share a sample code on how to use DFLASH to emulate EEPROM?

Can we do byte-wise write and erase in DFLASH?

0 件の賞賛
122件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

According configuration lower data granularity is 4 bytes.

 

EEPROM emulation drivers that are part of RTD driver package (FEE driver):

https://www.nxp.com/design/design-center/software/automotive-software-and-tools/real-time-drivers-rt...

An example for this is called Fee_Example_S32K3..

97件の閲覧回数
varunbharti
Contributor I
Thankyou!!!
0 件の賞賛
205件の閲覧回数
varunbharti
Contributor I
Thankyou for your quick response
0 件の賞賛