stm32f303 Unknown USB device is being displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-01 11:39 AM
I created PCB by basically following this design, but I used as MCU the STM32F303CBT6. Programming through FTDI programmer works all fine, but when I try to use the onboard USB port, Windows doesn't want to accept it and in device manager says that it's a unknown device.
By reading through data sheets I've figured that for USB to work we need to enter DFU bootloader mode, by setting BOOT0 HIGH and BOOT1 LOW. Still Windows doesn't want to support USB.
I've also tried powering with external power supply the PCB and then connecting do PC. Still nothing...
I've tried turning USB on through STM32CubeMx by using external crystal, still nothing...
As my goal is to later program stm32f3 using Arduino IDE I'm quite lost what more should I try.
Your help would be greatly appreciated :)
- Labels:
-
STM32F3 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-02 2:23 AM
>>As my goal is to later program stm32f3 using Arduino IDE
buy or use an stlink , arduino supports SW loads troguh stlink (no usb needed)
IF you diont have any stlink you could use one of the builtin stlinks inside any nucleo board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-02 7:03 AM
Is there no way to achieve this through built in usb of the mcu? Because I'd like to use the built in usb to upload code but Windows doesn't want to recognize the usb device. Also, when I've uploaded blink sketch from Arduino IDE, to test functionality of mcu it works all fine, but usb won't start if the loop function is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-02 10:57 AM
- 1k5 pullup on usb D+ must go to 3,3v , not 5V !!!!
- to use a chip as F303, you should forget Arduino. makes not much sense.
- use STM32CubeIDE + STlink (as Javier said )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-04 1:17 PM
Another one, who just copied the schematic from Chinese idiots.
- R2, R6, R7, R8 must be removed.
- C2 must be replaced with 100 nF.
- R9, R11 must be shorted or replaced with 0 ohm.
- R10 must be pulled up to VDD, not 5 V.
- The symbol of a D1 is for a zener, not a normal diode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-12 1:55 AM
>>Is there no way to achieve this through built in usb of the mcu?
yes
>>I've uploaded blink sketch from Arduino IDE, to test functionality of mcu it works all fine, but usb won't start if the loop function is running.
thats your problem right there.
Maybe something wrong with the Serial.begin() function?
Are you sure youre using the correct board package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-12 1:56 AM
Arduino makes sense , untill you need to dig deeper
