Repository navigation
m-bootloader v2.2
MIDI mode can now back up the whole flash, and run a small program in RAM, over USB MIDI, with no download mode. There's also a helper with the same abilities that runs from RAM on a unit without m-bootloader, and leaves its firmware in place. An experimental web version of M-Flasher is being built on this.
- New: reading over MIDI. MIDI mode and the helper now answer commands to say what's running, read raw flash and return the chip's CRC-32 of a range. A full 1 MiB backup takes about 16 s. The SMK-37 can also install up to
0xFF000, so presets can be restored; its Bluetooth pairing and calibration at0xC0000to0xC1FFFare never written. - New: the RAM helper (
*-stage.fwsc,*-stage-listed.fwsc,*-stage-ram.bin). Firmware stores it through its own update route, or M-Flasher'srun-ramstarts it, and it goes back to the firmware when it's finished, or after 5 minutes with no host. - New: RAM apps. MIDI command
0x25loads a small program into RAM at0x01C30000, up to 327,040 bytes, and runs it. When it returns, the unit answers again, so a host can send the next build without touching the unit. The web version has no button for this yet, so for now it needs your own host. The format is in the SPEC, section 11.8, and the same file also runs from M-Flasher'srun-ram.
Before you install
- Use M-Flasher 0.9.1 or newer. This version runs past where 0.8.2 and older keep the boot configuration. It's been tested with 0.9.1, and M-UPGRADE has no such limit.
- The helper doesn't start on every firmware. It has worked on M-VAVE's FM-1 015 and 016 and SMK-37 Pro and Elite 016, Baud Girl, Felucca, SLOOP, ChoralRoot and Melodee. It can't start on ChanceTheMaker's SMK firmware (
SMK-37_9NN), whose update request starts its own updater, or on the olderSMK-37 Pro_900. MIDI mode and M-Flasher work on those. - Official M-VAVE updates and Baud Girl's installer put the stock bootloader back, with its full configuration. Reinstall m-bootloader afterwards.
- Little tested on the FM-1's newer flash chip, the UCUN UC25HQ80 (
0xB36014). One such unit did not start after 1.1 or 1.2 was installed, and the cause is not known. This version hasn't been run on one.
| File | For |
|---|---|
fm1-uboot.fwsc |
FM-1, with M-UPGRADE |
smk37-pro-uboot.fwsc |
SMK-37 Pro, with M-UPGRADE |
smk37-elite-uboot.fwsc |
SMK-37 Elite, with M-UPGRADE |
fm1-uboot.boot |
FM-1, with M-Flasher |
smk37-uboot.boot |
SMK-37 Pro / Elite, with M-Flasher |
fm1-stage.fwsc, smk37-pro-stage.fwsc, smk37-elite-stage.fwsc |
The helper, through M-VAVE's firmware or Baud Girl |
fm1-stage-listed.fwsc, smk37-pro-stage-listed.fwsc, smk37-elite-stage-listed.fwsc |
The helper, through Felucca-family firmware |
fm1-stage-ram.bin, smk37-stage-ram.bin |
The helper, with M-Flasher's run-ram at 0x01C28000 |
mflr-loader-a.bin, mflr-loader-b.bin |
M-Flasher's flash loader, unchanged from 1.3 |
SHA256SUMS |
checksums |
Back up your unit with M-Flasher first. The menu and M-Flasher show the version as 2.2-64f7c9c.
Tested on this exact build, on an FM-1 (0x856014) and an SMK-37 Pro: installing with M-Flasher, and through the firmware's update route from a web page; an official 016 update; the helper on stock 016; MIDI mode; RAM apps from MIDI mode and from the helper, including one of the maximum size; and a backup and a firmware write straight after an app, with zero bytes different.
M-UPGRADE itself, on the FM-1: an official 016 update, and installing this version from the stock bootloader, from a Mac. On the SMK-37, the official update was sent by a test client, and this version was installed by a web page and M-Flasher.
On earlier 2.2 test builds, whose helper differs only in small fixes: the helper on FM-1 015, Baud Girl, Felucca, SLOOP, ChoralRoot and Melodee, and on the SMK-37's Baud Girl and Elite 016 (on a Pro); RAM apps from the helper started by run-ram; M-Flasher 0.9.1 installing over 2.1 on the SMK-37; and the web page on iOS through MIDIWeb, for identifying a unit, starting the helper and backing up.
Not tested: a real SMK-37 Elite (its firmware 016 ran on a Pro), the MiniFM, the UC25HQ80, M-UPGRADE on the SMK-37 with this build, 1.2 and 1.3 installed over it (the configuration code hasn't changed since 2.1), writing from a phone, starting the helper by holding OCT- at power-on, and RAM apps from a host other than Linux.