2025-10-09 5:03 AM - edited 2025-10-09 8:05 AM
Hi,
o.s.: Debian 12 Bookworm (fully updated)
board: (official) STM32f4-discovery
micropython: STM32F4DISC-20250911-v1.26.1.dfu
STM32CubeProgrammer v2.19.0
Checking my previous posts shows that I have tried this before but obviously got nowhere as I seem to have abandoned that attempt. So I am trying again...
I'm trying to load Micropython onto the board listed above using ...Programmer but am having some problems doing so. I have connected both of the board's USB ports to the laptop.
When I set ...Programmer connection mode to ST-LINK the board is connected and is erroneously(!) identified in ...Programmer's "Target Information" list as a device of type STM32F2xx. In this connection mode, the board has both ST-LINK jumpers in place and ...Programmer does display a "File download complete" message after downloading the .dfu file even though it is displaying "No DFU detected".
When I set ...Programmer connection mode to USB, which I thought was necessary to flash/download a .dfu file to the board, ...Programmer does not connect to the board. In this connection mode, both ST-LINK jumpers are removed and one of them is used to jump BOOT0 to VDD. In this mode, ...Programmer shows "Not connected" in its top right corner. When I click on the (green) Connect button, the board remains "Not connected" and ...Programmer's "Target Information" list remains completely blank.
EDIT: I have looked at System Settings/Network/Network Connections which does not(!) show an entry for the Discovery board. Likewise, System Settings/Hardware/Removable Storage/Removable Devices also shows no entry for the board. Finally, Program Launcher/System/Info Centre/Devices/USB Devices does(!) show an entry for STM32 STLink.
Could someone please point out what I am doing wrong and help me to correct my mistakes.
Stuart
2025-10-09 8:01 AM
Hello @SElli.11,
The fact that your board is wrongly recognized is pretty odd. Could you photograph it? also the marking on the STM32 Chip?
Also, have you modified the CubeProgrammer installation in any way?
Aziz
2025-10-09 8:21 AM
Hi @Aziz BRIGUI,
Thank you for your reply. As requested, the photograph.
STM32F407 Discovery Board
The marking on the chip is :-
STM32F407
VGT6
STM32CubeProgrammer v 2.19.0 has not(!) been modified in any way. I hope this is of use.
Stuart
2025-10-09 8:32 AM
Please post a good, clear, in-focus photo!
As @Aziz BRIGUI said, the markings on the chip need to be clear.
2025-10-09 9:56 AM