Page 8 of 14

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Sun Jun 02, 2019 4:53 am
by OutoftheBOTS_
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 :(

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Mon Jun 03, 2019 9:37 am
by lukesky333
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.

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Mon Jun 03, 2019 2:17 pm
by mcauser
@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?

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Mon Jun 03, 2019 2:47 pm
by lukesky333
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?

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Mon Jun 03, 2019 3:00 pm
by mcauser
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.

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Tue Jun 04, 2019 11:01 am
by lukesky333
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?

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Tue Jun 04, 2019 2:43 pm
by mcauser
@lukesky333 board defs updated. Datasheet added to the /docs folder.

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Tue Jun 04, 2019 2:52 pm
by lukesky333
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. ;-)

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Tue Jun 04, 2019 2:56 pm
by SpotlightKid
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

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Posted: Tue Jun 04, 2019 8:35 pm
by OutoftheBOTS_
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 :)