STM32F4DISCOVERY USB OTB broke in latest version

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

bymannan
Posts: 3
Joined: Thu Sep 26, 2024 11:25 pm

STM32F4DISCOVERY USB OTB broke in latest version

Postby bymannan » Thu Sep 26, 2024 11:32 pm

Hello,

Trying to get USB virtual com port version 21 of Chibi working on STM32F4DISCOVERY board using RT-STM32F407-DISCOVERY demo and for the life of me can't seem to make it work. USB device just doesn't show up.

I have managed to get it working with ChibiOS 3.0.0 and one of the demos, USB device shows up fine, but not in latest version of 21, it's as if something deep in the configuration changed.

Anyone has any pointers how to get it to work? Hate to be using version 3 in 2024 :)

User avatar
Giovanni
Site Admin
Posts: 14525
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1095 times
Been thanked: 934 times
Contact:

Re: STM32F4DISCOVERY USB OTB broke in latest version

Postby Giovanni » Fri Sep 27, 2024 4:00 am

Hi,

I need to find one of those old boards 1st :-) which board revision do you have?

Giovanni

bymannan
Posts: 3
Joined: Thu Sep 26, 2024 11:25 pm

Re: STM32F4DISCOVERY USB OTB broke in latest version

Postby bymannan » Fri Sep 27, 2024 7:32 am

Hey,

I believe it’s STM32F407G-DISC1 MB997E which is the latest, I got it a few months ago.

https://www.st.com/content/ccc/resource ... 039084.pdf

Will verify when I get back to the office.

Thank you!

User avatar
Giovanni
Site Admin
Posts: 14525
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1095 times
Been thanked: 934 times
Contact:

Re: STM32F4DISCOVERY USB OTB broke in latest version

Postby Giovanni » Sat Sep 28, 2024 7:51 am

Hi,

I tested the STM32-USB-CDC demo (trunk code) on my F4 Discovery, it worked, the shell shows up.

My board is an MB997 B-00, probably older than yours but if it works with old ChibiOS this should not be the problem.

Giovanni

bymannan
Posts: 3
Joined: Thu Sep 26, 2024 11:25 pm

Re: STM32F4DISCOVERY USB OTB broke in latest version

Postby bymannan » Tue Oct 01, 2024 3:00 am

Hey Giovanni,

Sorry, which demo should I try? is it here https://github.com/ChibiOS/ChibiOS/tree ... emos/STM32?

Thanks!

User avatar
Giovanni
Site Admin
Posts: 14525
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1095 times
Been thanked: 934 times
Contact:

Re: STM32F4DISCOVERY USB OTB broke in latest version

Postby Giovanni » Tue Oct 01, 2024 1:22 pm

Hi,

You download the whole ChibiOS distribution https://sourceforge.net/projects/chibios/files/ then the demo is under /testhal/STM32/multi/USB_CDC

The demo has multiple target boards including that one.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 5 guests