2025-04-05 2:59 AM - last edited on 2025-04-05 6:55 AM by Andrew Neil
Originally a comment on the How to program and debug the STM32 using the Arduino IDE Knowledge base article.
Moved to main forum for better visibility & discussion.
Hi,
I'm trying to get an STM32F407VGT6-based Discovery board up and running using Arduino IDE v 2.3.5 on Debian Bookworm (fully updated). I am having a problem in that the status line of the Arduino IDE states that "Discovery [not connected]". In the Arduino IDE/Tools menu, the Port option is greyed out.
I have two(!) wires connected between the Discovery board and the laptop's usb ports. I have also ensured that the laptop has libusb-1.0-0(v2:1.0.26-1) which is the latest version, according to Synaptic. I have also ensured that I am a member of the dialout group.
I tried to install STM32CubeProgrammer but, during this install, the laptop reported that there was no more space left on the device. I cannot remember quite what the error message was but I think that it referenced the /tmp partition. I have checked this 83.5 MiB partition and found that it is only 19% used.
Where do I go from here ?
2025-04-05 3:16 AM
@SElli.11 wrote:I have two(!) wires connected between the Discovery board and the laptop's usb ports.
What do you mean by that?
Two USB cables ?
Why two?
83.5 MiB is very small for a partition these days!
On Windows, the CubeProgrammer installation is nearly 600MB:
and Arduino IDE is 600MB:
2025-04-05 5:07 AM
>83.5 MiB is very small for a partition these days!
Right, just on my Mx Linux , including libs etc , about:
- Arduino : 11GB (inc. libs, boards), + projects 1GB
- STM32IDE 1.18.0 : 4GB , + Cube : 15 GB , + some projects: 4GB
- vscode (ESP IDE): 6GB
And on install, all of these it might expand zip or rar in tmp, using 2 GB or so....