loading fw to stm32l412 using st-link (MB1440B) through I2C (internal bootloader) not working.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-17 3:36 AM
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?
Labels:
- Labels:
-
Bootloader
-
I2C
-
STM32L4 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-17 11:50 PM
Apparently, I had to add rise and fall time to make it work
