• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended
HP ELitebook , HP Zbook
Microsoft Windows 10 (64-bit)

Hi, I build a small C# application to communicate via USB with a STM32 microcontroller. With this tool I can do firmware upgrade on this ST device, then I change to DFU mode (physical it's USB). This is working on my laptop when I connect the device with my USB-C Dock and if I connect with my laptop if the laptop is powered by battery. In case the ST device is connected to my laptop and the laptop is powered by USB-C Dock the tool is not working successful, that means the firmware upgrade doesn't work and the device is destroyed, because the Flash is only partly written.

Had someone experience with implementing/develope USB interfaces and got different behaviour from port to port or laptop to laptop. Thank you very much for your help. I know it's really a specially case.

Best regards, Carsten

 

1 REPLY 1
HP Recommended

i recomend you read up on the USB spec and make sure you read the usb "C" section as it covers how connected devices are able to configure the power settings

 

your dock is using more of the usb "C" feature set most likely for setting power related defaults on connected devices

 

https://www.maximintegrated.com/en/app-notes/index.mvp/id/4803

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.