Question
STM32F4 chip erase through DFU
Posted on February 20, 2014 at 12:26
Hi,
I have a board based on the STM32F429ZIT6, same as on the STM32F429I-Discovery. The board is wired so that the MCU can be reprogrammed via USB DFU. There is no ST-Link since this is a custom prototype board.While playing with the ''DfuSe Demonstration'' tool, aka. ''DfuSe Demo (v3.0.3)'', I accidently programmed the option byte containing the SPRMOD bit to 0xFF, enabling by mistake the ''Proprietary code readout protection (PCROP)'' feature of the MCU.If I understand correctly, the only way to disable PCROP is to perform a full chip erase. I found how to do that on a discovery board using the ST-Link utility, but I cannot use that tool with my custom board. And I can't find how to do that with the DfuSe Demo tool. Can anyone point me in the right direction?Regards,Doub. #stm32f4-chip-erase-dfu