Repository navigation
v0.1.0 — first release
Open firmware for the Miniware MHP50 hot plate, written from scratch against a teardown of the stock APP V3.02. It runs on the author's plate; take it as a first release, not as a finished product. What it does differently from the stock firmware is a table in the README.
Try the interface before you flash anything: https://vvzvlad.github.io/openware-mhp50/emulator/ — this firmware built for WebAssembly inside a drawing of the plate.
Install
Unplug the plate, hold button A, plug its USB-C into a computer: the disk MHP50_DFU appears. Copy mhp50_full.hex onto it — that one file carries the loader and the application — wait for it to come back renamed .rdy, then replug the plate without holding anything. On macOS drag the file in the Finder; cp in the Terminal does not work.
After that the application is updated over USB, with no buttons and no DFU disk:
python3 tools/mhp50.py flash mhp50_app.hex| File | What it is |
|---|---|
mhp50_full.hex |
the loader (0x08010000) and the application (0x08012000) in one file, for the stock DFU disk |
mhp50_app.hex |
the application alone, for an update over USB through the loader |
mhp50_loader.hex |
the loader alone |
The stock bootloader, the option bytes, the chip UID and the external flash are never written, so the stock firmware can be put back at any time through the same DFU disk.
What is in it
- Heating programs as
.gcodefiles on the plate's USB disk, with steps, tolerances, settle times, the fan, the RGB LED and the buzzer; four editable presets and a setpoint set with the buttons for a constant temperature, with no time limit. - Heating from the DC jack and from a USB-PD charger, inside the power of the contract.
- The stock's protections: no plate, tilted, the module too hot, the input too low; the tilt sensor can be switched off.
- The disk belongs to the computer only in the disk mode, so the plate and the host never write it at once; the log of a run lands on it as
RUNLOG.TXTwhile the run goes. - A log of everything the plate did, read over USB, and a record of the last crash.
Known limits
- The iron adapters (SA80, SA115, SA210, SA245) are identified and measured, but they do not heat yet.
- Bluetooth only broadcasts the log, and only in a build made with
BTLOG=1.