m-card + m-apps

For the M-VAVE FM-1 and SMK-37

Your synth can have an SD card.

m-card is a small board that adds a microSD slot, with no soldering to the unit. m-apps are programs you start from that card. They run from memory, so the firmware you've installed stays exactly as it is.

Order the board ready-made or solder it yourself. The apps come as one zip for both units: a launcher and five apps to start with. Free and open source.

A small green board with a microSD socket, and a dashed arrow showing it goes inside an orange music gadget, which has app tiles on its screen and app icons floating up like bubbles

How it works

  1. 1

    The board

    m-card sits inside the unit, between the screen's cable and the main board, and shares the screen's connection. It plugs in: nothing is soldered to the unit.

  2. 2

    The bootloader

    With m-bootloader on the unit, its menu gets an SD card item. Hold PLAY (SEQ PLAY on the SMK-37) while switching on to open the menu.

  3. 3

    The launcher

    SD card starts the m-apps launcher from the card. Pick an app and it runs. Most of them go back to the launcher when you're done.

Your firmware stays put. Apps load into RAM and run from there. Switch the unit off and on and it starts its own firmware, as always. The only apps that write flash are the ones whose job it is: Slots, when you load a slot, and Unbricker, which writes the broken unit, not this one.

The apps

Every screen here is drawn by the app's own code.

The launcher: the selection moves down MP3 Player, Slots, Unbricker, USB Disk and WiFi to Back, and up again, over rising bubbles

Launcher

Your apps as tiles, each with its icon, a line about it and its version. OCT−/+ (or < >) to move, PLAY to start.

The MP3 player: The Prodigy plays with the time counting and the analyser moving, then the next track, Moby, starts

MP3 Player

A 90s-style player for the MP3 files in the card's root, with a playlist and an analyser.

Slots: the selection moves to Save what's on the unit, the slot is named Mine 2 on the piano keys, saved and checked, and appears in the list

Slots

Keeps whole firmware images, and their settings, on the card, and swaps between them with no computer. Name them on the keys.

Unbricker: ready to repair, then repairing with the bar filling, then done

Unbricker

Repairs a broken FM-1 or SMK-37 with this unit and a USB-C cable: it writes a fresh m-bootloader to the other one. Also in your browser.

USB Disk: reading at about 850 KB/s with data moving along the cable, then writing at about 440 KB/s

USB Disk

Shows the card to your computer as a USB drive, so you can copy files without opening the unit.

WiFi: the Cafe network is opened and tested, step by step, until it's connected

WiFi

Keeps the networks in WIFI.TXT and tests them, for the apps that go online. Add networks by typing on the keys.

Firmware that uses the card

The card isn't only for apps. Firmware is starting to use it too, while it runs: to load samples and to save your work.

Optimist

An open firmware for the FM-1. From version 0.3, its Builder has an SD card mode: turn it on, build and install. Projects, presets, kits and samples then live on the card, and samples play straight from it.

Optimist's SD card page

fm1-base

A base for building your own firmware. Put sd = true in your firmware's fm1.toml, and it can read and write files on the card. msc = true adds a USB drive mode.

fm1-base on GitHub and its SD card notes

Set up a card

You need

  • An FM-1 or SMK-37 with an m-card in it.
  • m-bootloader 2.3 or newer on the unit (3.0 is the latest). M-Flasher installs it, and makes a backup first.
  • A microSD card, formatted FAT32. Cards over 32 GB usually come as exFAT, so format those first.

Then

  1. Download m-apps-sd-card.zip and unzip it.
  2. Copy the MBOOT folder and WIFI.TXT to the card's root.
  3. For WiFi, open WIFI.TXT and put in your network's name and password. Or add it later in the WiFi app.
  4. Put the card in, hold PLAY (SEQ PLAY) while switching on, and choose SD card.

Make an m-card

A 30 × 25.2 mm, two-layer board. Order it with the parts already on, or bare to solder yourself. It's public domain: order it, change it, sell it.

An m-card as JLCPCB assembles it: the LCD cable socket top left, the J12 cable socket below it, the small parts in two rows top right, and the hinged microSD socket below them

Have it assembled

1

