Hi,
I think about writing a small python utility like the smoothie-upload.py that grabs the latest firmware MD5 sum from github and compares it with the firmware.bin MD5 sum on the smoothieboard. If the MD5 sums doesn’t match, it downloads the binary from github and uploads it to the smoothieboard and afterwards reset the board.
To do so i will use the brand new plan9 protocoll that is available since 0c43a17. The only concern i have is that i was not able to find a way to use p9 on Windows. Since I’m a linux user it doesn’t affect me personally, but i would like to bring the updater to all platforms. Does anybody know how to use p9 on Windows?
If not, i will try to build a fallback using SFTP but i think for this i need the ability to read the current firmware.bin back onto the computer to calculate the MD5 sum, which as far as i can see is not implemented so far!?
Or is there a way to get the version number from the firmware.bin to compare it with the output of the version command?
Imported from wikidot