|
Forum Index : Microcontroller and PC projects : Update a WebMite using a browser page
| Author | Message | ||||
| Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 268 |
Another great project by claude AI From the ReadMe file : The basic idea is that you have a WebMite running remote and it needs a new program update or some extra files. Usually, you would need to plug in to a PC and upload the new code via a terminal program (I always use MMCC)... That may be difficult in some situations, so this tool here allows remote reprogramming using a web-page upload. Run the web page on the WebMite, select the file to send and it all works the same as using a terminal program. There's also an optional Encryption to keep your program code from prying eyes if needed. Try it out, it could be useful for someone There's lots of detailed README files in all the directories, and how-to examples Working Example.zip Minimum Files.zip Encryption.zip John |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 694 |
Isn't the embedded TFTP server in the Webmite a way to upload new program files? It's at least what I use for that purpose. Also the Telnet console together with MMCC works for uploading new code IIRC. Maybe I just don't see the problem for the solution. 73 de OE1HGA, Gerald |
||||
| Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 268 |
Thanks, and you're right: for my own bench work TFTP and the Telnet console with MMCC are simpler, and I use them too. The problem I was playing with is a different one: a deployed WebMite that somebody else has to update with just a browser. So the page sits behind the unit's own developer login (and an edit lock), checks the upload with a checksum, keeps the old program so it can roll back, swaps it in and restarts the program, and recovers by itself if the power goes mid-update. It can also take an encrypted file, so the update that gets sent around can't be read in a text editor. TFTP puts a file on the Pico but doesn't do any of that, and it has no login. That reminded me that on a unit I hand over I should turn it off with OPTION TFTP OFF. It was a concept test, and if you only ever update your own units, TFTP is plenty. ![]() John |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |