Skip to main content
Visitor II
March 10, 2018
Solved

some flash pages are write protected

  • March 10, 2018
  • 5 replies
  • 6901 views
Posted on March 10, 2018 at 12:57

I am trying to program my STM32F103C8T6 from ST link utility but it is showing 'Some Flash Pages are write protected'error while performing full chip erase. I have tried direct programming option in st link utility but it is not programming at all.

https://community.st.com/tags♯/?tags=stlink%20v2

 

https://community.st.com/tags♯/?tags=stm32f103c8

#stlink-v2 #stm32f103c8
    This topic has been closed for replies.
    Best answer by Prasad Dait
    Posted on March 11, 2018 at 11:22

    I have solved this problem using st link utility and removed protection of flash caused by unknown error.

    Thank you

    5 replies

    Graduate II
    March 10, 2018
    Posted on March 10, 2018 at 19:06

    Are these standard boards, and official ST-LINK? or cheap/boot-leg

    Flashing issues like this tend to be issues with communications (connectivity of SWDIO/SWCLK, etc, or USB to the Pod), or at the chip level with power supply issues. The charge pump pulls more current than normal operation, make sure your supply isn't browning out, or signals on NRST either from internal or external POR circuits. The STM32 drives reset by thresholding VDDA.

    Prasad DaitAuthorAnswer
    Visitor II
    March 11, 2018
    Posted on March 11, 2018 at 11:22

    I have solved this problem using st link utility and removed protection of flash caused by unknown error.

    Thank you

    Visitor II
    July 28, 2018

    share your solution please

    Visitor II
    November 14, 2018

    Goto:

    Target, Option Bytes, Unselect All, Apply.

    Visitor II
    May 14, 2021

    Prasad Dait's and RDean's answer just made me look like a hero.

    Removed the write protect bits allowed me to program an unresponsive micro. Good call.

    THANKS!

    Visitor II
    February 28, 2022

    hi

    that is not working for me "11:38:55 : Some flash pages are read protected!" its a dual core M4 and M7