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

Sometimes, TinyG changes aam parameter by itself #176

Open
jkuusama opened this issue Nov 14, 2022 · 4 comments
Open

Sometimes, TinyG changes aam parameter by itself #176

jkuusama opened this issue Nov 14, 2022 · 4 comments

Comments

@jkuusama
Copy link
Owner

Sometimes, TinyG changes aam parameter by itself. I have no idea what causes this. So far, a few people have reported it and only one more than once. As a workaround, there is a check at connection (commit 1d826ad, 14.11.2022). If the value is not right, the correct value (1) is written. This is really a problem hiding workaround, not a fix!

@ril3y
Copy link

ril3y commented May 18, 2023

https://github.com/search?q=repo%3Asynthetos%2FTinyG%20cm_set_am&type=code

This is odd. cm_set_am is only called in this one place. Wonder if there is some sort of memory corruption going on?

@jkuusama
Copy link
Owner Author

jkuusama commented May 18, 2023

Maybe. Or a timing issue associated with"set defaults" command, which writes all settings. In other words, lots of eeprom activity in a row. I suspect the latter, as even when this happens, a rewrite fixes it. Even before I hid this, nobody reported seeing the issue again. So it could be kind of "weak" write that didn't take or faded away fast

@ril3y
Copy link

ril3y commented May 18, 2023 via email

@jkuusama
Copy link
Owner Author

jkuusama commented May 18, 2023 via email

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

No branches or pull requests

2 participants