cancel
Showing results for 
Search instead for 
Did you mean: 

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

ali elhayek
Associate II

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?

1 REPLY 1
ali elhayek
Associate II

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

0693W00000BbKexQAF.jpg