melexis / mlx90640-library

MLX90640 library functions
Apache License 2.0
241 stars 192 forks source link

eeprom validation #109

Closed AsdyCorp closed 1 year ago

AsdyCorp commented 1 year ago

I'm working with mlx90640 for about week and I'm getting image but it's too noisy and I always get Parameter extraction failed. I think my eeprom corrupted after all these days. Based on https://github.com/melexis/mlx90640-library/issues/107#issuecomment-1623728833 I assume malexis have database of eeprom factory dumps ( or it's possible to recalculate them based on other eeprom data). Is it possible to somehow get factory dump for my device or get access to archive of all dumps? My current dump: Serial number: 13049C4718B 0x00b4 ,0x899f ,0x0000 ,0x2061 ,0x0005 ,0x0320 ,0x03e0 ,0x1304 ,0x9c47 ,0x018b ,0x0499 ,0x0000 ,0xffff ,0x0000 ,0x0000 ,0xbe33 ,0x4320 ,0xffc0 ,0x0101 ,0x0101 ,0x0101 ,0xf101 ,0xe0f1 ,0xc0e0 ,0x0112 ,0x0112 ,0xf102 ,0xf102 ,0xf103 ,0xe0f2 ,0xd0e2 ,0xb0e1 ,0x8895 ,0x38de ,0xffff ,0x110f ,0x3322 ,0x2233 ,0x0011 ,0xccee ,0xdcbb ,0x0ffe ,0x2111 ,0x2232 ,0x2233 ,0x1122 ,0xf011 ,0xddef ,0x169e ,0x2fb0 ,0x2155 ,0xa27b ,0x6555 ,0xf184 ,0x6261 ,0x5e5d ,0x2463 ,0xffff ,0x0000 ,0x0000 ,0xf600 ,0xc5cc ,0x97b1 ,0x2669 ,0x0fbe ,0x0bfe ,0x1c2e ,0x077e ,0x13de ,0x074e ,0x23fe ,0xff3e ,0x0f9e ,0x0800 ,0x1c5e ,0x077e ,0x083e ,0x07ae ,0xffff ,0xfc7e ,0x03a0 ,0xffb0 ,0x144e ,0xf41e ,0x0430 ,0x07e0 ,0x1860 ,0xf470 ,0x0002 ,0x07c0 ,0x1750 ,0xfc10 ,0xfb90 ,0xf412 ,0x0fd0 ,0xfb70 ,0x1002 ,0x085e ,0x008c ,0x1fce ,0x1430 ,0xffff ,0x045c ,0x1b80 ,0x1000 ,0x0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0x0062 ,0xec90 ,0xdc20 ,0xfc10 ,0xeba0 ,0xec60 ,0xdf60 ,0xf800 ,0xe750 ,0xfb30 ,0xeff2 ,0xf450 ,0xe7f0 ,0x1320 ,0x0002 ,0xfb70 ,0xec0e ,0x1330 ,0x07d2 ,0xffff ,0xf05e ,0x13c0 ,0x0c72 ,0x0f20 ,0xf09e ,0x1492 ,0x0412 ,0x0800 ,0xf49e ,0x1872 ,0x10a2 ,0x1480 ,0x0480 ,0x2082 ,0x0832 ,0x1400 ,0xfbbe ,0x1c50 ,0x0f52 ,0x17f0 ,0x034e ,0x3320

LBuydens commented 1 year ago

Yes, the EEPROM is corrupted. See attached file for factory settings EEPROM_recover.xlsx