[STM32H743] How to flash

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
kak
Posts: 22
Joined: Fri Oct 05, 2018 11:35 am

[STM32H743] How to flash

Post by kak » Mon Oct 22, 2018 2:31 pm

I feel somewhat dumb here. Could someone tell me how to flash MicroPython to a STM32H743-Nucleo board?
Make produces the files firmware.dfu, firmware.hex, firmware0.bin and firmware1.bin.

Which of those do I have to flash, and how?
I tried copying any of them to the virtual drive of the integrated ST-Link debugger, but none produced any results.

Could anybody give me a hint?

Thanks in advance.

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: [STM32H743] How to flash

Post by shaoziyang » Mon Oct 22, 2018 2:48 pm

You may using "STM32 ST-Link Utility" to flash bin/hex file to Nucleo board.

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: [STM32H743] How to flash

Post by shaoziyang » Mon Oct 22, 2018 2:56 pm

01.jpg
01.jpg (35.76 KiB) Viewed 6095 times

kak
Posts: 22
Joined: Fri Oct 05, 2018 11:35 am

Re: [STM32H743] How to flash

Post by kak » Mon Oct 22, 2018 5:13 pm

Thanks for your answer. It seems to be only available for Windows. Is there something similar for Linux?

johannes
Posts: 8
Joined: Mon Oct 22, 2018 1:29 am

Re: [STM32H743] How to flash

Post by johannes » Mon Oct 22, 2018 7:22 pm

kak wrote:
Mon Oct 22, 2018 5:13 pm
Thanks for your answer. It seems to be only available for Windows. Is there something similar for Linux?
It's been a while since i played with stm32 boards but i remember that i needed a jtag device and openocd [1] to flash and debug the firmware, but it's been 5-6 years ago. Maybe there are other ways of flashing the board in the meantime.


[1]: http://openocd.org/doc/html/Flash-Programming.html

victagayun
Posts: 9
Joined: Fri Oct 26, 2018 1:38 am

Re: [STM32H743] How to flash

Post by victagayun » Fri Nov 16, 2018 3:01 am

[quote=johannes post_id=31238 time=1540236144 user_id=4452]
[quote=kak post_id=31225 time=1540228399 user_id=4401]
Thanks for your answer. It seems to be only available for Windows. Is there something similar for Linux?
[/quote]

It's been a while since i played with stm32 boards but i remember that i needed a jtag device and openocd [1] to flash and debug the firmware, but it's been 5-6 years ago. Maybe there are other ways of flashing the board in the meantime.


[1]: http://openocd.org/doc/html/Flash-Programming.html
[/quote]

Nucleo boards have built in ST-llink/V2-1 to program the target device, so no need jtag or opencd.

victagayun
Posts: 9
Joined: Fri Oct 26, 2018 1:38 am

Re: [STM32H743] How to flash

Post by victagayun » Fri Nov 16, 2018 3:06 am

[quote=kak post_id=31216 time=1540218715 user_id=4401]
I feel somewhat dumb here. Could someone tell me how to flash MicroPython to a STM32H743-Nucleo board?
Make produces the files firmware.dfu, firmware.hex, firmware0.bin and firmware1.bin.

Which of those do I have to flash, and how?
I tried copying any of them to the virtual drive of the integrated ST-Link debugger, but none produced any results.

Could anybody give me a hint?

Thanks in advance.
[/quote]

How were you able to "make" for STM32H743?
I am planning to buy one and use micropython.

Post Reply