[PR #64] [CLOSED] fw improvements & GUI #183

Closed
opened 2026-10-22 05:07:13 +00:00 by roman · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/safijari/openpuck/pull/64
Author: @StonedModder
Created: 6/19/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (1)

📊 Changes

452 files changed (+48834 additions, -35 deletions)

View changed files

➕ OpenPuck-Flasher/__init__.py (+4 -0)
➕ OpenPuck-Flasher/__main__.py (+7 -0)
➕ OpenPuck-Flasher/app.py (+997 -0)
➕ OpenPuck-Flasher/config.py (+86 -0)
➕ OpenPuck-Flasher/models.py (+51 -0)
➕ OpenPuck-Flasher/services/__init__.py (+6 -0)
➕ OpenPuck-Flasher/services/command_runner.py (+82 -0)
➕ OpenPuck-Flasher/services/device_detection.py (+270 -0)
➕ OpenPuck-Flasher/services/http_panel.py (+40 -0)
➕ OpenPuck-Flasher/services/openpuck.py (+270 -0)
➕ OpenPuck-Flasher/services/pairing.py (+269 -0)
➕ OpenPuck-Flasher/services/update_checker.py (+33 -0)
➕ OpenPuck-Flasher/services/webusb.py (+123 -0)
📝 OpenPuck/bonds.cpp (+5 -0)
📝 OpenPuck/bonds.h (+15 -0)
📝 OpenPuck/config.cpp (+13 -0)
📝 OpenPuck/config.h (+1 -0)
📝 OpenPuck/puck_hid.cpp (+46 -9)
📝 OpenPuck/rf_diag.cpp (+43 -11)
📝 OpenPuck/rf_diag.h (+1 -0)

...and 80 more files

📄 Description

Changelog

2026-06-18

Firmware

  • Added software-triggered bootloader reboot support so updated OpenPuck devices can jump into bootloader mode without a physical reset button.
  • Added reboot entry points over HID, WebUSB, and the serial console.
  • Added both UF2 bootloader and serial DFU reboot modes so clone boards can use the update path they actually expose.
  • This materially improves recovery on no-button boards and can prevent soft-brick situations where normal update access would otherwise be lost.

Flasher

  • Added Reboot Puck To Serial DFU and Reboot Puck To UF2 Bootloader actions in the GUI.
  • Wired the flasher to trigger firmware reboot through HID first, with WebUSB fallback where available.
  • Kept serial DFU as the recommended path for clone boards that do not expose a reset button or accessible reset pads.

Pairing And Diagnostics

  • Added RF pairing workflow support in the flasher for updated firmware.
  • Added host-assisted pairing support for docked controllers, with slot handling constrained to the controller behavior observed during testing.
  • Expanded device-status and troubleshooting flows around puck detection, pairing, and update recovery.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/safijari/openpuck/pull/64 **Author:** [@StonedModder](https://github.com/StonedModder) **Created:** 6/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`a67bddd`](https://github.com/safijari/openpuck/commit/a67bdddcf39b527aea4451e1ff6a8a37d8c093d7) fw improvements & GUI ### 📊 Changes **452 files changed** (+48834 additions, -35 deletions) <details> <summary>View changed files</summary> ➕ `OpenPuck-Flasher/__init__.py` (+4 -0) ➕ `OpenPuck-Flasher/__main__.py` (+7 -0) ➕ `OpenPuck-Flasher/app.py` (+997 -0) ➕ `OpenPuck-Flasher/config.py` (+86 -0) ➕ `OpenPuck-Flasher/models.py` (+51 -0) ➕ `OpenPuck-Flasher/services/__init__.py` (+6 -0) ➕ `OpenPuck-Flasher/services/command_runner.py` (+82 -0) ➕ `OpenPuck-Flasher/services/device_detection.py` (+270 -0) ➕ `OpenPuck-Flasher/services/http_panel.py` (+40 -0) ➕ `OpenPuck-Flasher/services/openpuck.py` (+270 -0) ➕ `OpenPuck-Flasher/services/pairing.py` (+269 -0) ➕ `OpenPuck-Flasher/services/update_checker.py` (+33 -0) ➕ `OpenPuck-Flasher/services/webusb.py` (+123 -0) 📝 `OpenPuck/bonds.cpp` (+5 -0) 📝 `OpenPuck/bonds.h` (+15 -0) 📝 `OpenPuck/config.cpp` (+13 -0) 📝 `OpenPuck/config.h` (+1 -0) 📝 `OpenPuck/puck_hid.cpp` (+46 -9) 📝 `OpenPuck/rf_diag.cpp` (+43 -11) 📝 `OpenPuck/rf_diag.h` (+1 -0) _...and 80 more files_ </details> ### 📄 Description # Changelog ## 2026-06-18 ### Firmware - Added software-triggered bootloader reboot support so updated OpenPuck devices can jump into bootloader mode without a physical reset button. - Added reboot entry points over HID, WebUSB, and the serial console. - Added both UF2 bootloader and serial DFU reboot modes so clone boards can use the update path they actually expose. - This materially improves recovery on no-button boards and can prevent soft-brick situations where normal update access would otherwise be lost. ### Flasher - Added `Reboot Puck To Serial DFU` and `Reboot Puck To UF2 Bootloader` actions in the GUI. - Wired the flasher to trigger firmware reboot through HID first, with WebUSB fallback where available. - Kept serial DFU as the recommended path for clone boards that do not expose a reset button or accessible reset pads. ### Pairing And Diagnostics - Added RF pairing workflow support in the flasher for updated firmware. - Added host-assisted pairing support for docked controllers, with slot handling constrained to the controller behavior observed during testing. - Expanded device-status and troubleshooting flows around puck detection, pairing, and update recovery. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
roman 2026-10-22 05:07:13 +00:00
Sign in to join this conversation.
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
safijari/openpuck#183
No description provided.