Bootloader and USB detection on windows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-28 5:00 AM
Hello,
I m a little bit lost. I want to create a midi board which plug on computer via USB port.
I wanted to ask this question on stm32duino forum but seems to be down for a long time (I planned to user stm32duino to program). Can I ask question here ?
Thanks,
Regards,
Aurélien
- Labels:
-
Bootloader
-
STM32F1 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-28 5:21 AM
So what is the question?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-28 5:33 AM
The question is : I wanted to have an audio controller with stm32 inside. If possible, I don't want to have an usb driver to install to use this device.
I'm working with arduino ide (perhaps I will switch to plateformio in futur). So I uploaded a bootloader : now, my board (blue pill) is recognized as a "libusb-win32 maple dfu" device. But if there a way to make it recognized as another device (an audio controller) . Does bootloader make usb recognization with windows and I have to remove it ? Not sure to be, but I m lost...
Thanks in advance.
Regards,
Aurélien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-28 6:45 AM
I don't know how the bootloader you are talking about works, but once the downloaded application starts running, it overtakes all the port pins, including the USB pins, so in that moment it ceases to be seen in PC as DFU device.
If you want it to be a USB Audio device, the application has to include some form of an USB library, and having implemented portions of the USB Audio Class. I don't know if there is something prepared in the Arduino/Maple world, but if you switch to the STM32 Cube world, CubeMX (which then uses the Cube library) can probably generate some USB Audio code for you.
I am not very good in dealing with newcomers questions, sorry.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-28 7:14 AM
OK, thank you, I m dealing with USBComposite class : https://github.com/arpruss/USBComposite_stm32f1.
I will see if I can do something with. Thanks.
Regards,
Aurélien
