pbatard / libwdi

Windows Driver Installer library for USB devices
GNU General Public License v3.0
1.84k stars 459 forks source link

STM32F3 In DFU mode with read protection #62

Closed fedorcomander closed 8 years ago

fedorcomander commented 8 years ago

When STM32F3 has read protection enabled, it fails to register in DFU mode.

img_13072016_170416

Left windows - device with read protection enabled, Right window - device without read protection.

fedorcomander commented 8 years ago

I am trying to flash KISSFC STM32 based board using DFU from Chrome app using chrome USB api... The driver fails to register device, when STM32 chip is in read protect mode. If i remove read protect, using DFuseDemo and StmTube drivers, i se that device driver is properly initialized.

Any ideas what can be done for read protected device?

pbatard commented 8 years ago

Sorry, but this rather looks like a device specific issue rather than a libwdi one.

Also, when you say "it fails to register", what do you mean exactly? Do you mean that the driver installation using libwdi/Zadig fails? If so, what is the content of your C:\Windows\inf\setupapi.dev.log after the driver installation against the DFU device? If not, how is that related to libwdi (i.e. in which place are you actually using libwdi)?

pbatard commented 8 years ago

No user input → Closing.