Bus stall when writing/erasing flash on STM32H7
Hello,
I am writing & erasing flash during operation, and this seems to cause a bus stall which prohibits all execution from flash during these operations.
AN4808 seems to indicate that if you use a dual-bank device you can avoid this by executing out of one bank and writing/erasing out of the other. I have tried this, and still seem to experience the bus stall even when running out of Bank 1 and doing write/erase out of Bank 2.
Does it make sense that this still causes a bus stall? Are there other ways around it?
I think perhaps the only solution is to copy my program to RAM and execute from there. Does anyone have examples of how to do this on an STM32 device?
Thank you!
