I have an issue with retrieving the Product ID for my iMX6.
I need it to differentiate between modules at runtime.
But the issue is that the value sometimes changes after time.
First it was 0009 then 0000 and now 0026.
I tried to retrieve it using 2 different ways:
DWORD pid8; DWORD ret = Sys_GetConfigInt(mSysInfoHandle, L"PID8", &pid8);
Result is: 0x000f1000
TCHAR serial16; ret = Sys_GetConfigString(mSysInfoHandle, L"PID8Serial8", serial16, sizeof(serial16));
Result is: 00260068000506132
Any idea how this can be?
Also the SPI seems to struggle since this issue surfaced.