cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G071CBU6 DFU and UART Bricking issue

mistrz_zen
Visitor

Just startet my small modbus therrmocouple project and im facing the issue with STM32G071CBU6.

       First of all im not abble to connect via DFU usb, device isnt recognize i try reinstal stmCubeProgrammer, didnt change anything. Then try install drivers too device manualy, windows claims that best drivers are installed.

       Second, im abble to connect via UART and put bin inside but the problem is im abble to do it only once (tried 2 IC's), after that programms run OK but device isn't visible via UART anymore. What's weird is that chip doesn't react to BOOT0 (PA14) state change's. Low is boot from flash, high from bootloader. No matter if its high or low, or even floating programm is running. The only way to erase chip is connecting via STLink, than UART works again untill next bin being write. Anybody face simmiliar issue?

Schematic in attached.

stm32 dfu issue.png

2 REPLIES 2
gbm
Lead III

Start by removing R13 - it should not be there. Reduce the 100k resistor on Boot0 to no more than 10k - the internal pullup is ca. 50k, so 100k to GND does not set logic low. There are few other problems with the schematic, but this one looks quite serious.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice


So i do the changes you mention but unfortunately that didnt change anything. Only difference now is no reaction to usb becouse of lack R13.