Skip to main content
Prasad Dait
Associate II
March 10, 2018
Solved

some flash pages are write protected

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.
Prasad Dait
Prasad DaitBest answer
Associate 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

6 replies

Tesla DeLorean
Guru
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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Prasad Dait
Prasad DaitAuthorBest answer
Associate 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

maor
Associate II
July 28, 2018

share your solution please

RDean
Visitor II
November 14, 2018

Goto:

Target, Option Bytes, Unselect All, Apply.

Mooch
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!

Since '75, I been codin', stayin' proud.I started on punch cards, now I'm takin' it to the cloud.
fMoha.1
Associate III
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