Downloaded MicroPython to stm32h7b3i-dk board, but not able to save code #11584
-
Hi,
with stm32 programmer on Windows. I fired up Thonny (3.3.13) editor (which I've been using for RPi Pico uPython work) and was able to select Generic Micropython. REPL started with this line:
but I couldn't save my source file (like blinky.py) to the STM32H7B3I_DK. Has anyone run into this issue before, and does a solution already exist to get it working? Also, do I need some kind of BSP file to get it to work? Much appreciation for any pointer you can provide! Benjamin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
If you have a REPL then that should be all you need to copy files. How are you connected to the board, is it via the ST-Link UART or via the USB VCP?
What do you mean by "couldn't save". What goes wrong?
The MicroPython-equivalent of the BSP is what generated that firmware image. i.e. https://github.com/micropython/micropython/tree/master/ports/stm32/boards/STM32H7B3I_DK Thonny doesn't need any board-specific logic. Either way, can you try copying files using |
Beta Was this translation helpful? Give feedback.
@4riceotter here's a firmware.hex (from @dpgeorge) that will use the external spiflash (in regular, not octal mode). But should be enough to get you a working filesystem.
firmware.zip
I don't know when we'll get around to supporting the internal flash on this chip properly (the H7B has some extra quirks over the the rest of the H7 family). It's quite similar to what we need to do for the H5, so probably follow #11138 for updates.