Skip to main content
Visitor II
August 2, 2024
Solved

Unable to read and write STM32F411CEU6 blackpill board flash memory

  • August 2, 2024
  • 4 replies
  • 1498 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

    Graduate II
    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
    Visitor 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?

    Graduate 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ƎALLEmAnswer
    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.