I want to connect the STM32F446RE (in the bootloader mode) via USART with my PC to flash some hexfiles on it. Between the USB port & the STM (USART1) I got an USB to USART bridge (CP2102). I used the STM32CubeProgrammer to connect the STM32F446RE with the host.
Everything works really well, but only one thing is a bit tricky.
My problem is, that the connection is not directly established. I need about 2 or 3 trys before I can connect with the STM. After that it works without any further problems.
So my Question is how long does the STM wait for a signal on his RX line. I found no documentation whatsoever.The AN2606 and AN3155 from ST helped me with other problems but there is no time specified.
So if anyone could help me...
This is the errorlog: 12:01:53 : Response received from device: NACK 12:01:53 : Error: GETID command not acknowledged! 12:01:53 : Reemission of GetID command 12:01:53 : Response received from device: NACK 12:01:53 : Error: GETID command not acknowledged! When I try to connect again it works perfectly. No errors.
USART Connection: Baudrate 57600 Parity: even Data bits: 8 Stop bits:1