FW update using dfu-util problem
Posted: 07 Jan 2021 23:56
Hi,
I've been successfully using the USB HID Bootloader to program my STM32. For a couple reasons, I need to update the FW using dfu-util in a MacOS terminal. Using this method, my code is also successfully programmed.
Both methods above work fine when I program a simple LED_blink code. When I use a code that implements the USB (CDC_Demo), the code doesn't start to run, if I programmed it using the second method (dfu-util).
Any ideas what might be wrong? Is it possible that my code does't know where to start? If so, why it happens only when I use the CDC_Demo and not the LED_Blink?
Thank you in advance,
I've been successfully using the USB HID Bootloader to program my STM32. For a couple reasons, I need to update the FW using dfu-util in a MacOS terminal. Using this method, my code is also successfully programmed.
Both methods above work fine when I program a simple LED_blink code. When I use a code that implements the USB (CDC_Demo), the code doesn't start to run, if I programmed it using the second method (dfu-util).
Any ideas what might be wrong? Is it possible that my code does't know where to start? If so, why it happens only when I use the CDC_Demo and not the LED_Blink?
Thank you in advance,