What are the differences between FTFC and FTFM?

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

What are the differences between FTFC and FTFM?

922件の閲覧回数
reymor
Contributor I

Hi, 

We know that: 

  • FTFC is available for S32K1XX series
  • FTFM is available only for S32K14xW series

Apart from that, are there any functional differences? 

We are using the emulated eeprom in both S32K144 and S32K144W and it seems that the same code snippet work in S32K144 and not in S32K144W. We use kind of

 

FLASH_DRV_EEEWrite(&flashSSDConfig, (uint32_t)(flashSSDConfig.EERAMBase), size, data)

 

After that, we saw that EERAMBase address has the right data. 

The error occurs at the moment that we are trying to retrive the information from EERAMBase address.

This code works in S32K144 but not in S32K144W in which it arises an exception.  

 

uint8_t * src=(uint8_t *) flashSSDConfig.EERAMBase;

for (i = 0; i < n; i++) {
  dst[i] = src[i];
}

 

However, if we change `uint8_t` to `uint32_t` it works. 

We are not sure if we need to read this with aligment to 32bits in FTFM. 

Thanks in advance,

0 件の賞賛
返信
3 返答(返信)

880件の閲覧回数
346500452
Contributor III

W系列,是4字节对齐。

0 件の賞賛
返信

892件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @reymor,

I hope you are doing well!

Designing an application for shared used between different devices is not recommended.

The flash memory modules are different implementations of the driver for the different devices. The error you are showing is likely due to the differences in the devices. Could you please share some additional information on what packages and versions are being used?

Just as a note, the SDK 3.x.x does not support S32K14xW MCU and the SDK 4.x.x available in S32DS 3.4 does.

Best regards,
Julián

0 件の賞賛
返信

876件の閲覧回数
reymor
Contributor I

Hello @Julián_AragónM 

Thanks for you answer. For  S32K144W we are using S32DS3.3 with RTM_4.0.1

Best regards,

0 件の賞賛
返信