Skip to main content
Visitor II
January 27, 2022
Solved

I just want to program my mcu (STM32F103C6T6A) via usb port which is connected to mcu's usb pins. I don't want to use jtag or swd. What should i do for boot0/1 pins?

  • January 27, 2022
  • 2 replies
  • 2899 views

I read AN2606 but i couldn't understand exactly. My understood is that if i connect boot0 pin to ground, main flash memory is gonna be selected.

My question is if i do it(connecting boot0 pin to ground), will i lose the ability which enable me to program mcu via usb port?.

    This topic has been closed for replies.
    Best answer by MM..1

    Best hmm

    STLINK ??? Is swd HW for program and debug no relevant with bootloader...

    And boot0 on ground dont lose ability to run system loader from app, only block boot to.

    2 replies

    Graduate II
    January 27, 2022

    You must miss read AN , where you see that 103 have USB DFU? I seent

    EKaya.11Author
    Visitor II
    January 27, 2022

    But it has usb connection pins. That's why i think like that

    Graduate II
    January 27, 2022

    No this MCU can use only user type DFU. You need split flash to bootloader part and this proggram over SWD or supported boot serial system. After this boot USB and ...

    Graduate II
    January 27, 2022

    >if i do it(connecting boot0 pin to ground), will i lose the ability which enable me to program mcu via usb port?.

    You wont be able to use the STLINKs bootloader DFU/UART/...(which requires you to pull high the boot pin after reset)

    MM..1Answer
    Graduate II
    January 27, 2022

    Best hmm

    STLINK ??? Is swd HW for program and debug no relevant with bootloader...

    And boot0 on ground dont lose ability to run system loader from app, only block boot to.

    Graduate II
    January 27, 2022

    k