Page 1 of 1

[STM32H743] How to flash

Posted: Mon Oct 22, 2018 2:31 pm
by kak
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.

Re: [STM32H743] How to flash

Posted: Mon Oct 22, 2018 2:48 pm
by shaoziyang
You may using "STM32 ST-Link Utility" to flash bin/hex file to Nucleo board.

Re: [STM32H743] How to flash

Posted: Mon Oct 22, 2018 2:56 pm
by shaoziyang
01.jpg
01.jpg (35.76 KiB) Viewed 8673 times

Re: [STM32H743] How to flash

Posted: Mon Oct 22, 2018 5:13 pm
by kak
Thanks for your answer. It seems to be only available for Windows. Is there something similar for Linux?

Re: [STM32H743] How to flash

Posted: Mon Oct 22, 2018 7:22 pm
by johannes
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

Re: [STM32H743] How to flash

Posted: Fri Nov 16, 2018 3:01 am
by victagayun
[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.

Re: [STM32H743] How to flash

Posted: Fri Nov 16, 2018 3:06 am
by victagayun
[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.