Please check whether it is consistent with the following problems
https://community.nxp.com/t5/S32K/C40-Ip-Example-S32K344-wrong-behavior/td-p/1609293
Hi,
The RTD version I used was SW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip, but I still had this problem.
could you share your project so that i can reproduce the problem .
I'm sorry that I can't provide the whole project here, because the company's computer has an encryption system, I can only copy the relevant code, please help me to see what the reason is, at present, it is OK to read and write 128bytes alone, but it is not OK to read and write more than 128bytes at the same address, I would like to ask if the method I used is wrong.
This is the code interface for erasing flash:
Just written interface code:
"but it is not OK to read and write more than 128bytes at the same address"
This is as expected:
The minimum program size is 2 words (64 bits) and data must be 64 bit aligned. A maximum of 4 pages can be programmed at the same time, where 1 page are 8 words (256 bits). This mean that up to 1024(128bytes) bits can be altered in a single program operation.
@Senlent Hi,
Because there are other projects to catch up on the progress, this problem has been put on hold. Today, I return to this problem. I also went to study your demo program and found some differences. My flash test program did not initialize the PMC.