2015-10-16 05:17 AM
Hello,
I have a bootloader communicating over USB and the application which is loaded and started uses the same USB port. When I use the bootloader and start the application the USB port isn't working inside the application. When I use the application without the bootloader flashed with SWD the USB is working. I have no special de-init function for the USB port. How do I have to de-init it, before starting the application that it can use the same port? Regards, Chris #stm32 #bootloader #usb #cdc2015-10-21 08:43 AM
Hi Chris_31543,
You did not mention which package you are using. However, you can refer to USB examples provided within ST firmware packages.-Shahrzad-2015-10-22 02:47 AM
Hello,
I use the CubeMX with its middleware drivers, there are some deinit functions but they doesn't change the fact that I have to replug the USB cable after jumping from bootloader to the main application or vice versa Regards, Chris2015-10-22 07:39 AM
Hi Chris_31543,
Maybe section 3 of may guide you to the real causes of the problem.-Shahrzad-