如果它类似于STM32,当你尝试从FLASH执行同时擦除/写入正在进行时,它只会填充等待状态,从而导致系统完全停顿。外设将保持时钟,但如果不提供实时需求,则会发生上溢/下溢。
在STM32上,您可以通过从RAM运行代码或使用双库闪存来避免这种情况。
以上来自于谷歌翻译
以下为原文
If it is anything like the STM32, it just stuffs wait-states when you try to execute from FLASH while an erase/write is in progress, causing a complete stall of the system. Peripherals will keep clocking, but will overflow/underflow if real time needs are not serviced.
On the STM32 you avoid this by running code from RAM, or having a dual-bank flash.
如果它类似于STM32,当你尝试从FLASH执行同时擦除/写入正在进行时,它只会填充等待状态,从而导致系统完全停顿。外设将保持时钟,但如果不提供实时需求,则会发生上溢/下溢。
在STM32上,您可以通过从RAM运行代码或使用双库闪存来避免这种情况。
以上来自于谷歌翻译
以下为原文
If it is anything like the STM32, it just stuffs wait-states when you try to execute from FLASH while an erase/write is in progress, causing a complete stall of the system. Peripherals will keep clocking, but will overflow/underflow if real time needs are not serviced.
On the STM32 you avoid this by running code from RAM, or having a dual-bank flash.
举报