2020-11-04 12:53 AM
Hi,
My software sends a CDC bootload flag that asks the MCU to do a bootloader jump. The jumps works fine and I have no problem detecting the device change, in "control printers" on my PC (CDC to DFU). But on my collegue's PC his Windows does not see the device change so it doesnt find any DFU device. I have closed the connection before jumping as described in USB CDC doc :
Any ideas to solve the problem ? I would prefer a MCU solution but I could use a software solution
Regards
2020-11-04 05:40 AM
I would reset the USB peripheral, wait 1 second, then jump to the bootloader.
__HAL_RCC_USB_OTG_FS_FORCE_RESET();
HAL_Delay(1000);
__HAL_RCC_USB_OTG_FS_RELEASE_RESET();
2020-11-05 12:58 AM
I tested on 5 PC and it worked but still doesnt work on this specific PC, we still have to unplug and plug the USB for Windows to see the change, I think the issue is related to the PC