-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ambient module still trying (and sometimes failing) to update itself #69
Comments
I've found that using |
@jimbojw really glad that you were able to find a reproducible test case. I'll try to take a look at this while at the WebRebels/Nodeconf Oslo conferences this week. |
Have now encountered this at several workshops. Switching to Port B has consistently worked. Not sure why ..? |
Switching to Port B did not work for me—it only made the issue happen consistently. :/ I've successfully used the Relay module in Port B on my Tessel 2, so I do not believe my Port B to be uniformly bad. |
Investigating the issue. On a standard run of the Ambient module example, plugged in to Port A:
SPI trace gives: Zoomed in on that last bit (700ms+): For completeness, here is the earlier bit (400ms+): The update attempt begins here: https://github.com/tessel/attiny-common/blob/master/lib/index.js#L66 Attiny datasheet: http://www.atmel.com/Images/doc8006.pdf |
Not expecting to have a chance to continue this investigation today, but if you want to continue, the above images should help. Next steps:
|
This should be fixed with a combination of c11274f and tessel/t2-firmware#209. Should be closed once tessel/t2-firmware#209 is merged and a new firmware build is released. |
The ambient module often thinks its firmware version is old. This makes it try to update itself, often every time you run something with it. Sometimes it updates and reports success and you can keep working. Sometimes it goes to "are you sure it's plugged in?"
One weird/possibly coincidental fix I've employed: switched to Port B and it was ok.
The text was updated successfully, but these errors were encountered: