install micropython onto stm32f407 discovery using Stm32CubeProgrammer
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
