AnsweredAssumed Answered

STM32F415 read unprotect

Question asked by kulica on Oct 2, 2014
Hi there,

I have a problem that I can't figure it out. I am coding an application that manages empty device through STM32 ROM BOOTLOADER. The problem is that when I send command for read unprotect, and check for it's status, the first one is busy (according to the datasheet), but any other statuses report windows core USB stack error ERROR_GEN_FAILURE aka A device attached to the system is not functioning. After that the device remains in a busy state (not being able to retrieve device descriptors) and you are not able to connect with it unless you perform power cycle. How to solve this problem in order not to do a power cycle the device and to know when the mass erase is done?

Regards,

Outcomes