Hi,
We know that:
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,
W系列,是4字节对齐。
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
Hello @Julián_AragónM
Thanks for you answer. For S32K144W we are using S32DS3.3 with RTM_4.0.1
Best regards,