Can micropython for stm32f407 allow firmware to be placed on spi flash? #15235
-
The internal flash capacity of stm32f407 is too small. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Might be some clues here: |
Beta Was this translation helpful? Give feedback.
-
On stm32 firmware can only execute directly from SPI flash that works in "memory mapped" mode. However you can certainly get any stm set up so the filesystem is stored on external flash, LFS or Fat. This can be used for your python / mpy-cross'd mpy files perfectly well, just not frozen code compiled into a firmware image |
Beta Was this translation helpful? Give feedback.
On stm32 firmware can only execute directly from SPI flash that works in "memory mapped" mode.
Looking at "AN4760 Quad-SPI interface on STM32 microcontrollers and microprocessors" it doesn't look like 407 supports QSPI and I don't think any of the "normal" SPI interfaces support memory mapped mode.
However you can certainly get any stm set up so the filesystem is stored on external flash, LFS or Fat. This can be used for your python / mpy-cross'd mpy files perfectly well, just not frozen code compiled into a firmware image