Difference between S32K3 Flashdrivers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difference between S32K3 Flashdrivers

Jump to solution
1,488 Views
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 Kudos
Reply
1 Solution
1,476 Views
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

View solution in original post

2 Replies
1,477 Views
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,415 Views
FelixR
Contributor III
Thank you verry much Julián!