imxRT1176 ,if flash is to be erased, all interrupts of both cores need to be closed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imxRT1176 ,if flash is to be erased, all interrupts of both cores need to be closed

790 Views
xiaozezitian
Contributor I

When both cores are used, M7 is used as the main core, M4 is used as the slave core, and M4 uses flexspi to erase and write to the norflash. At this time, if the interrupt of M7 core or M4 core is not closed, it will cause the MCU to restart. Therefore, if flash is to be erased, all interrupts of both cores need to be closed. Is there a method to enable erasing of norflash without the need to close interrupts.

0 Kudos
Reply
1 Reply

743 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @xiaozezitian,

I'm afraid this is not possible. Memory accesses are critical tasks that should be done without CPU interruptions, since stopping the process midway could corrupt memory or as you mention, hard fault the MPU.

Sorry for the inconvenience this may cause.

BR,
Edwin.

0 Kudos
Reply