First Steps on Firmware Flashing
Added 2024-12-09 17:48:52 +0000 UTCToday, I began implementing my firmware flashing tool with the goal of simplifying the process for users. This tool is designed to make flashing the initial firmware effortless while also automating firmware updates whenever Klipper is upgraded. It requires only two configuration parameters:

serial: A static pointer indicating where the board is mounted (or will be mounted if it's a first installation)
cpu: The type of CPU equipped on the board.
Example Workflow:
The tool intelligently determines the type of board based on the serial and selects the most efficient flashing method available for that board. Here's how it works:
Klipper Serial Flash:
If a Klipper bootloader is already installed on the board, the tool uses the Klipper serial flash method. This approach is typically applicable during Klipper updates.DFU Mode:
If no bootloader is present, the tool prompts you to restart the board in DFU mode (achieved by pressing two buttons). Once in DFU mode, it flashes a bootloader onto the board. From this point onward, you can use the Klipper serial flash method for future firmware updates.
There's still some work to be done before I can release the tool, but I'm optimistic that the next version of THEOS will include support for automatic firmware updates. Stay tuned for more updates!
Comments
Oops... Thanks
Stuart
2024-12-13 16:43:12 +0000 UTCTechnically, yes, but working with Raspberry Pi OS can be frustrating. The udev registration tends to be a bit buggy, and there are issues with scripts that should run without root privileges (as they do on Armbian) but instead require sudo rights on Raspberry Pi OS.
Matt the Printing Nerd
2024-12-12 20:10:05 +0000 UTCHello Matt, can you easily install THEOS on a RPi4?
Stuart
2024-12-12 15:25:57 +0000 UTCWhat do you plan on adding to THEOS except for software tweaks and bug fixes.
orangecat54
2024-12-09 23:26:25 +0000 UTC