STM32F769DISC

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
klingler
Posts: 8
Joined: Tue Oct 08, 2019 2:41 pm
Location: Switzerland

STM32F769DISC

Post by klingler » Tue Oct 08, 2019 2:45 pm

Good afternoon (o;

I just stumbled upon that micropython supports the STM32F769 controller...

And in the boards directory I see mentioned the stm32f769disc....
Google can't find any reference to this evaluation board...only the stm32f769i discovery....

So is it this board which is supported?

https://www.st.com/en/evaluation-tools/ ... overy.html


thanks in advance
richard

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: STM32F769DISC

Post by jimmo » Sun Oct 13, 2019 11:47 pm

Yes, it's that board. I have this exact board and use it with that board config.

Confusingly the retail packaging for the board says "STM32F769 Discovery Kit", other places call it the "32F769IDISCOVERY" and the silkscreen says "STM32F769I-DISCO".

klingler
Posts: 8
Joined: Tue Oct 08, 2019 2:41 pm
Location: Switzerland

Re: STM32F769DISC

Post by klingler » Mon Oct 14, 2019 7:17 am

Ah great, thanks for clarification :-)

Two boards should arrive today to play with (o;
Especially how ethernet is working for IoT MQTT applications....

cheers
richard

klingler
Posts: 8
Joined: Tue Oct 08, 2019 2:41 pm
Location: Switzerland

Re: STM32F769DISC

Post by klingler » Mon Oct 14, 2019 2:08 pm

Hmm....seems something is broken or wrong...
Trying to do a deploy-stlink I get:

Code: Select all

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Writing build-STM32F769DISC/firmware0.bin to the board via ST-LINK
st-flash 1.5.1-45-g393e942
2019-10-14T16:06:14 INFO common.c: Loading device parameters....
2019-10-14T16:06:14 INFO common.c: Device connected is: F76xxx device, id 0x10016451
2019-10-14T16:06:14 INFO common.c: SRAM size: 0x80000 bytes (512 KiB), Flash: 0x200000 bytes (2048 KiB) in pages of 2048 bytes
2019-10-14T16:06:14 INFO common.c: Attempting to write 416840 (0x65c48) bytes to stm32 address: 134348800 (0x8020000)
Flash page at addr: 0x08080000 erasedEraseFlash - Sector:0x6 Size:0x40000 
2019-10-14T16:06:20 INFO common.c: Finished erasing 3 pages of 262144 (0x40000) bytes
2019-10-14T16:06:20 INFO common.c: Starting Flash write for F2/F4/L4
2019-10-14T16:06:20 INFO flash_loader.c: Successfully loaded flash loader in sram
enabling 32-bit flash writes
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 32768
size: 23624
2019-10-14T16:06:26 INFO common.c: Starting verification of write complete
2019-10-14T16:06:29 INFO common.c: Flash written and verified! jolly good!
Writing build-STM32F769DISC/firmware1.bin to the board via ST-LINK
st-flash 1.5.1-45-g393e942
2019-10-14T16:06:29 INFO common.c: Loading device parameters....
2019-10-14T16:06:29 INFO common.c: Device connected is: F76xxx device, id 0x10016451
2019-10-14T16:06:29 INFO common.c: SRAM size: 0x80000 bytes (512 KiB), Flash: 0x200000 bytes (2048 KiB) in pages of 2048 bytes
Unknown memory region
make: *** [Makefile:542: deploy-stlink] Error 255

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: STM32F769DISC

Post by jimmo » Mon Oct 14, 2019 9:05 pm

stlink can only write the internal flash. This board needs to use mboot to write the qspiflash in addition to the internal flash.

(mboot is like the ST dfu bootloader, except it also knows how to write qspiflash. It's part of MicroPython).

cd to the mboot directory (inside ports/stm32), do a make BOARD=STM32F769DISC deploy-stlink there, then activate the bootloader by holding usr1 during reset and release when I think the third LED is lit (I will check later today). The led will blink about once per second to indicate that mboot is running.

Then a regular "make BOARD=STM32F769DISC deploy" in boards/stm32 will dfu it to the board.

Post Reply