Replies: 3 comments 5 replies
-
|
Thanks for opening this discussion here, and for your great progress on the web adaptation of the EV3 flasher! Since EV3 installation will be quite different from download-and-run, I think we can look at this separately. For installation we can largely follow the pattern that is there for SPIKE. To keep things simple, I propose that we ask the user to enter update mode manually by holding the right button and then booting. I am happy to make a similar video as we have for SPIKE.
It would be nice if we can ship one with the app that we know the license of. We can always provide instructions on our site with links to other official versions. In principle it can also be restored with the original app, but I think that is only with the EV3-G (lab) app.
The firmware doesn't have an option for this yet, but I think we should give the EV3 brick a name just like we do for the other hubs. I would keep it in the UI and just ignore it until we have firmware support for it. |
Beta Was this translation helpful? Give feedback.
-
|
@afarago Let me know if you would like any assisstance. |
Beta Was this translation helpful? Give feedback.
-
Any updates? Im really really interested, there a lot of groups in facebook that would love to see this happening |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following up with the discussion let me share the current progress and also start a discussion to plan how the new Pybricks EV3 could be supported in pybricks code project.
I definitely do not have a full picture, but have some time, much more enthusiasm and interest to make it happen, so glad to contribute with code to this wonderful initiative from the Pybricks authors!
Firmware flashing
EV3 uses USB HID, and in modern browsers like Chrome we have WebHID API available.
Following the pattern of pybricksdev I have created a typescript implementation, already trying to group a library to be used instead of webdfu.
https://github.com/afarago/ev3hid-upgrader
https://ev3hid-upgrader.netlify.app/
Flow for Firmware install
src/firmware/sagas.tsand implementhandleFlashUsbHidThe mentioned webhid-ev3-upgrade component could handle the flashing process
(npm packages for @pybricks/images and @pybricks/firmware will need to be in place and updated, images are already in place)
Would be great to agree on the architecture and the generic flow to minimize rework. Also should be an agreement on the breath of tests created, to keep a proper quality balance and also release.
Flow for Restore install
To be decided if e.g. the original firmware of e.g. 1.10E with 16MB, is allowed here, and is a wise choice for restore.
Is there a need for restore above a link to https://ev3manager.education.lego.com ?
To be discussed.
Connection to Code IDE
I assume that BT or (BLE?) connection should be available to EV3Brick.
Is there a separate comm layer needed?
(This discussion ticket is far from being complete, yet is placed as a conversation starter here, @laurensvalk @dlech ).
Beta Was this translation helpful? Give feedback.
All reactions