2024-11-14 07:09 AM
Hello everyone,
I have an stm32f303cbt6 design (see image below) connected to an hub(USB2533) and an adum for isolation, i'm trying to run a USB device CDC example by creating a new project in the Stm32CubeIDE using device tool configuration.
I selected :
- RTC : HSE Bypass clock source (24Mhz)
- SYS : Serial wire debug
- USB : fs device
- Middleware : USB device CDC
When i build and i compil to my board, windows doesn't recognise it, can you help me with that ?
(i tried also to put the connect_usb pin to 3.3 V, i got same thing)
Thanks.
2024-11-14 07:20 AM
@maac wrote:windows doesn't recognise it,
Does it not see it at all? give an error? other?
2024-11-14 07:24 AM
Too little information give for a reasonable help, but maybe you should start by increasing the default stack and heap sizes to twice the value.
2024-11-14 08:24 AM
I don't have windows message.
I got this in USBTree (the hub has 3 downstream), it seems like the hub is detected but not the device (stm32).
2024-11-14 08:27 AM
I gave informations as possible as i know, you can ask for information so i can put it.
The default configuration seems to make the USB detected at least, i don't undrestand what do you mean by increasing.
2024-11-14 08:59 AM
@maac wrote:it seems like the hub is detected but not the device (stm32).
Is the device detected without the Hub ?
If you don't get any messages, and nothing appears in Device Manager, then the PC is not even seeing that anything has been plugged it.
Are you sure that you are using a good data cable - not just a charging cable?
2024-11-14 09:02 AM
@maac wrote:i don't understand what do you mean by increasing.
"increasing" = "making bigger/larger"
ie, Whatever size your Heap and Stack currently are, trying making them twice that size.