2022-06-28 10:11 AM
Hi,
we're having some issues while trying to connect a STM32F030C6 to the Stm32CubeProgrammer via USB, through the embedded STM32 Bootloader.
Using the same working sample of one of our devices, we perform several connection tests on different Windows 10 PCs, all set up with the following configuration:
All the PCs were able to properly detect the device in bootloader mode, showing "STM32 BOOTLOADER" in "Device Manager" and some of them were able to properly connect to the device, allowing us to perform DFU operations.
However, on some PCs, the following warning appeared, and no matter what we tried (flag set on "read unprotected", power cycles..etc), we weren't able to connect to the device:
Strange thing is, on those problematic PCs, if, instead of using the embedded laptop USB port, we connected the device through an external USB HUB, we were able to connect properly.
This issue is causing us some troubles because some of our customers are stuck and cannot perform the FW update of our devices on the field, and tell them "try to use an USB HUB" is a not viable option.
The issue is sistematic and not related to a specific unit of our device, those problematic PCs always failed, even trying with different units.
The root cause could be in the HW/FW design of our devices, or in the STM32CubeProgrammer toolchain, so:
Can you please help? thanks!
Solved! Go to Solution.
2025-01-07 07:53 PM
I have an FX-4CR with the same problem still today (1/7/2025).. pse advise resolution progress currently have FX 1.7
2025-02-07 04:24 AM
We are using the STM32F070CBT and have the same problem. Programming via a USB hub works reliably, while programming directly on a laptop (Dell Precision 7680 laptop, USB3) never works. Please let me know how I can manage the programming without a hub. Does it help to connect a resistor at D+, which is not required for this controller according your application note AN2606 for USB-DFU programming?