Hi all,
I test s32k344 pflash write function with C40_Ip_MainInterfaceWrite in C40_Ip.c file
Hello @kimyonghak,
At what address do you program the 8bytes?
What kind of fault exception is it?
Can you read the Configurable Fault Status Register (CSFR) in the handler?
You can refer to this example C40_Ip_Example_S32K344.
BR, Daniel
DEAR ..
Program byte is 8 byte
I found if I copy flash code to ram and run the code at ram
then it works good , no exection occor
copy below code to ram:
PFLASH by C40_Ip_pFlashBaseAddress->MCR |= FLASH_MCR_EHV_MASK;
thank you.
Hello @kimyonghak,
Seems like you were trying to reprogram the flash from the same block.
Regards,
Daniel