Skip to main content
MKenn.1
Associate II
April 15, 2021
Question

Why does my STM32F427VG not allow erasing the top half of flash?

  • April 15, 2021
  • 2 replies
  • 776 views

STM32F427VGT6. Should be 1MB flash, right?

Then what's up with this?

  • Mass erase: works, erases sectors 0-11
  • Write: works, can write to full 1MB
  • Single sector erase: doesn't work, either stlink or from firmware running on the device (see attached screenshot of STM32CubeProgrammer).

What's going on with this MCU? Other identical MCUs on identical boards work just fine.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
April 15, 2021

The FLASH size tested is burned into OTP at the factory at test time.

Mouser's decoder wheel says 1MB

STM32F427VGT6TR

I think the VI part has 2MB

STM32F427VIT6TR

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MKenn.1
MKenn.1Author
Associate II
April 15, 2021

Yes, I'm aware it should have 1MB of flash. I'm failing to erase the upper 512K of that 1MB.