Added support for custom board (STM32H750B-DK) - not working - how to troubleshoot? #10290
Replies: 2 comments 2 replies
-
The H750 is tricky because it only has 128k of internal flash, so firmware larger than this must go in external QSPI (XIP) flash. Then the part of the firmware in the internal 128k would need to enable the XIP flash before any code executes from there. Probably the best way to approach it is put the mboot bootloader in the 128k and the main application (MicroPython) all in external XIP flash. Then mboot needs to be modified so that it memory maps the XIP before jumping to the application. Alternatively, build a very small version of MicroPython that fits in the 128k flash. |
Beta Was this translation helpful? Give feedback.
-
Hello, I've tried to create the board configuration for STM32H750B_DK using mboot as @dpgeorge suggested. Though I was successful with other H750 based boards (WEACT_750 and FK750M3), configuration for STM32H750B_DK doesn't work. You may check it here. Mboot works but downloading firmware is very slow (comparing to the other boards), so there is probably a problem with QSPI memory configuration. The firmware itself doesn't communicate so it probably doesn't work at all. You may try to play with it, perhaps you find something I overlooked ;-) |
Beta Was this translation helpful? Give feedback.
-
Hello,
we have a lot of boards of this type used education process and would like to add MicroPyhon support for this board.
I've done to the best of my knowledge from examples and docs found so far. I get two bin files, program each in internal and QSPI flash, but board doesn't respond in any way.
Now I'm trying to figure out what is wrong.
is there any way I can debug or set somekind of debug prints on VCOM port (on this board USART3 is connected as VCOM to usb stlink connection). HW works in other projects with other code ?
this is what I've done so far (probably have some obvious mistakes in configrations... So I'm kindly asking for a quick review and advice how to configure correctly.
I'm new to Micropython, so this is layman's work. :-)
Thanks in advance,
regards,
Rob.
STM32H750B_DK.zip
Beta Was this translation helpful? Give feedback.
All reactions