STM32 USB upload question

I've gotten a genuine STM32F103c8 board, uploaded the bootloader according to this tutorial, all is good.

Uploaded that blinky program too, which works beautifully.
But.
After I've uploaded one peice of code, I can't upload new code over USB without reinstalling the bootloader. Am I missing something? Do I need to put BOOT0 HIGH again, or does it stay LOW?

Do you mean "after uploading code via USB" ?

Yes, I do

It should be both LOW for normal sketch upload.

If you have a problem with sketch uploading with a bootloader, try this method:

  • unplug your board from the USB
  • press the upload icon in the arduino IDE
  • wait for compilation is finished and message something like "Look for DFU device..." occurs in the log window
  • plug your board to the USB
1 Like

I'll try that tomorrow, let you know how it goes. Thanks mate.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.