Skip to main content
pGami.1
Associate
March 10, 2022
Question

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

  • March 10, 2022
  • 2 replies
  • 1119 views

..

This topic has been closed for replies.

2 replies

Peter BENSCH
Technical Moderator
March 10, 2022

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

pGami.1
pGami.1Author
Associate
March 10, 2022

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.