I2C seems blocked when restarting Debug session
Hi,
I have some troubles with my Nucleo STM32F446RE communicating with my MPU6050 IMU over I2C. When powering everything the first time and debug it, it works fine. However, when restarting with exactly the same code, the board fails to start the I2C clock returning HAL_I2C_ERROR_ARLO error code, then I have to shut everything down and hope next session will work (pretty annoying).
When I power up and program start autonomously without debug session, I2C works well. So it seems that the debug session is actually the problem.
I'm using Visual GDB as cross compiler, but had the same error with STM32 IDE.
Thx for any help.
