Uploading your sketch

Select the upload method from the Tools / upload menu option.

Method Connection Requirements
SWD / JTAG SWD pins SWD Programmer hardware, (included in Nucleo and Discovery boards)
Mass storage SWD pins ST-Link V2.1, (included in Nucleo and Discovery boards)
System bootloader UART1 BOOT0 / BOOT1 pins accessible, USB to UART adapter
USB DFU bootloader USB USB connector, Bootloader already installed using other method
USB HID bootloader USB USB connector, Bootloader already installed using other method
Black Magic Probe USB Black Magic Probe

SWD / JTAG

Prerequisites:

Tool used to upload:

Mass storage

Prerequisites:

Tool used to upload:

System bootloader

Prerequisites:

Tool used to upload:

USB DFU bootloader

Prerequisites:

Tool used to upload:

USB HID bootloader

Prerequisites:

Tool used to upload:

Black Magic Probe

TODO