STM32CubeProgrammer UART bootloader write error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-20 7:42 PM
Recently I used Stm32cubeprogrammer to write programs via UART. I can connect to the MCU, I can also read the data, but the download fails.
Have you encountered similar problems?
- Labels:
-
Bootloader
-
STM32CubeProgrammer
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-21 8:07 AM
Hi @Community member,
the SWP connection works?
Have you tried reading the OB to see if there is something preventing erase or write in the flash?
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-21 8:14 AM
sorry I meant SWD
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-21 4:10 PM
I can read and write using the SWD interface, but not with UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-12-21 6:02 PM
I can read and write using the SWD interface, but not with UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-02 2:34 AM
Hello @Community member,
Sorry for the late comment,
Could you share a screenshot of STM32CubeProgrammer GUI when connected via ST-LINK (To know the bootloader version and the rev ID) ? Could you also specify the full name of the device you're using ?
A verbose 3 log could be useful as well.
Thanks,
Aziz
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-03 10:39 PM
The chip model I use is STM32G031G8U6.
id1989@qq.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-03 11:39 PM
Hello @Community member,
There are some limitations in the earlier versions of the bootloader, especially on packages with less than 32 pins (you can check AN2606 page 225 for further details). If you have bootloader V5.2, I suggest keeping PA3 at high level and doing the test with UART1 (PA9, PA10).
Also I suggest commenting here to improve the chance of response.
Thanks for understanding,
Aziz
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
