Can stalled IRQs be interrupted by IRQ in RAM?
Hi,
i'm dealing with the window watchdog.
as my program erases a sector in flash i created a watchdog irq handler in RAM which retriggers the watchdog wen the sector is erased.
my Watchdog irq has the highest priority. all other irqs have lower priority
NVIC_InitStructure.NVIC_IRQChannel=WWDG_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=0x00;
NVIC_InitStructure.NVIC_IRQChannelSubPriority=0x00;
NVIC_InitStructure.NVIC_IRQChannelCmd=ENABLE;
NVIC_Init(&NVIC_InitStructure);
As far as i can tell my watchdog irq runs completly from RAM.
I ran some tests (don't trigger the watchdog from my mainloop) and i jump into the irq handler and can extend my watchdog window. so i think in principal this code works and the movment to RAM was successful.
but as soon as i start to erase a sector the watchdog retriggering does not work and i run into the watchdog reset.
there can happen other irqs with lower priority whichshould be stalled as they are not run from RAM.
Should my watchdog RAM handler be able to interrupt these stalled IRQs(this was my expactation) or do i have to disable ALL other IRQs which do run from Flash as stalled IRQs are not interruptable?
Thanks for clarification
