Difference between S32K3 Flashdrivers

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

Difference between S32K3 Flashdrivers

跳至解决方案
1,706 次查看
FelixR
Contributor III

Hello there smart people,

can someone explain to me or hand me some references what are the difference between the flash drivers which are provided by the RTD package? I did see that there is the C40 Driver, the MemAcc and the Fee Drivers. Now I am a bit confused what are the benefits and drawbacks of those drivers.

My usecase would be a bootloader where I want to adress the C-Flash from a "logical" addresspace to a "physical" addressspace continously with datapackages and use the D-Flash for metrics and failure tracking.

Which of those driver would fit the best for this?

0 项奖励
回复
1 解答
1,694 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @FelixR,

Depending on which AUTOSAR version you are trying to use, the flash driver changes.

For example, you can see included in the SW32K3_S32M27x_RTD_4.4_4.0.0_P20 the driver Fls_TS_T40D34M40I0R0. On the other hand, SW32K3_S32M27x_RTD_R21-11_4.0.0_P19 includes the Mem_43_INFLS_TS_T40D34M40I0R0 driver.

This is because in Autosar R21-11, the Fls Driver has been replaced by Mem_InFls/Mem_ExFls. You can refer to the official Specification of Memory Access from AUTOSAR.

The C40 driver is a non-AUTOSAR IP layer. You can refer to the 02: S32K3xx Real-Time Drivers (RTD) training. 

You can look at AN13388 Memories Guide for some guidelines.

Best regards,
Julián

在原帖中查看解决方案

2 回复数
1,695 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @FelixR,

Depending on which AUTOSAR version you are trying to use, the flash driver changes.

For example, you can see included in the SW32K3_S32M27x_RTD_4.4_4.0.0_P20 the driver Fls_TS_T40D34M40I0R0. On the other hand, SW32K3_S32M27x_RTD_R21-11_4.0.0_P19 includes the Mem_43_INFLS_TS_T40D34M40I0R0 driver.

This is because in Autosar R21-11, the Fls Driver has been replaced by Mem_InFls/Mem_ExFls. You can refer to the official Specification of Memory Access from AUTOSAR.

The C40 driver is a non-AUTOSAR IP layer. You can refer to the 02: S32K3xx Real-Time Drivers (RTD) training. 

You can look at AN13388 Memories Guide for some guidelines.

Best regards,
Julián

1,633 次查看
FelixR
Contributor III
Thank you verry much Julián!