2
0

update.html 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  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. <x-inc src="head.html"></x-inc>
  10. <h1 class="update">Update</h1>
  11. <form id="upload" action="sys/fwupdate" method="post"
  12. onsubmit="uploadform()" data-ref="10" data-ref-url="status.html">
  13. <fieldset class="fw">
  14. <legend>Firmware</legend>
  15. <input type="file" name="file" hidden accept=".fw" onchange="uploadform()" />
  16. <button type="submit" class="fromfile" id="upload.start"
  17. onclick="sib(this,'input').value=''">Update from file</button>
  18. <progress value="0"></progress>
  19. </fieldset>
  20. <output></output>
  21. <div class="onerr">
  22. <h3>Possible troubleshooting steps:</h3>
  23. <ol>
  24. <li class="retry">Try again</li>
  25. <li class="jtag">Make sure no JTAG cable is plugged in</li>
  26. <li class="power">Power cycle board (remove both USB and power off ABC host)</li>
  27. <li class="esp">Separately update ESP32 over USB before trying again</li>
  28. <li class="console">Check serial console for more detailed status messages</li>
  29. </ol>
  30. </div>
  31. </form>
  32. </body>
  33. </html>