Cannot flash firmware through UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-15 11:53 PM
Finally after a long struggle, I was able to get into the system memory by changing to CP2102 ttl wire. Now I have another problem. Any solution to fix this?
The PCROP_PDP bit is unchecked also.
Solved! Go to Solution.
- Labels:
-
STM32L4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:12 AM
Hello,
The tool you are using is very old and obsolete. Please use STM32CubeProgrammer instead.
Refer also to this article on how to use the tool in bootloader mode with an example:
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:12 AM
Hello,
The tool you are using is very old and obsolete. Please use STM32CubeProgrammer instead.
Refer also to this article on how to use the tool in bootloader mode with an example:
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:35 AM
I have been using the STM32 CubeProgrammer also and it's able to work there. Except when I change Option Bytes via UART it hangs but that isn't a problem.
I got another question. Is it possible to power the board via the VIN pins rather than the microUSB?
I have to connect the microUSB always and later connect to the bootloader via UART. Else, if I just connect via UART it doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:41 AM
Hello,
As you are talking about VIN pin I suppose you are using an ST board. Yes you can but you need to refer to the User Manual of the board and check the power supply section and check the usage restrictions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:45 AM
I am using the STM32-L432KC board. It has the ST-LINK on board.
So are you telling me that I can power the board using the VIN pin and I don't need to connect the microUSB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:54 AM
Yes you can power supply the board through VIN pin but you need to check the user manual of the board for restrictions:
Especially the section 6.4 Power supply and power selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 2:57 AM
Thanks, will try and let you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 8:39 AM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
