cancel
Showing results for 
Search instead for 
Did you mean: 

some flash pages are write protected

Prasad Dait
Associate II
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
1 ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

6 REPLIES 6
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
Up vote any posts that you find helpful, it shows what's working..
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 III

share your solution please

RDean
Associate

Goto:

Target, Option Bytes, Unselect All, Apply.

Mooch
Associate II

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 II

hi

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