FRASIL, home Discord

Guide 01 / 2122

Install

Install it from Chrome or Edge, or from a terminal. Go back to the official firmware any time.Back the SMK-37 up first. Then install it from a terminal. Go back to M-VAVE’s firmware any time.

Install from the browserLink to this section

  1. Connect the FM-1 by USB.
  2. In Chrome or Edge, open FRASIL on The FM-1 Firmware Hub.
  3. Press Install. Allow MIDI when the browser asks.
  4. Don’t unplug the cable while it writes.

Your modelLink to this section

The SMK-37 Elite, the SMK-37 Pro and the MKE-P37 are the same keyboard under three names. Each takes its own package: M-VAVE’s updater refuses another model’s. Below, MODEL is your keyboard’s.

KeyboardPackageMODELTested
SMK-37 Elitefrasil-smk37-elite-X.Y.Z.fwsceliteYes
SMK-37 Profrasil-smk37-pro-X.Y.Z.fwscproNot yet
MKE-P37frasil-smk37-mke-X.Y.Z.fwscmkeNot yet

On a Pro or an MKE-P37, tell us if it works, on FRASIL’s issues.

Back up firstLink to this section

Once, before FRASIL goes on it, with the keyboard on M-VAVE’s firmware, whichever model it is. Nothing here writes its flash.

  1. Get FRASIL’s repository and its tools, and download your model’s frasil-smk37-MODEL-X.Y.Z.fwsc from the releases into it:
    git clone --recursive https://github.com/styvesgoupil/frasil
    cd frasil
    python3 -m venv .venv && .venv/bin/pip install mido python-rtmidi pyusb libusb-package
  2. Connect the SMK-37 by USB. Close every app that uses its MIDI port.
  3. In a first terminal (it waits two minutes for the keyboard):
    sudo .venv/bin/python tools/smk37_backup.py read --model MODEL
  4. In a second terminal, then answer y:
    .venv/bin/python tools/smk37_backup.py uboot frasil-smk37-MODEL-X.Y.Z.fwsc --port SMK-37
    On the MKE-P37: --port MKE. The keyboard restarts as a USB disk, WL82 UBOOT1.00. If the computer offers to format it: Ignore.
  5. The first terminal reads the flash twice and keeps it in ~/frasil-backups/smk37-MODEL/. Copy that file somewhere else too, and never share it: it holds your keyboard’s own key.

The steps in full: docs/SMK37.md.

Install from a terminalLink to this section

Download frasil-X.Y.fwsc from the releases. In a checkout of FRASIL’s repository, run:

After the backup, switch the SMK-37 off and on: it waits in FRASIL’s update loader. In the same folder, run:

python3 base/tools/fm1_install.py frasil-X.Y.fwsc
.venv/bin/python base/tools/fm1_install.py frasil-smk37-MODEL-X.Y.Z.fwsc

Don’t unplug the cable while it writes. To update FRASIL later, run the same with your model’s new package.

Back to the official firmwareLink to this section

Install M-VAVE’s V15 from the installer or The FM-1 Firmware Hub. If the FM-1 won’t start, hold OCT− while you switch it on: it waits for an update over USB.

Install M-VAVE’s V016 for your model with M-VAVE’s M-Upgrade app. Then check that every key plays its own note and that the pads answer. If not, its calibration was erased: it is in your backup. Ask on FRASIL’s issues before you try anything by hand.

Your scenes when you switch firmwaresLink to this section

  • Back up your scenes first (FRASIL 1.1 and later): in the River (Chrome or Edge) or with base/tools/fm1_backup.py. See backing up.
  • Updating FRASIL keeps your scenes and presets. M-VAVE’s V15firmware erases them. Other firmwares may too.
  • FRASIL’s first start on the SMK-37 clears M-VAVE’s own data: its settings, its presets and its key mapping.
  • Saving in FRASIL can overwrite another firmware’s data (Felucca’s settings, projects and samples). Back that firmware up before you save.
  • FRASIL ignores other firmwares’ data. With none of its own, it starts with its factory scenes.

VersionsLink to this section

The logo screen shows the version the FM-1SMK-37 runs. The package is named FM-1_47XXYYZZ: 3.3 is FM-1_47030300. Each package is named after its model: 3.3.1 is SMK-37 Elite_4030301, SMK-37 Pro_4030301 and MKE-P37_4030301.

From sourceLink to this section

For forks: the host simulator, the checks, the browser emulator and the firmware.

git clone --recursive https://github.com/styvesgoupil/frasil
cd frasil
python3 -m venv .venv && .venv/bin/pip install Pillow fonttools mido python-rtmidi numpy scipy matplotlib
brew install libraqm                     # the screen's fonts (macOS)

./build.sh --host                        # the host simulator: app/build/host/frasil_host
app/build/host/frasil_host app/tests/basic.txt app/build/host      # the checks
./build.sh --web                         # the browser emulator: app/build/emu/ (Emscripten)
./build.sh                               # the firmware: app/build/frasil-VERSION.fwsc

The firmware build needs JieLi’s toolchain and the AC79 SDK in Docker. See fm1-base’s README.

For the SMK-37, build with FM1B_BOARD=smk37 FM1B_MODEL=elite (or pro, mke) before ./build.sh: app/build/frasil-smk37-elite-VERSION.fwsc. The release’s three packages: tools/release.sh.