When I use S32K312 chip pflash storage program, dflash as storage data, that when I run the program, including a 10us interrupt program, then I write data to dflash in the main loop will affect the interrupt response? What if it does? Do you need to map interrupts to ram?
Looking forward to hearing from you. Thank you
已解决! 转到解答。
Hi @Neo1096,
DFlash and PFlash are two separate blocks.
The program can run from PFlash, which can include the vector table and ISRs, while the DFlash is being programmed.
The ISRs must not access data in DFlash though.
Regards,
Daniel
Hi @Neo1096,
DFlash and PFlash are two separate blocks.
The program can run from PFlash, which can include the vector table and ISRs, while the DFlash is being programmed.
The ISRs must not access data in DFlash though.
Regards,
Daniel
hi, I enable an interrupt of 100us per cycle. Then I erase one sector of data flash.
I called an API function called "C40_Ip_MainInterfaceSectorErase" to erase data flash
During erasure, interrupts cannot be responded to.
After erasure, interrupts can be responded to normally.
So, how to achieve the goal to enter interrupts while erasing data flash?
Looking forward to your reply
hi, I used RTD 1.0.0. And this question has been solved. The solution can be found in the following link.