Hi,
I'm trying to execute the minimal port of micropython on the NUCLEO - F446ZE. As the README file says, it should work on STM32 F4 series. However, that's not the case. The code is actually writen succesfully on the board through ST-LINK and the Micropython initializes as expected showing the following: 'MicroPython v1.11 on 2019-07-23; minimal with unknown-cpu'.
The problem occurs when trying to write any line of code. It doesn't matter if it's a variable definition or a print, micropython crashes showing nothing on the console.
Has anyone been through the same or any ideas on how to solve this?
Thanks.
MicroPython minimal port on NUCLEO F446ZE
-
- Posts: 5
- Joined: Tue Jul 23, 2019 4:45 pm
Re: MicroPython minimal port on NUCLEO F446ZE
Do you have an up-to-date micropython tree?
There was an issue which was fixed about 3 weeks ago. I get the following on my NUCLEO_F446RE:
There was an issue which was fixed about 3 weeks ago. I get the following on my NUCLEO_F446RE:
Code: Select all
MicroPython v1.11-167-g331c224e0-dirty on 2019-07-23; minimal with unknown-cpu
>>> print('Hey there')
Hey there
>>> x = 3
>>> print(x)
3
>>>
-
- Posts: 5
- Joined: Tue Jul 23, 2019 4:45 pm
Re: MicroPython minimal port on NUCLEO F446ZE
That was it, I had a version from a month ago. With the updated one works perfectly. Thank you!
-
- Posts: 28
- Joined: Sat Jan 24, 2015 10:34 pm
- Location: vancouver/kelowna/lethbridge
Re: MicroPython minimal port on NUCLEO F446ZE
I was wondering how to configure or setup (jumper pins?) the board so that it can be flashed. I have looked on the stm site for information on how to to do that, but it is unclear to me.
Maybe a general note on how to set stm32 boards, if such is possible, would be greatly appreciated by many, I am sure.
thanks,
Mark
Maybe a general note on how to set stm32 boards, if such is possible, would be greatly appreciated by many, I am sure.
thanks,
Mark
Re: MicroPython minimal port on NUCLEO F446ZE
You'll need to short the BOOT0 pin to VCC then reset. That will put the board into the ST DFU bootloader so you can use "make BOARD= deploy" via the device usb port.
Otherwise you can use the stlink usb port any time with "make BOArD= deploy-stlink"
Otherwise you can use the stlink usb port any time with "make BOArD= deploy-stlink"
-
- Posts: 28
- Joined: Sat Jan 24, 2015 10:34 pm
- Location: vancouver/kelowna/lethbridge
-
- Posts: 1
- Joined: Thu Aug 08, 2019 7:10 am
- Contact:
Re: MicroPython minimal port on NUCLEO F446ZE
Well explained...