MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

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.
OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by OutoftheBOTS_ » Sun Jun 02, 2019 4:53 am

SpotlightKid wrote:
Sun Jun 02, 2019 3:25 am
OutoftheBOTS_ wrote:
Sat Jun 01, 2019 10:33 pm
Do you know if the the external Winbond W25Q16 16Mbit SPI Flash is implemented in MP?
https://github.com/SpotlightKid/micropy ... r/spiflash
Thanks for that. I see this is implemented in python and can write and read to the flash and this makes it use able. I was wondering if anyone had implemented it in the firmware with a FAT system so that the standard python file handing functions could be used similar to what has be done with the external flash RAM on the ESP32??

Also I assume then the flash is operating as serial SPI and not as QUAD SPI??

Edit
after reading the STM32F407 reference manual it looks like it doesn't have hardware QSPI :(

lukesky333
Posts: 44
Joined: Fri Sep 02, 2016 4:07 pm
Location: Austria

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by lukesky333 » Mon Jun 03, 2019 9:37 am

Hi,

I want to buy this board (STM32F407VGT6).

Is it possible to run your version of MicroPython on this board? It seems to be the same like STM32F407VET6, only with more memory.

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by mcauser » Mon Jun 03, 2019 2:17 pm

@lukesky333 I put together these ones for the board:
https://github.com/mcauser/MCUDEV_DEVEBOX_F407VGT6 - 1Mbyte flash
https://github.com/mcauser/MCUDEV_DEVEBOX_F407VET6 - 512Kbyte flash
Both are 100 pin LQFP chips and it looks like larger flash is the main difference.

I guessed some of the pin numbers based on other boards by the same vendor.
Need to check them against their datasheet for this board.
I could only find a low resolution jpg. Do you have the pdf version?

lukesky333
Posts: 44
Joined: Fri Sep 02, 2016 4:07 pm
Location: Austria

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by lukesky333 » Mon Jun 03, 2019 2:47 pm

mcauser wrote:
Mon Jun 03, 2019 2:17 pm
@lukesky333 I put together these ones for the board:
https://github.com/mcauser/MCUDEV_DEVEBOX_F407VGT6 - 1Mbyte flash
https://github.com/mcauser/MCUDEV_DEVEBOX_F407VET6 - 512Kbyte flash
Both are 100 pin LQFP chips and it looks like larger flash is the main difference.

I guessed some of the pin numbers based on other boards by the same vendor.
Need to check them against their datasheet for this board.
I could only find a low resolution jpg. Do you have the pdf version?
Sorry, I have no datasheet for this board. I want to buy this board but only if I'll get MicroPython running with it. Where is your "low resolution" datasheet from?

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by mcauser » Mon Jun 03, 2019 3:00 pm

Order it. You will definitely be able to run MicroPython on it.
I asked a few of the AliExpress vendors if they could send me a link to the datasheet. Waiting on their response.

Also grab one of these $2 ST Link V2 clones for flashing, if you don't already have one.
Lets you flash MicroPython on there using the SWD header at the top.
https://www.aliexpress.com/item/32631496848.html

Edit: Datasheet received. Will update the board def to match.

lukesky333
Posts: 44
Joined: Fri Sep 02, 2016 4:07 pm
Location: Austria

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by lukesky333 » Tue Jun 04, 2019 11:01 am

mcauser wrote:
Mon Jun 03, 2019 3:00 pm
Edit: Datasheet received. Will update the board def to match.
Thanks a lot. Could you share the datasheet too?

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by mcauser » Tue Jun 04, 2019 2:43 pm

@lukesky333 board defs updated. Datasheet added to the /docs folder.

lukesky333
Posts: 44
Joined: Fri Sep 02, 2016 4:07 pm
Location: Austria

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by lukesky333 » Tue Jun 04, 2019 2:52 pm

mcauser wrote:
Tue Jun 04, 2019 2:43 pm
@lukesky333 board defs updated. Datasheet added to the /docs folder.
Cool, thank you. I've ordered the board and I let you know, what happened. ;-)

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by SpotlightKid » Tue Jun 04, 2019 2:56 pm

OutoftheBOTS_ wrote:
Sun Jun 02, 2019 4:53 am
I was wondering if anyone had implemented it in the firmware with a FAT system so that the standard python file handing functions could be used
Not a firmware, but an integration into the MicroPython VFS via Python:

viewtopic.php?p=22478&sid=134947f7ca978 ... 180#p22478

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Post by OutoftheBOTS_ » Tue Jun 04, 2019 8:35 pm

SpotlightKid wrote:
Tue Jun 04, 2019 2:56 pm
OutoftheBOTS_ wrote:
Sun Jun 02, 2019 4:53 am
I was wondering if anyone had implemented it in the firmware with a FAT system so that the standard python file handing functions could be used
Not a firmware, but an integration into the MicroPython VFS via Python:

viewtopic.php?p=22478&sid=134947f7ca978 ... 180#p22478
Thank you very much :)

I wasn't aware that python had "os.VfsFat.mkfs(flash)" this method and that to make a FAT was this easy :)

Post Reply