Order it from JLCPCB, assembled

  1. Download m-card-gerbers.zip (don't unzip it), and the parts list m-card-bom.csv and placement file m-card-cpl.csv.
  2. On jlcpcb.com, press Get Instant Quote, then Add gerber file. Pick the zip: the size is read from it. For Surface Finish, choose HASL(with lead) or LeadFree HASL, and leave the rest of the board's settings as they are.
  3. Switch on PCB Assembly, and set:
    PCBA TypeEconomic, not Standard.
    Assembly sideAssemble top side. It's already chosen: all the parts are on the top.
    PCBA QtyIt starts at the number of boards (5 is the least you can order), but you can have just 2 of them assembled.
  4. Go on, and upload the parts list and the placement file when asked. Check each part's rotation in the placement preview before you pay: JLC's parts library sometimes disagrees with the design's. The two cable sockets and the card socket are "extended" parts, which adds a small fee for each.
2

Get the rest

  • A 10-pin, 0.5 mm FFC cable 8–10 cm long, with the contacts on the same side at both ends ("type A"): from AliExpress (choose Length 10CM 10PCS: its other options are already right), or from Mouser (GCT 05-10-A-0101-A-4-06-4-T-HF).
  • Thin double-sided tape.
  • A microSD card.

Solder it yourself

1

Order the board from JLCPCB

  1. Download m-card-gerbers.zip. Don't unzip it.
  2. On jlcpcb.com, press Get Instant Quote, then Add gerber file. Pick the zip: the size is read from it.
  3. For Surface Finish, choose HASL(with lead) or LeadFree HASL: they're the easiest to hand-solder. Leave the rest as it is.
  4. If you'll use solder paste, add a stencil to the order.
  5. Five boards is the smallest order. Any other PCB maker that takes Gerbers works the same way.
2

Buy the parts

All of them are at LCSC: search for the part numbers. A few spare resistors and capacitors are handy.

QtyPartLCSC
1Hirose DM3CS-SF hinged microSD socket (J1)C202111
110-pin 0.5 mm FPC socket, bottom contact (J2)C2856798
110-pin 0.5 mm FPC socket, top contact (J3)C3446068
174LVC1G04 inverter, SOT-23-5 (U1)C7827
547 kΩ, 0805C17713
2470 Ω, 0805C17710
1150 Ω, 0805C17471
110 µF, 0805C15850
1100 nF, 0805C49678

Also a 10-pin, 0.5 mm FFC cable 8–10 cm long, contacts on the same side at both ends ("type A"): from AliExpress (choose Length 10CM 10PCS: its other options are already right), or from Mouser (GCT 05-10-A-0101-A-4-06-4-T-HF). And thin double-sided tape, and a microSD card.

3

Solder it

Print the assembly guide: every part's place, value and direction at 5:1, and an order to solder them in. Every part is hand-solderable with a fine tip. The two cable sockets are the fiddly part: plenty of flux, tack one tab, drag-solder the row.

Before you fit it, check with a multimeter that 3.3 V (J2 line 7) isn't shorted to ground (line 1).

Fit it

  1. Open the unit and disconnect the battery.
  2. Unplug the screen's cable from the main board, and plug it into the board's J3, contacts up.
  3. Connect the main board's screen socket to the board's J2 with the short cable, contacts down at J2.
  4. Tape the board down. In the FM-1 it goes under the audio jacks.

Watch it go into an FM-1

The silkscreen by each socket repeats which way the contacts face. Opening the unit is at your own risk.

Fitting an m-card in an FM-1. Watch on YouTube

Make your own apps

m-apps is also a kit. Write an app in Rust, build it with make, and give it a folder in /MBOOT/APPS: the launcher finds it. The same file runs from the card, over MIDI, or from a computer with M-Flasher's run-ram.

The kit has the screen, the keys, sound, the card and its FAT32, USB and WiFi. One build can run on both units.

#![no_std]
use kit::board::{board_init, board_keys, board_restore};
use kit::{app, display::line, platform::hal_delay_us};

kit::app!(main);

fn main(_lsb_mhz: u32) -> i32 {
    let board = app::board(); // 1: FM-1, 2: SMK-37
    if board == 0 { return 1; }
    board_init(board == 2);
    if kit::display::init(board) {
        line(1, 0x07e0, b"HELLO FROM THE CARD");
        line(3, 0xffff, b"ANY KEY: BACK");
    }
    while board_keys() != 0 { hal_delay_us(1000); } // let go of PLAY
    while board_keys() == 0 {
        app::feed(); // the watchdog
        hal_delay_us(1000);
    }
    board_restore();
    0 // back to the launcher
}

Start with the README Writing apps with an AI agent? AGENTS.md has the loop, the rules and the traps found so far.

A laptop with code, a dashed arrow to a microSD card, and on to the gadget showing a new app tile

Support

m-card and m-apps are free, like M-Flasher, m-bootloader and M-Unbricker. If they're useful to you, a donation helps keep them going.