Our device was built on Colibry PXA320 module with WinCE 5.0, image 3.8. Customers reported a (rare) problem of flashdisk corruption during poweroff. So we decided to upgrade to newer OS images. After sorting out some small incompatiblities of our software with WinCE 6.0 we stuck with malfunction of I2C bus.
Experiments showed that even examples from Toradex CE Libraries pack do not work properly with Win CE images 4.0 and newer. I have downloaded the last “old API” library set
ToradexCeLibraries_2.0b4147-20171026 and played with I2cLibDemo. With images 3.8 and 3.9 it succefully reads registers of our custom RTC chip. (It is M41T0-mimicing so
RTCsync.exe of image 3.8 works properly). But with 4.0+ images the same program fails to read or write anything from 0x68 address. Disabling the built-in
Launch48 key and hard rebooting doesn’t help at all.
Did we miss something important in upgrading process?