Flashing MCU firmware¶
Build and validate the images first as described in Building and testing. The installation route depends on whether you are publishing a release, testing selected boards, or producing a stock-style package.
Getting a build onto the printer¶
| You have | Do this |
|---|---|
| A release for everyone | Copy the four files from live/ (plus SHA256SUMS and VERSION) into opencreator-fs mcu-firmware/. The updater flashes the boards whose file changed, never during a print. |
Loose .hex files to test on one printer |
/usr/data/opencreator/mcu-flash/oc-mcu-flash DIR, with any of eBoard.hex, heaterBoard.hex, levelBoard.hex and mainBoardGD.hex in DIR. Only boards with a file are flashed. Not during a print. |
| A stock-style package | Flash it with the installer, or from USB the stock way on a tunneled printer |
Live flashing needs eBoard, heaterboard and levelboard firmware with
c5_reset_bootloader (Kalico ab62660c or later), flashed once from USB.
Until then C5_MCU_BOOTLOADER stops with an error and nothing is touched; a
run with only mainBoardGD.hex works on any firmware. The log is
/usr/data/logs/oc-mcu-flash.log. The steps, the power-on fallback and
recovery are on
Firmware, installer and updates.
A failed flash can always be retried: the mainboard's bootloader is in ROM, and a flash never touches the other boards' boot stage.
The updater compares the first eight characters of the board-reported commit hash with the release version. That is why the build instructions require a clean checkout without release tags; see Building and testing.
For the shared extruder's required eBoard firmware behavior and the limitation before reflashing it, see Pins and shared hardware.