Skip to main content
VKUMA.12
Associate III
October 30, 2020
Solved

STM32F407VGT The microcontroller is somehow goes under write protection mode while practicing firmware upgrade program.

  • October 30, 2020
  • 4 replies
  • 1046 views

STM32F407VGT

The microcontroller is somehow goes under write protection mode while practicing firmware upgrade program.

Is there any method to unlock write protection ?

Cant able to program though keil. But ST LINK UTILITY software is able to reprogram the microcontroller but not able to erase memory.

Iam using STM32F407VGT discovery board.

Please help!!!!!

This topic has been closed for replies.
Best answer by Tesla DeLorean

ST-LINK Utilites or STM32 Cube Programmer should allow program these as Options

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 30, 2020

ST-LINK Utilites or STM32 Cube Programmer should allow program these as Options

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
VKUMA.12
VKUMA.12Author
Associate III
October 30, 2020

Thanks for the reply!!!!!!!!!!!

Is there any method to remove write protection ?

TDK
October 30, 2020

> Is there any method to remove write protection ?

As clive1 said, both ST-Link Utility and STM32CubeProgrammer can remove write protection, which is specified in the option bytes.

> But ST LINK UTILITY software is able to reprogram the microcontroller but not able to erase memory.

Not sure how it can reprogram but not erase memory. Screenshots of the problem may help explain.

"If you feel a post has answered your question, please click ""Accept as Solution""."
VKUMA.12
VKUMA.12Author
Associate III
October 31, 2020

Thanks for reply issue resolved!!!!!!!!!!!!

Today i just unselect all memory in option bytes with level 0 security has unlocked the write protection of microcontroller now i can program it through keil.