STM32 UART BootLoader HowTo

preview_player
Показать описание
In this video, im showing:
1. What are the options available with the STM32 Bootloader
2. How to connect the UART to use as a BootLoader.
3. How to use the UART BootLoader software

Here are the links to what I have used in this video:
ST AN2606: STM32 microcontroller system memory boot mode

L647 Nucleo user manual with schismatic ( p. 63 )

L647 Nucleo connector pinout:

UART software:

Рекомендации по теме
Комментарии
Автор

2:50 You explained the boot branching wrong? The node states if boot0 = 0. And you say that if boot0 = high it takes the yes branch. No, it takes the no branch because the check is if boot0 = 0 then take yes.

pete-pt
Автор

Great and simply understandable explanation, thank you!

MrElEfkay
Автор

Thanks a lot man, you have cleared a lot of confusion about embedded and stm32 I had before. Loved the video and subscribed.

BatsAwesomeIn
Автор

THANK YOU FOR EXPLAINING SO CLEARLY, I WILL TRY IT AND POST YOU SOME MORE COMMENTS OR DOUBTS

RAJ
Автор

Thank you for this. It has been very helpful to me.

phillipnewman
Автор

What if the flash loader ask for verify boot mode configuration and flash protection status?

yeohjunyu
Автор

WOW thank you so much please do topics on this subject, been looking STM32 dual bank firmware upgrade techniques, looking for a video on the subject.. please do more :)

yaghiyahbrenner
Автор

Is it possible to do that over half duplex rs485 line?
Thanks for your answer...

alonelover
Автор

The Stm32h74x app note says that by default BOOT0=gnd will force a boot from user flash and BOOT0=3.3v to boot from System Flash But is the System Flash the same as ROM? I'd like to use the built-in (ROM) bootloader to program via CAN and/or USART.

Also, any idea if there any CAN utility (similar to serial Flasher-STM32) that can be used for in-system-programming?

bennguyen
Автор

is there any code using uart to debugging in stm32 please let me know if any

phaneendragunnamreddy
Автор

I am using stm32 lora discovery kit and i am trying to enter the bootloader mode by following ur steps but it still the flasher gives me boot mode configuration error... I am using FTDI module which is connected as : Ftdi rx to pin PA9, ftdi tx to PA10, BOOT0 to 3.3V and normal power of 5V and ground.. but still i am getting bootmode config error in the flash and cube programmer.. both of the loader is giving me same error... can u help me out with it please ?
thank you

ujjainwalataher
Автор

Can you show same thing using Linux as host?

Mnj
Автор

I bought 8 STM32 cards BluePill.

I can not program them with the FTDI module.

The problem is on Jumper BOOT 0.

When I put the Jumper BOOT 0 from 0 to 1 and press the reset button the program continues to work!

the LED connected to pin PC13 always flashes even if BOOT 0 is set to 1.

I tried to program the card with the ST LINK module and it works for me.

I had to add the RST thread because BOOT 0 is not going.

I noticed that programming the card with this method presents many problems on the Arduino IDE environment.

So it is possible to operate the BOOT 0?

I realized that it is not a hardware setting but a software one.

Does anyone know how to fix it?

I really need it :(

ghifordmizzard
Автор

Can you remove read protection over UART in bootloader (it will erase flash, i know)

Mitt