[NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

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
domisant
Posts: 2
Joined: Fri Mar 12, 2021 10:31 pm

[NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

Post by domisant » Fri Mar 12, 2021 10:36 pm

Hello everyone,

I'm looking for a guide on how to burn micropython on my NUCLEO F401RE in windows 10 os.

Thank you

bradstew
Posts: 41
Joined: Thu Nov 29, 2018 9:29 pm

Re: [NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

Post by bradstew » Mon Mar 15, 2021 11:58 pm

I have the same question. Plus I have a Nucleo STM32F411 board I want to program with MicroPython.

domisant
Posts: 2
Joined: Fri Mar 12, 2021 10:31 pm

Re: [NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

Post by domisant » Tue Mar 16, 2021 10:00 am

Yes, I'm looking for a simple procedure to upload the MicroPython image in Windows..

bradstew
Posts: 41
Joined: Thu Nov 29, 2018 9:29 pm

Re: [NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

Post by bradstew » Tue Mar 16, 2021 8:04 pm

For a Nucleo-F411:

It seems that you need to attach a USB connector to PA11 and PA12 (DM/DP) on CN10 pins 12 & 14. Then place a jumper between CN7 pins 5 & 7 to enable boot mode. Then program it using the DFU programmer using the USB connector you just soldered on.
I think these are the same pins with the F401.

A real pain. Anyone else got a better idea?

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: [NUCLEO-F401RE] burn micropython on NUCLEO-F401RE

Post by dhylands » Tue Mar 16, 2021 10:24 pm

You can also use the st-link tools (under Windows, Mac or Linux) to flash using the stlink programmer built into the NUCLEO boards.
https://github.com/stlink-org/stlink

I've done this in the past on all 3 platforms, but it's been a while since I did it under Windows, so I don't recall the steps needed.

Post Reply