Arduino can't connect/see STM32F405

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
davidday47
 
Posts: 3
Joined: Mon May 01, 2023 3:29 pm

Arduino can't connect/see STM32F405

Post by davidday47 »

Hi,
The project is to create a flight simulator with the following hardware:
1 x Monochrome 1.3" 128x64 OLED graphic display - STEMMA QT / Qwiic[ID:938]= $19.95
1 x STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long[ID:4210] = $0.95
1 x Adafruit Feather STM32F405 Express[ID:4382] = $39.95
Order Confirmation No: 3054718-2026700041, Apr 15, 2023

There is a flight simulation program downloaded with bitmaps.

Our first step is to connect to STM32F405 with Arduino(2.0.1) to run the Blink code (LED blinking).
We followed the link from here https://learn.adafruit.com/adafruit-stm ... -ide-setup

Attached IDE tools set up picture (Capture.JPG), but IDE USB port is grey, not seeing the device. SO the uploading of the Blink code failed.

Please check if we missed something?

Best regards

David
Attachments
Capture.JPG
Capture.JPG (106.24 KiB) Viewed 201 times

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Arduino can't connect/see STM32F405

Post by dastels »

Verify that you USB cable is a data cable, not charge/power only.

Dave

User avatar
davidday47
 
Posts: 3
Joined: Mon May 01, 2023 3:29 pm

Re: Arduino can't connect/see STM32F405

Post by davidday47 »

Hi Dave,

Indeed the cable was bad. With new cable, before solder B0 to 3.3V, the "port" was assigned as COM5. So that is good. Then after solder B0 to 3.3V and downloaded the STM32Cubeprogrammer, the port is missing again and IDE can't see the stm32 board. Please see the error message in the attached picture after attempting to upload the code. We are not sure when to RESET the stm32 board. Again we are trying to follow the follow the steps in this link https://learn.adafruit.com/adafruit-stm ... -ide-setup

We are still trying to run the "Blink" code from Arduino IDE2.1.0 example list.

Best regards

David
Attachments
Picture shows the error message.
Picture shows the error message.
Capture.PNG (459.5 KiB) Viewed 186 times

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Arduino can't connect/see STM32F405

Post by dastels »

You don't want to solder B0 to 3.3. Just connect it while resetting/booting.

Dave

User avatar
davidday47
 
Posts: 3
Joined: Mon May 01, 2023 3:29 pm

Re: Arduino can't connect/see STM32F405

Post by davidday47 »

Hi Dave,

We unsoldered B0 to 3.3V. We connect B0 to 3.3V and REST, but COM5 port disappeared. After uploaded the program, error message "No debug probe detected" still persisted.

Why by connecting B0 to 3.3V, port disappeared? Then it won't upload properly.

Best regards,

David

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”