Skip to main content
ABans.3
Associate II
April 27, 2023
Question

Flashing Nucleo-L073rz using the system bootloader.

  • April 27, 2023
  • 6 replies
  • 1932 views

Hello,

I have the project in which I need the flash the stm32L0 with uart using the system bootloader. I have settted required option bytes. I make the boot 0 pin high and the sytem is getting into the bootloader mode. I attach the usb to uart converter and provided the external 5v supply. The problem is I am only getting able to connect to the bootloader with the uart1 ( pin A9 and A10), at 9600 baud rate. I cannot goes higher that. Also the other UART2(pin A2 and A3), are not being detected at any baud rate.

I am testing all this on Nucleo -L073Rz board.

This topic has been closed for replies.

6 replies

Senior III
April 27, 2023

Take photo of your UART to USB and your board connection ​

Dudo
Senior III
April 28, 2023

Hi, Algorithm of bootloader connection listens for signals. When you are trying to connect using 9600 then the board calibrate yourself and customize yours settings to 9600. If you disconnect, change baudrate and reconnect you get error because the board expect 9600. First you must reset board (using reset button for example) then change baudrate. The same with UART port. first reset then try connect with new settings.

Dudo
Senior III
April 28, 2023
Dudo
Senior III
May 3, 2023

Did you resolve the issue?

@ABans.3​ ​

Dudo
ABans.3
ABans.3Author
Associate II
May 4, 2023

@Kamil Duljas​ Thanks for your support. I appreciate that!

I use esp32 instead for the regular ftdi, it works for 115200 baud rate.

for Uart2 I need to verify it. I was busy in developing my app.

Thanks again for supporting me.

Senior III
May 4, 2023

Nice :) please marks some post as best answer due to close issue

Dudo