Solved
Disabling flash sectors protection through dfu
Posted on May 18, 2017 at 11:33
Note that the sectors were Read/Write Protected.
Hi,
Is there a way to disable the ''Flash sectors protection'' through USB (DfuSeDemo/dfu-util/...)?
It can be done using the STM32 ST-LINK Utility,
by going to Target > Option Bytes, and unselecting all the sectors under ''Flash sectors protection''and pressing Apply.
Note that the sectors were Read/Write Protected.As described in the last post on this topic:
I would have to put the chip protection level to 1 and switch it back to 0 while changing the PCROP bit.How would i go about doing this through the dfu-protocol or is this not possible.Regards,Michiel