Unable to erase STM32H743 device. How to recover the device?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-24 4:39 AM
I have flashed the SBSFU application with write protection enabled for flash address 0x08000000.
After that, I am unable to erase using jlink commander.exe as well as by IAR->project->Download->erase.
STM32H743 has SWD interface and i am using jlink debugger for connection.
I am able to connect jlink debugger. But i could not erase it.
Please suggest me how to erase the flash of STM32H743II.
- Labels:
-
STM32H7 Series
-
X-Cube-SBSFU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-24 6:33 AM
Hello @mr.1​,
Have you tried using STM32CubeProgrammer to erase the flash?
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-03-25 7:01 PM
Hi Belaid,
I am unable to connect with cube programmer through jlink debugger. It is custom board doesn't have onboard ST debugger. Any other way to erase the flash through jlink debugger?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-25 8:28 PM
@mr.1​ J-Flash package (available from Segger) has a special utility, JLinkSTM32.exe
<quote> This program is designed to reset the option bytes of a STM32 device to their factory settings. If read protection of the device is enabled, reset the option bytes will cause a mass erase.</quote>
Try it. You can also ask in the Segger J-Link or J-Flash forum for more info on its use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-26 11:44 AM
I tired with STM32 unlock command line tool. But it is failed to make in default factory setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-26 12:24 PM
There are stand-alone ST-LINK pods
Segger has some tools with the J-Link that do similar things, you'll need to review their documentation.
Up vote any posts that you find helpful, it shows what's working..
