Electronic – USB transceiver helps me to update firmware program to microcontroller via USB interface

transceiverusb

I am doing one hobby project, using STM32F103R8T6 Micro controller for my project, I would like to use USB transceiver for this micro controller, does this helps me to update my firmware program through USB interface or do I need to have separate programmer for uploading firmware to microcontroller.

Best Answer

The USB transceivers are built-in to the STM32F1 series and you don't need an external phy. You can use the USB for programming if you load a bootloader first. ST has tools for loading from the bootloader.

You will either need to use the USART, JTAG or SWD interface to initially load a bootloader or just load the flash.

Here is a tutorial for loading from the USART

If not then use your favorite compiler/debugger and the JTAG or SWD inteface with the ST-link programmer