cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F100 launching UART bootloader from application

PMoor.1
Associate II

Trying to figure out how to launch the STM32F100 UART bootloader from within an application and have been having zero success after careful review AN2606 Rev 46 “STM32 microcontroller system memory boot mode�? and AN3155 Rev 13 “USART protocol used in the STM32 bootloader�?. 

For many years have had good success programming STM32F030, STM32F100, STM32F303, and STM32F405 slaves using the UART bootloader, but those all were done by having a master STM32 drive the BOOT0 and RESET lines of the slave in the correct pattern to cause it to enter bootloader mode.

I send 0x79 at a valid baud rate data/parity/stop set to 8E1, but I never get an ACK [0x79] or any other pattern of bits from the STM32. (The normal application transfers data faithfully over this interface to USART1, so hardware connectivity is known to be good.)

1 REPLY 1

The F1 unfortunately lacks a means to remap the zero-space memory.

It's an old family and not sure I'd spend more time on it, but you should be able to change SCB->VTOR and branch into the system firmware

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..