STM32F405 flash with FC10

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 1012
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 193 times
Been thanked: 217 times

STM32F405 flash with FC10

Post by stefan.erni »

Hi to All

I would like to program some board with the STM32F405 with Flowcode.
The two boards are already described under the link here.

https://www.flowcode.co.uk/forums/view ... hp?t=2961

The Board have USB-C connectors and this D+ /D- line goes directly to the STM32F405.

1. Can I use the bootloader from the board with FC10 or do I have to make a detour via an St-link?

2. Can I use the USB-C connection to make a connection to the App-Developer

USB Connector:
2025-02-17_14-31-37.PNG
2025-02-17_14-31-37.PNG (300.17 KiB) Viewed 6023 times

LeighM
Valued Contributor
Posts: 456
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 82 times
Been thanked: 244 times

Re: STM32F405 flash with FC10

Post by LeighM »

Looks like this board has a BOOT0 switch, so yes you should be able to program it in DFU mode, via USB, UART.
Flowcode does not support this directly, but the compiler output can be used with STM programing tools such as DfuSe. Also have a look at STM32CubeProg from st.com

stefan.erni
Valued Contributor
Posts: 1012
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 193 times
Been thanked: 217 times

Re: STM32F405 flash with FC10

Post by stefan.erni »

Hi LeighM

I will use this board if possible.

Can I use the USB-C connection to make a connection to the App-Developer and send data?

I have asked in a separate post to use the SD card. Can you do something, so that I can select the pin?

https://flowcode.co.uk/forums/viewtopic.php?t=3053

stefan.erni
Valued Contributor
Posts: 1012
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 193 times
Been thanked: 217 times

Re: STM32F405 flash with FC10

Post by stefan.erni »

Hi LeighM

It looks like the USB component is only for selected PIC.

I hope I can somehow send data with the USB-C connector to the App-Developer from the STM32.

Component:
2025-04-09_15-35-22.PNG
2025-04-09_15-35-22.PNG (32.26 KiB) Viewed 4476 times
SNAG-0008.PNG
SNAG-0008.PNG (65.38 KiB) Viewed 4476 times

celebriums
Posts: 42
Joined: Fri Dec 18, 2020 7:33 am
Location: Turkey
Has thanked: 23 times
Been thanked: 7 times
Contact:

Re: STM32F405 flash with FC10

Post by celebriums »

Hello everyone
Does it make any difference if it is STM32F411 or STM446?
Sadık Süme

stefan.erni
Valued Contributor
Posts: 1012
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 193 times
Been thanked: 217 times

Re: STM32F405 flash with FC10

Post by stefan.erni »

Hi Celebriums

If you want to know the differences you can just type in chatqbt and you will get a long and good answer.

Or would you like more information about USB or sd-card?

difference STM32F411 STM32F446
chatqbt :
2025-04-10_09-17-59.PNG
2025-04-10_09-17-59.PNG (5.6 KiB) Viewed 4299 times

medelec35
Matrix Staff
Posts: 1954
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 656 times

Re: STM32F405 flash with FC10

Post by medelec35 »

Hello.
For my two pence worth.
I wanted to try out the STM32F047G Discovery board with Flowcode v10 this morning for the first time.
It was so easy.
I'm mentioning this in case your boards work in a similar way.

When the board is connected to the PC a new drive is created and there are two files that appear on the drive.
All you do is drag the bin file that Flowcode generates on to the new drive, and the Microcontroller is programmed.
Nothing else is required, the bin file that is dragged automatically disappears from the drive.
Martin

stefan.erni
Valued Contributor
Posts: 1012
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 193 times
Been thanked: 217 times

Re: STM32F405 flash with FC10

Post by stefan.erni »

Hi Martin
It was so easy.
Yes...and comfortable. FC10 generate and copy the file full automatic.
You can also save bin files and connect a new board and then progam it by drag and drop.
Or you can mail me the bin file and I will flash the new software by drag and drop without needing FC10.
one more good thing, the computer (terminalprogram) with the comport connected to the STM, can stay connected during the flash.

but this is done by the onboard ST-Link/V2A
The ST-Link/V3 is already available and even faster


No.... My board has no onboard ST-Link but I think I can use a extern ST-Link/V3
but I can not use the USB-C to send data to the AppDevelopper. On this board the USB pin goes direct to the STM32 chip

link to my board:
viewtopic.php?t=2961



Nice to have:
2025-04-24_14-22-50.PNG
2025-04-24_14-22-50.PNG (451.06 KiB) Viewed 3374 times

Post Reply