Command sequence for USART bootloader on stm32G4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 6: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
Solved! Go to Solution.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 9:30 AM - edited ‎2024-05-13 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 7: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..
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 9:30 AM - edited ‎2024-05-13 9: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.
