Hi@jaylou
1. Does the D-Flash have the same operation with P-Flash when you are trying to erase and write some data?
a. When erasing P-Flash and D-Flash, D/P Flash can be erased according to 2/4KB sector, the API used is FLASH_DRV_EraseSector();
b.For parts larger than 512KB, such as S32K146 and S32K148 have multiple 512KB Flash blocks (so you can also erase the P-Flash according to the 512KB block. Use the API FLASH_DRV_EraseBlock();)
The P-Flash and D-Flash of S32K1xx series MCUs not only support 8B phase programming, but also support section programming. It can program 1/4 FlexRAM size P-Flash/D Flash at a time, which is 512B (S32K11x series) or 1KB ( S32K14x) to improve programming efficiency.
2. What about the emulated EEPROM? Does it have same operation with P-Flash when you are trying to erase and write some data?
https://mp.weixin.qq.com/s/TEXe1XWcggx-R50LT_idlg
I can't simply answer whether you can or can't, because the usage of many APIs is restricted. The content of the link here can help you understand part of the content of EEE.
BR!
Jim,