-
Notifications
You must be signed in to change notification settings - Fork 79
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
Flash Prusa MK3S firmware with custom method #309
Comments
I never got around to implementing the custom command method. I'll see what I can come up with - I'm thinking maybe just a checkbox for Prusa MK3S which would tell the plugin to run both commands. |
Or autodetect, octoprint fires event when it finds firmware information early (in response to M115 command)
and uses such condition for autodetection of prusa:
For reference, commands used by current prusaslicer (on windows) when upgrading firmware:
Maybe even MK3 could detected based on 'MACHINE_TYPE:'
That 0 or 1 number in `-U flash:w:0:...``` is a section number in .hex file with prusa firmware. They have patched avrdude to accept such format. Sections are separated by ':00000001FF'. These are basically two firmwares put into one hex file. One firmware is for internal Einsy flash (using wiring method) and second is for Einsy external flash (programmed using arduino method). That second part of file is only for MK3.
so what we also need to do is to copy firmware contents between first and second marker into temporary file and just call
Special avrdude is needed |
Implemented as #325 Unfortunately stock avrdude is not being able to flash languages part of firmware. Modified variant is needed. https://github.com/arekm/avrdude-prusa-mk3 It uses special serial command to init external flash mode on MK3 hardware and also has workarounds |
I also have the problem that other languages than English are not flashed to my Prusa MK3S #253
As mentioned in #139, a second flash command is necessary that could potentially be done through a 'custom' flash method.
Has this been implemented? I'm not sure where I should enter custom commands. What is the recommended way?
Not sure if I should append it somehow to this customize command line setting:
{avrdude} -v -q -p {mcu} -c {programmer} -P {port} -D -C {conffile} -b {baudrate} {disableverify} -U flash:w:{firmware}:i
It didn't work so far..
The text was updated successfully, but these errors were encountered: