cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect STM32F407VGT6 Discovery Board to Arduino IDE

SElli.11
Associate III

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 ?

2 REPLIES 2

@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:

AndrewNeil_0-1743848025886.png

and Arduino IDE is 600MB:

AndrewNeil_1-1743848132461.png

 

 

 

>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....

If you feel a post has answered your question, please click "Accept as Solution".