cancel
Showing results for 
Search instead for 
Did you mean: 

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

VKUMA.12
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
VKUMA.12
Associate II

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

Is there any method to remove write protection ?

TDK
Guru

> 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
Associate II

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.