cancel
Showing results for 
Search instead for 
Did you mean: 

Programming NucleoG474RE via bootloader

EliazLB
Associate II

Hello,

I am currently trying to program a nucleo board using USART. For this I am using the bootloader and Cube Programmer. 

I first developed a program and tester it by programming via st link. My program worked with no problem. I then tried to program using UART. 

I was able to connect but as soon as I started programming, I get the message Error :GETID command not acknowledged and then the nucleoboard is disconnected.

EliazLB_0-1747657347296.png

Here are my settings and the boot0 pin is tied to 3.3V.

When I program I can see on the oscilloscope that some part of the program is on and working but not fully as well.

Any idea ?

 

Thanks very much

 

2 REPLIES 2

Try a lower baud rate.

You get one shot per reset to communicate with the device and have it auto-baud the 0x7F data pattern.

Perhaps use something like Real Term to send/show HEX BYTES, and send the pattern manually, and check for 0x79 response code.

Disturbances to other pins noted in AN2606 may also be recognized as first-contact, so check the pins/uart you are involving in your test/evaluation

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

Double-check the UART wiring between the Nucleo and the USB-to-Serial converter or the host:

  • TX from USB-Serial → RX of STM32

  • RX from USB-Serial → TX of STM32

  • GND connected between both boards