Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EEPROM invalidation not deterministic #9

Open
konimaru opened this issue May 18, 2019 · 0 comments
Open

EEPROM invalidation not deterministic #9

konimaru opened this issue May 18, 2019 · 0 comments

Comments

@konimaru
Copy link

In invalidateEEpromImage() we find:

     // 1. Check word 3 - Start of Code pointer (must always be $0010)
     i2c_out(eeBus, 0b1010000, 6, 2, (char*) 9999, 2);  // clear to 9999; invalidate image
     while(i2c_busy(eeBus, 0b1010000));

Who knows what exactly is stored at address 9999 (comment is bogus)? 0x8000 is a safer as it holds -1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant