why the stm32usb_cdc entering into DFU mode when I connected with pc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-14 10:10 PM
Hello,
I am working on the stm32f070c6 ,I wrote the code for usb_cdc , when I was connected with pc it was either showing as DFU mode or STM32 boot loader, it is not detected as COM port . why it is entering into DFU mode how to overcome and how it will detect as COM port , the code and everything is okay(no errors )
- Labels:
-
Bootloader
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-15 3:08 AM
BOOT0 is HIGH, or the part is blank?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-15 3:17 AM
Thanks for your reply @Community member , when I uploading the program boot0 pin connected to high, if I disconnect the boot0 pin from vcc , it shows as usb device descriptor request failed, if i make boot0 pin to high , it is showing as in device manager window either DFU MODE/ stm32 bootloader. it is not detected as COM port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-15 3:21 AM
So a code/implementation issue on the CDC
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-15 3:31 AM
@Community member The code is correct because I took the reference from the st website
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-15 9:34 AM
When BOOT0 is high, it enters the system bootloader (DFU mode).
As for why it's not working in CDC mode with your code, probably a firmware issue.
> the code and everything is okay(no errors )
You mean no errors when compiling? Hardly means the code is okay.
At least since it enters DFU mode, you can rule out any hardware issues related to the USB lines.
