STM32F103C Upload error using Arduino IDE

BJHenry:
Just so we're on the same page, how did you check that your USB-Serial adapter was working correctly?

This is how I upload using an external USB-Serial adapter-

  1. Connect GND of the USB-Serial to GND of the Bluepill. Connect USB-Serial 5V to 5V on Bluepill OR 3.3V to 3.3V.
  2. Connect TX of USB-Serial to PA10 of Bluepill.
  3. Connect RX of USB-Serial to PA9 of Bluepill.
  4. Make sure that BOOT0 is pulled HIGH and BOOT1 is pulled LOW.
  5. Select the correct Board and Variant in the TOOLS menu.
  6. Select 'Serial' as the Upload Method in the TOOLS menu.
  7. Select the correct serial port in the TOOLS menu.
  8. Hit 'Upload'.

i have did the same exactly & about the USB to Serial converter I have tested it by programming Atmega 328 on Arduino uno board while pressing the reset button & its programmed successfuly