cancel
Showing results for 
Search instead for 
Did you mean: 

UART Bootloader on STM32F04xxx

Pedro3
Senior

Hello!

I'm trying to use the embedded bootloader on STM32F042K6T6, by UART protocol, but no luck yet. I'm using USART1 pins (PA9/PA10) and BOOT0 to a button and 3v3, so I press this button and power on my board. On STM32CubeProgrammer, I've selected my UART to USB converter (pullup on RX line) COM port and after clicking "Connect" on software, there is a response from target but it didn't go on:

0693W00000VOkUTQA1.png 

Am I missing anything?

Thanks!

2 REPLIES 2

It works once after reset, and you need to ensure you don't have other signals on pins it might be monitoring. Check AN2606 for a list

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

Hi @Community member​, thanks for your feedback.

Yes, I've followed the AN2606 before selecting the pins, so there's no signal in UART2 or USB or I2C. Regarding the reset, I've replaced it by a power on with BOOT0 activated.

I have another bootloader solution but using STM32H7 and DFU (and a button on BOOT0), working flawless, so I thought it would be easy too...