AnsweredAssumed Answered

STM32F103 Virtual COM Port and embedded bootloader

Question asked by Grzegorz Wójcik on Feb 26, 2018
Latest reply on Feb 27, 2018 by Bogdan Golab

Hello,

I am using STM32F103 and I would like to use:

STM32F103 USART bootloader + USB as Virtual COM port + PC application for uploading hex file.

 

My question is: Would it be possible to use embedded USART bootloader (together with STM32-FLASHER) in the following way:

-configure USB as virtual COM port,

-connect with PC, use STM32-FLASHER,

-when program detects USB connection, it jumps from user application into embedded bootloader,

-STM32-FLASHER is used for uploading the code via USB as VPC

 

As far as I know, before jumping into bootloader we have to disable interrupts and peripherals. But what if I leave USB configured? Would it make any sense to do so? This would save me some work with developing custom bootloader.

Outcomes