-
Notifications
You must be signed in to change notification settings - Fork 32
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
Allow transfers greater than 255 bytes #112
Comments
Can you describe the issue that ambient/ir is hitting? |
Yes, Ambient and IR have a dependency on As part of the updating process, it will try to send a multiple kB image over SPI but because that image is over 255 bytes, we get an error:
|
Interesting! Thanks for the details :) |
Support for this on That would be fairly easy to adapt to use in I'd also guess that |
Thanks, @kevinmehall. Started implementation in #115. |
#115 is closed, so will this ? |
Yep! Thanks again for the follow up |
Currently, tessel-export.js disallows any transfers more than 255 bytes. This is constrained by the SPI Bridge implementation on the SAMD21.
The easiest fix would be to implement a queue in
tessel-export.js
and keeps track of outgoing/incoming packets. We would only send 255 bytes at at time, wait for the 255 byte response, then send the next 255.The text was updated successfully, but these errors were encountered: