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

Port DFU code from T1 CLI to update SAMD21 firmware over USB #109

Closed
kevinmehall opened this issue May 7, 2015 · 8 comments
Closed

Port DFU code from T1 CLI to update SAMD21 firmware over USB #109

kevinmehall opened this issue May 7, 2015 · 8 comments
Milestone

Comments

@kevinmehall
Copy link
Member

No description provided.

@kevinmehall kevinmehall mentioned this issue May 7, 2015
3 tasks
@kevinmehall
Copy link
Member Author

Firmware side completed with tessel/t2-firmware#44

@johnnyman727
Copy link
Contributor

@kevinmehall should the CLI portion of the code be pretty similar to the original CLI's process?

@kevinmehall
Copy link
Member Author

Yeah, almost all the code will port straight over. The main difference is that enterBootloader is a vendor request 0xBB.

@johnnyman727
Copy link
Contributor

👍 thanks!

And, presumably, this update command should also check the openWrt image and update that if necessary.

@Frijol Frijol added this to the Easy Updation milestone Jul 14, 2015
@johnnyman727
Copy link
Contributor

It should be 0xBB instead of 0x0042 as found here?

@johnnyman727
Copy link
Contributor

Ah, I think I understand. I need to do a vendor request like so. Is that more accurate?

@kevinmehall
Copy link
Member Author

Correct, a control transfer with bRequest (2nd argument) 0xBB.

@johnnyman727
Copy link
Contributor

Fixed with #231.

@Frijol Frijol closed this as completed Aug 25, 2015
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

3 participants