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,