external flash memory lockup(0x90000000). How do I unlock external flash on my stm32h735G-DK protoboard? I tried to modify an example program to put data on the external flash and I have locked it up. It now prevents me from downloading a program to debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 2:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 2:31 PM
Ok, need to change the topic into the STM32 MCU forum, and separate the Summary/Title from the body of the question.
>>I tried to modify an example program to put data on the external flash and I have locked it up.
What does that mean? What exactly did you do to it? It's going to be hard to know how to back-out what you did without knowing specifically what you did.
A Security Setting or Mode?
Repetitively over-wrote?
Can you connect with STM32 Cube Programmer, the stand-alone GUI?
Can you Mass-Erase the External Memory?
Has a Macronix MX25LM51245GXDI00, right?
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
‎2022-06-29 2:43 PM
Yes I can erase each block except the block that I was programming in. It is the first block on the 0x90000000 external flash. I cannot seem to erase it with the stm32cubeprogrammer. I get and error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 2:44 PM
This is a screen shot when I tried to erase the flash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 3:03 PM
Ok, that says the core (CM7 presumably) has locked up.
So flip the BOOT0 SW1 to the HIGH position.
Remove all power connectivity to the board.
Then reconnect and try and erase the User Program in the Main/Primary Flash
Repeat, power cycle a second time in necessary.
Once your code is removed, then try doing a Mass Erase or Read on the External Flash
Up vote any posts that you find helpful, it shows what's working..
