KickCAT icon indicating copy to clipboard operation
KickCAT copied to clipboard

[master] Read eeprom never ends

Open nicolas71640 opened this issue 1 year ago • 0 comments

I have used the eeprom a the end of this post with the simulator (I think this not related to the simulator however), and the eeprom fetching never ends. After investigation with @Rdk-T we've figured that this line was the culprit : return (((s->sii.buffer.back() >> 16) == eeprom::Category::End) and (s->sii.buffer.size() > 32));

The last word of the eeprom is 0x0000FFFF, the 16bits shift gives 0x0000 so the end half word is not seen as it should be.

Here's the faulty_eeprom to reproduce the issue

faulty_eeprom.zip

nicolas71640 avatar Apr 18 '24 08:04 nicolas71640