2020-10-02 07:27 AM
Hello,
I have an old project which is on an older version of STCubeMX firmware, and once I migrate it to the new firmware, it stops communicating with the I2C correctly. Is there a reason for this? And how can I possibly fix this?
I'm using the STM32L4RET chip and I've attached the pop up message that comes up to me when I migrate.
2020-10-02 07:32 AM
It's most likely a bug with CubeMX or the code generation process. I would diff the main.c file before/after the migration, and if that doesn't lead to relevant differences, other files.
2020-10-02 07:42 AM
I'm doing that right now, but it's a bit long and tedious. Is there no other way because I'm facing a deadline.
Thanks!
2020-10-02 08:08 AM
2020-10-02 03:00 PM
Maybe that's the price of updating the build tool during the development of the project, I already noticed this type of problem with Ethernet and USB Host.