Skip to main content
Associate II
August 2, 2024
Solved

Unable to read and write STM32F411CEU6 blackpill board flash memory

  • August 2, 2024
  • 4 replies
  • 1499 views

Respected sir/madam,

We are using STM32F411CEU6 blackpill board. When we try to put our code into the flash, it says it the memory is protected. Can you suggest possible solution to solve the issue?

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

ST resources are dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes work properly with the firmware we provide.

Thank you for your understanding.

4 replies

Muhammed Güler
Senior III
August 2, 2024

Have you tried connecting to your board using STM32CubeProgrammer?
You can disable write protection by reprogramming the option bytes with STM32CubeProgrammer.

AkshayMRAuthor
Associate II
August 3, 2024

We used STM32CubeProgrammer and tried to disable write protection by providing "AA" in optional bytes. But, "AA" is not taken and it shows only "FF" in optional bytes. How to overcome this issue?

Andrew Neil
Super User
August 2, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
warningyukihyo
Associate II
August 3, 2024
  • Make sure that the firmware on ST-Link is up to date. (CubeProgrammer, too)
  • Enter bootloader mode with the BOOT0 button and try the operation.
  • Try changing the RDP flags after launch ERASE ALL in CubeProgrammer.

 

 

mƎALLEm
mƎALLEmBest answer
Technical Moderator
April 14, 2025

Hello,

ST resources are dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes work properly with the firmware we provide.

Thank you for your understanding.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.