On the esp32 interrupts are disabled while writing to flash.
Do any such restrictions exist on the pyboard?
Thanks!
Any restrictions while writing to flash on pyboard?
Re: Any restrictions while writing to flash on pyboard?
garter wrote:On the esp32 interrupts are disabled while writing to flash.
Do any such restrictions exist on the pyboard?
Thanks!
Not ALL interrupts are disabled on ESP32 just the ones whose code are in flash https://dl.espressif.com/doc/esp-idf/la ... flash.html
On pyboard it’s the same restriction because it has STM32F405RG
Code: Select all
Any attempt to read the Flash memory on STM32F4xx while it is being written or erased, causes the bus to stall. Read operations are processed correctly once the program operation has completed. This means that code or data fetches cannot be performed while a write/erase operation is ongoing.
On STM32F42xxx and STM32F43xxx devices, two banks are available allowing read operation from one bank while a write/erase operation is performed to the other bank.