I am trying to flash a STM32F303CCT6, and any time I try to set the Option Bytes to Level 1 protection it locks the board and breaks the connection. The only thing that is able to both see, and wipe the board is an android app.
The board has WinUSB on it and I used Zadig to update that from v1.1 to v1.6.
I have also tried not updating the driver and not flashing it, only changing the Option Bytes through Cube Programmer, it still breaks the connection and locks the device.
Some other trouble shooting things I tried:
- unchanged - WinUSB v1.1 (cube programmer cannot connect)
- install WinUSB v1.6 (cube programmer can now connect)
- install libusbk on board (cannot install consistently)
- dfu-util (cmd-line tool, same issues: flash successful, option bytes fail)
- Cube programmer GUI and CLI
- Cube programmer change Option Bytes, but not flash (breaks)
- Cube programmer flash, but leave Option Bytes unchanged (works! but has no read protection :\ )
Questions:
- Is WinUSB the default usb driver? (i inherited this project, and not sure what was originally on here)
- Tried using other STM tools like DFUSE Demo, but it cannot see the device, same with Demonstrator GUI, am I missing a driver to see the MCU with these tools?
Any kind of assistance with this would be greatly appreciated. :smiling_face_with_smiling_eyes: