Skip to main content
Visitor II
June 17, 2021
Question

loading fw to stm32l412 using st-link (MB1440B) through I2C (internal bootloader) not working.

  • June 17, 2021
  • 1 reply
  • 801 views

I am trying to load fw to stm32l412 using st-link (MB1440B) through I2C, but it keeps giving me " Error: ST-LINK error (BRG_I2C_ERR)" .

I am sure that the MCU bootloader is active because the MCU sends back ACK.(i used another MCU to check i2c).

According to AN2606 section 55.1 i2c slave address is "Slave 7-bit address: 0b1001000x".

I checked with otoscope if st-links sends data. and yes it sends data.

can you help me with this issue, please?

    This topic has been closed for replies.

    1 reply

    Visitor II
    June 18, 2021

    Apparently, I had to add rise and fall time to make it work

    0693W00000BbKexQAF.jpg