update.html 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="max80.css" />
  5. <title class="update">MAX80: Update</title>
  6. <script src="max80.js"></script>
  7. </head>
  8. <body>
  9. <script>inc("head.html")</script>
  10. <h1 class="update">Update</h1>
  11. <form id="upload" class="idle" action="sys/fwupdate"
  12. method="post" onsubmit="uploadfile()">
  13. <fieldset class="firmware">
  14. <legend>Firmware</legend>
  15. <input type="file" name="file" hidden accept=".fw" onchange="uploadfile()" />
  16. <button class="submit" type="submit" id="upload.start">Update firmware</button>
  17. <progress value="0"></progress>
  18. </fieldset>
  19. <output></output>
  20. <div class="onerr">
  21. <h3>Possible troubleshooting steps:</h3>
  22. <ol>
  23. <li class="retry">Try again</li>
  24. <li class="jtag">Make sure no JTAG cable is plugged in</li>
  25. <li class="power">Power cycle board (remove both USB and power off ABC host)</li>
  26. <li class="esp">Separately update ESP32 over USB before trying again</li>
  27. <li class="console">Check serial console for more detailed status messages</li>
  28. </ol>
  29. </div>
  30. </form>
  31. </body>
  32. </html>