2025-05-19 5:23 AM
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.
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
2025-05-19 8:20 AM
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
2025-05-19 8:50 AM
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