Stm32F030C8 Failed to Erase Memory Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-27 11:16 PM
Hi, I hope Everything is fine. I have a board that uses stm32f030 as the processor. When I open an empty project on stm32, debug or run it, I get the "failed to erase memory" error. I deleted the obtion byte from cubeprogrammer and changed the st link. It gives the same error again. What could be another reason?
- Labels:
-
STM32F0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-28 5:57 AM
> What could be another reason?
Likely bad hardware, either the board or the programmer. Is this a genuine chip? Is this a genuine programmer? Can STM32CubeProgrammer program and erase the flash successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-28 6:08 AM
programmer and pcb are new. There is no such thing as being old. However, I can't delete it successfully from cubeprogrammer. Sometimes I delete it, sometimes it doesn't work. I also changed related cables. also, I am using 1 uart and 1 spi channel. is it suitable to swap with stm32F072C8T6 ? When I look at the pins there is not much difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-28 12:32 PM
> programmer and pcb are new. There is no such thing as being old.
How is this relevant? Perhaps there is a language translation issue with new/genuine happening, so I will rephrase my questions:
Is the STM32 sourced from a reputable vendor? If not, it could be damaged.
Is the programmer an official programmer such as ST-LINK/V2 or is it a knock-off programmer? Knock off programmers can cause bad behavior.
General power issues or bad manufacturing could also be at fault, such as cold solder joints or an improperly designed board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-28 9:29 PM
Programmer and STM32 are sourced from reputable vendor. I also checked the power and there is no problem.
