cancel
Showing results for 
Search instead for 
Did you mean: 

we are using stm32G030, we need to update firmware using I2C, we are using st-link v3 and we connected (SCL,SDA,GND), opened cube programmer to update firmware we selected I2C and and given i2c address as 0x53 but we are getting I2C_BRG_ERR,pls solve this

pGami.1
Associate
2 REPLIES 2
Peter BENSCH
ST Employee

Welcome, @pGami.1​, to the community!

The I2C address for accessing the bootloader is listed in AN2606 and does not have the value 0x53, but 0b1010110x, i.e. 0xAC (write) and 0xAD (read).

Please do not forget to activate the bootloader according to pattern 11 (AN2606, page 28).

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
pGami.1
Associate

Hi Peter,

we have tried with 0xAD/0xAC but still we are getting same error as I2C_BRG_ERR, is any bridge driver required to program with st-link V3 we are working on windows machine.0693W00000Kc64tQAB.png0693W00000Kc64PQAR.pngRegards,

Pradeep Gamidi.