I updated the Toradex libs from V2.0 to V2.1 (toradexcelibraries_2.1-20180112)
and now one of our drivers fails with Data Abort in Imx6Adc_Init(L"ADC1")
The Details are:
115104 PID:400002 TID:41d007e Exception 'Data Abort' (0x4): Thread-Id=041d007e(pth=af8bd5ac), Proc-Id=00400002(pprc=8480fad0) 'NK.EXE', VM-active=0418007e(pprc=af889224) 'ServiceSW.exe' 115105 PID:400002 TID:41d007e PC=ee1b4d14(adcdriver.dll+0x00004d14) RA=ee1b4cbc(adcdriver.dll+0x00004cbc) SP=c1b9f954, BVA=00000000
This leads to: 0001:00003b88 Stmpe811_Init
When I make the same function calls in test program linked to the same adcLib.lib from toradexcelibraries_2.1 it works fine. ( At least the debug version, the release version has some conflicts.)
Is there a certain order, how I must open the libraries? We use also the I2C and most other drivers.