AnsweredAssumed Answered

disable read/write protection on STM32L451xx

Question asked by fwajie jspa on Aug 18, 2017

Hi,

 

I've got problem with migrating from stm32l476xx to stm32l451, when using l476, writing to internal flash was never been a problem. But in L451, I've failed everytime I write to the internal flash.

 

I've notice difference when using STlink utility, in l451 it ask us whether to disable read protection everytime I want to write internal flash, where in l476, it just write without any confirmation.

 

How do we do this disable protection programatically? and why it is need to be disabled everytime , if I read at the docs, it said the default condition is always disable?

Outcomes