I am using stm32f072 discovery board and I am trying to do DFU using usb. I am successfully able to boot the code using BOOT0 pin, but I want to use IAP using button as code given in example as DFU-standalone.I have attached the error image. I am using dfuse to upload the code.
so can you tell me how to clear protection or mass erase in dfuse demo app because I don't know whether device is protected or not? How can i check the protection?