Example MCAL S32K312 FEE DS3.5 RTD300

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Example MCAL S32K312 FEE DS3.5 RTD300

Example MCAL S32K312 FEE DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the FEE MCAL Driver for the S32K3xx MCU.

This example read & write 4 byte FEE BLock.

I have renamed the FEE block using a MACRO as FOUR_BYTE_EEPROM_FEE_VARIABLE.

 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
Driver configuration :--

Dinesh_Guleria_0-1733384979032.png

 



Three FEE blocks are created.
Each FEE block can be considered as EEPROM variables 

Dinesh_Guleria_0-1716468945422.png

 

How customer can use FEE block as EEPROM variable.

Max size of FEE block :--

Dinesh_Guleria_0-1716470050164.png

 

 

You can declare a MACRO for the Variable of EEPROM :--
FOUR_BYTE_EEPROM_FEE_VARIABLE

Dinesh_Guleria_1-1716469421192.png



How to Read and write the FEE variables :--

Dinesh_Guleria_2-1716469771263.png

 



附件
评论

Pe Micro use to delete the Dataflash, on every new FLashing of firmware, which corrupts the EEPROM data.

After making this changes in debug configuration it worked..

Dinesh_Guleria_0-1719396133457.png

 

Dinesh_Guleria_1-1719396155702.png

 

 

Dinesh_Guleria_2-1719396179846.png

 

 

无评分
版本历史
最后更新:
‎12-05-2024 12:49 AM
更新人: