2024-05-13 06:54 AM
Hello,
I am trying to flash the MCU with USART bootloader
I am using the command codes from below link, but are not working for me
Can someone help me validate of the command codes are correct for STM32G4
Current setup:
I have connected the STM32 USART4 to my R PI device. It gets enumerated as /dev/ttyUSB0
Below is the serial code using python
TIA
2024-05-13 07:56 AM
Going to be as described in AN2606 for the pins and AN3155 for the UART
Pretty sure UART4 has NO involvement, read and understand expectation from AN2606..
2024-05-13 09:30 AM - edited 2024-05-13 09:31 AM
Nice catch @Tesla
Even you didn't mention the exact G4 part number but UART4 is not used for G4 bootloader.
You can refer to the AN2606 tables Table 99 / Table 101 / Table 103: Only USART1, 2 and 3 are used for bootloader.