2009-11-19 04:36 AM
IRQs while erasing a page of flash. STM32
2011-05-17 04:30 AM
It cannot access stalled FLASH. You can configure NVIC to access the RAM (+offset) instead of IVT in FLASH.
2011-05-17 04:30 AM
will the interupt control recover when the flash comes back on line?
2011-05-17 04:30 AM
2011-05-17 04:30 AM
With cortex M3 products when an interrupt occur, entring in interrupt mode, saving context and handling priorities all are done in micro code (by hardware).
Hence when the Flash read access is stalled with STM32 this doesn't mean that NVIC is stalled as well. It still operating but with pending interrupts this is because interrupt flags are not yet cleared. When flach comes back these pending interrupts will be served with respect to their priorities.2011-05-17 04:30 AM
Thanx
Thats a good answer. It sounds like I do not need to relocate my IVT and ISRs to the RAM after all. Sounds like the worst thing that can happen is I get input data overrun and posible data lose on rare occasions. This I think I can live with.