With prebuild image imx6_wince7bsp_1.6-20191223 ADC works great.
When I build image using imx6_wince7workspace_1.6-20191223 and imx6_wince7bsp_1.6-20191223
ADC fails to open.
I am using TdxAllLibraries (toradexcelibraries_2.3-20181011), Both release and debug version fails.
I tried ADC_demo (vcsharp_adc_demo_v1.0), it also fails, .
RTC reported oscillator failure
15:52:07.148>
Invalid time on External RTC, please set a valid time
If it works after disabling RTCSync then there is a problem in the RTCSync tool configuration.
Could you write more detailed about how you are planned to use RTC? We have documented RTC feature available from the SOM and software usage here : https://developer.toradex.com/knowledge-base/rtc
The problem was with TdxAllLibrariesDll.dll from Toradexcelibraries_2.1.
The one from Toradexcelibraries_2.3 works.
That is also the reason why ADC worked with prebuild image - I added the dll (2.3) in windows folder.
With custom image, the dll (2.1) was already included. I did try to replace it with newer version, but that can not be done, even tho the windows prompts you to confirm the replacement.