Create an account on the HP Community to personalize your profile and ask a question
01-18-2019 03:57 AM
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
01-18-2019 07:11 AM
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
Didn't find what you were looking for? Ask the community