Your keyboard is not dead. It just needs a key.

A firmware that crashes at start-up leaves a JieLi-based device silent over USB. This brings it back through its own USB cable, from a Raspberry Pi, without opening it.

Made for the M-VAVE SMK-37 and FM-1. Inside their chip, a factory loader still waits in the ROM; a short pattern on two USB wires wakes it up. Once it is awake, any flasher can rewrite the firmware.

Release 1.0.0 (20 November 2026): the whole rescue, tested and validated on the SMK-37 Elite and the FM-1. Download it.

The wiring A USB cable runs from the Raspberry Pi's USB port to the device. Red 5 volts and black ground pass straight through; black also goes to pin 9. Green D plus goes through a 100 ohm resistor to pin 11, GPIO 17. White D minus goes through a 100 ohm resistor to pin 13, GPIO 27. The red wire never touches the GPIO. USB-A in the Pi USB-C the device 5 V — never to the Pi's pins GND D+ D− 100 Ω100 Ω pin 9pin 11pin 13 Raspberry Pi header: GND · GPIO17 · GPIO27
The whole hardware side: the Pi stays at one end of the cable as the USB host, and borrows the two data wires for a moment to send the key. The copper dots are the three solder joints.

What you need

Nothing exotic, and nothing to unscrew on the keyboard.

  • A Raspberry PiPi 5 tested. Pi 4 and Pi 3 have the same pins and should work (Pi 3: use the 64-bit Raspberry Pi OS).
  • An old USB cableUSB-A to USB-C (or whatever plug your device has), a data cable, not a charge-only one. It gets opened, so not your best one.
  • Two 100 Ω resistorsOn D+ and D−: they protect the Pi and the chip if something is wrong. Any small ¼ W ones.
  • Three short wiresFemale Dupont jumpers are easiest: they push onto the Pi's pins.
  • A soldering iron and solderThree joints on the cable's wires, then tape or heat-shrink over each. 3-way Wago connectors work too, without soldering.
  • Pliers or a wire stripperTo open the cable's jacket in the middle and bare the four thin wires without cutting them.
  • A multimeterFor one check before you solder: which colour is really D+ and D− (cheap cables don't always follow the colours).

How it goes

  1. Check the cable. Multimeter in beep mode, cable unplugged, USB-A plug facing you, plastic tongue down: contact 1 is 5 V (red), 2 is D− (white), 3 is D+ (green), 4 is GND (black). Trust the beep, not the colour.
  2. Wire it as drawn above: black to pin 9, green through 100 Ω to pin 11, white through 100 Ω to pin 13. The red wire is never connected to the Pi's pins.
  3. Run the rescue script on the Pi. Its menu installs everything, shows the wiring, then guides each step.
    git clone https://github.com/Tom-Rfid/jieli-usbkey-unbrick
    cd jieli-usbkey-unbrick
    ./rescue-en.sh
  4. Send the key. The order matters: switch the device off, choose “send the key”, press Enter, then switch the device on within six seconds. The chip catches the key and starts its USB loader. Switched on before Enter, it simply boots its firmware (a MIDI device): the script sees it and tells you to start again.
  5. See it appear. lsusb shows 4c4a:8057, a device called WL80UBOOT1.00. Nothing? Switch on a little earlier or later, or try the slower key in the settings.
    dmesg: a new USB device WL80UBOOT1.00, a USB mass storage WL82 UBOOT1.00, then the script: JieLi 4c4a device found, the chip is in UBOOT mode
    The loader is up: WL80UBOOT1.00, seen as a removable disk WL82 UBOOT1.00.
    lsblk: sda, 0 bytes, WL82 UBOOT1.00, usb; a warning not to mount or format it
    It shows as an empty disk (0 B): never mount or format it.
  6. Back up the whole flash first. One megabyte, kept on a USB stick too. It holds your unit's key calibration: never restore another unit's backup onto yours.
    jl-uboot-tool: chip WL82, AC791N series, loader installed, SPI NOR flash, reading 100 % 1.00M
    The backup: the tool finds the chip (WL82, AC791N series), installs its loader and reads the 1 MB of flash in about two seconds.
  7. Write a firmware with M-Flasher: the maker's, or one of the two below. The bootloader, the key calibration and the Bluetooth pairings are left alone. The script's menu 10 hands it the firmware you chose (m-flasher firmware file.fwsc --board smk37 --restart, type yes), or opens its window.
    M-Flasher's window: SMK-37 Pro / Elite, 1 MiB flash, BACKUP, RESTORE, FLASH FIRMWARE; beside it the script's menu 10
    M-Flasher sees the unit in its loader; it backs up the flash by itself before every write.
    M-Flasher's command line: SMK-37 Elite, backup saved, 308 KiB written and verified, restart sent, SMK37 Open back on USB MIDI
    Menu 10, choice 1: the same in the terminal. It reads the flash, shows what it will write, backs up, writes, verifies and restarts the unit.
    M-Flasher's command line: FM-1, stock bootloader, backup saved, 200 KiB written and verified, OpenVALive FM-1 back on USB MIDI
    The same choice 1 on an FM-1: the unit read from the file name, the stock M-VAVE loader kept, 200 KiB written and verified, the FM-1 back on USB MIDI.

    If M-Flasher's window offers Install m-bootloader, answer no: it is not needed, both choices flash with the stock loader.

    Then switch the unit off and on again: in loader mode its screen stays dark, and the SMK-37 does not always restart by itself. Nothing is wrong.

The hard part is getting the chip to answer again. Once it shows up as a USB loader, writing a firmware is the ordinary job flashers already do well; this project is about the first part.

What has been tested

Tested, validated

With a Raspberry Pi 5, on the M-VAVE SMK-37 Elite and the M-VAVE FM-1 (the latest board, no logo under the screen): key, 1 MB backup, firmware written from the command line and from M-Flasher's window, device back (November 2026).

Should work

SMK-37 Pro (same chip family, supported by M-Flasher); Raspberry Pi 4 and 3.

Needs you

The key from a Pico (RP2040), on Linux and maybe Windows. Report what works.

No Raspberry Pi? The Pico variant

A Raspberry Pi Pico (RP2040, a few euros) can send the key instead. It only sends the key: a computer stays at the other end of the cable as the USB host, sees the loader and runs the flasher. Same cable, same two resistors: green to GP6 (pin 9), white to GP7 (pin 10), black to GND (pin 38), red never.

Run rp2040/usb_key.py in Thonny (MicroPython), switch the device on within six seconds, then look for 4c4a: in lsusb. On Linux the rescue script drives the rest (KEY_SOURCE=pico). On Windows it should work too, with M-Flasher and a WinUSB driver for the loader, but nobody has tried it yet.

This variant is prepared and not tested. If you try it, open an issue with your Pico, your device and what happened, or fork it and make it yours: a Windows guide would help a lot of people.

Questions

Do I have to open the keyboard?

No. Everything goes through the USB cable. On these boards the flash sits inside the JieLi chip anyway, so there is no flash chip to short.

Does a Raspberry Pi 3 work?

It should: the same 40-pin header, the same GPIO17 and GPIO27, and its USB ports are fine for the loader. Install the 64-bit Raspberry Pi OS, because M-Flasher's Linux package is built for arm64. Not tested yet; tell us.

Which devices?

Made for the M-VAVE SMK-37 and FM-1. Other JieLi devices answer the same key; the rest depends on the flasher.

Is it safe?

The resistors limit any mistake, the backup comes before anything is written, and the 5 V wire never meets the Pi's pins. Still: at your own risk, and not affiliated with M-VAVE or JieLi.

Something to put on it

Brought back to life? These are open firmwares for the same two instruments: a live-first synth, loops, scenes and performance gestures, on the keyboard you just rescued.

Thanks

kagaimiq / jielie documented the USB key; jl-uboot-tool speaks the loader's protocol; M-Flasher by jvitkauskas reads and writes the FM-1 and the SMK-37. This repository's own code (the scripts, the Pico key) is MIT; the tools it downloads keep their own licences.

Ton clavier n'est pas mort. Il lui faut juste une clé.

Un firmware qui plante au démarrage rend un appareil JieLi muet en USB. Ceci le ramène par son propre câble USB, depuis un Raspberry Pi, sans l'ouvrir.

Fait pour les M-VAVE SMK-37 et FM-1. Dans leur puce, un chargeur d'usine attend encore dans la ROM ; un court motif sur deux fils USB le réveille. Une fois réveillé, n'importe quel outil de flash peut réécrire le firmware.

Version 1.0.0 (20 novembre 2026) : tout le sauvetage, testé et validé sur le SMK-37 Elite et le FM-1. La télécharger.

Le câblage est le schéma en haut de la page : noir sur la broche 9, vert par 100 Ω sur la broche 11 (GPIO17), blanc par 100 Ω sur la broche 13 (GPIO27), le rouge jamais.

Le matériel

QuoiPour quoi faire
Un Raspberry PiPi 5 testé. Pi 4 et Pi 3 ont les mêmes broches et devraient marcher (Pi 3 : Raspberry Pi OS 64 bits).
Un vieux câble USBUSB-A vers USB-C (ou la prise de ton appareil), un câble de données, pas seulement de charge. Il sera ouvert.
Deux résistances de 100 ΩSur D+ et D− : elles protègent le Pi et la puce en cas d'erreur. Des ¼ W suffisent.
Trois fils courtsDes Dupont femelles, qui s'enfichent sur les broches du Pi.
Un fer à souder et de l'étainTrois soudures sur les fils du câble, puis du scotch ou de la gaine. Des Wago 3 entrées marchent aussi, sans souder.
Une pince ou une pince à dénuderPour ouvrir la gaine au milieu et dénuder les quatre petits fils sans les couper.
Un multimètreUne vérification avant de souder : quelle couleur est vraiment D+ et D−.

Les étapes

  1. Vérifier le câble. Multimètre en bip, câble débranché, prise USB-A face à toi, languette plastique en bas : contact 1 = 5 V (rouge), 2 = D− (blanc), 3 = D+ (vert), 4 = GND (noir). Crois le bip, pas la couleur.
  2. Câbler comme le schéma : noir sur la broche 9, vert par 100 Ω sur la 11, blanc par 100 Ω sur la 13. Le rouge ne touche jamais les broches du Pi.
  3. Lancer le script sur le Pi : son menu installe tout, montre le câblage et guide chaque étape.
    git clone https://github.com/Tom-Rfid/jieli-usbkey-unbrick
    cd jieli-usbkey-unbrick
    ./rescue-fr.sh
  4. Envoyer la clé. L'ordre compte : éteins l'appareil, choisis « envoyer la clé », appuie sur Entrée, puis allume l'appareil dans les six secondes. La puce attrape la clé et lance son chargeur USB. Allumé avant Entrée, il démarre simplement son firmware (un appareil MIDI) : le script le voit et te dit de recommencer.
  5. Le voir apparaître. lsusb montre 4c4a:8057, un appareil WL80UBOOT1.00. Rien ? Allume un peu plus tôt ou plus tard, ou essaie la clé plus lente dans les réglages.
    dmesg : un nouvel appareil USB WL80UBOOT1.00, un stockage USB WL82 UBOOT1.00, puis le script : appareil JieLi 4c4a trouvé, la puce est en mode UBOOT
    Le chargeur est là : WL80UBOOT1.00, vu comme un disque amovible WL82 UBOOT1.00.
    lsblk : sda, 0 octet, WL82 UBOOT1.00, usb ; un avertissement de ne pas le monter ni le formater
    Il apparaît comme un disque vide (0 o) : ne le monte et ne le formate jamais.
  6. Sauvegarder toute la flash d'abord. Un mégaoctet, à garder aussi sur une clé USB. Elle contient la calibration des touches de ton appareil : ne remets jamais la sauvegarde d'un autre.
    jl-uboot-tool : puce WL82, série AC791N, chargeur installé, flash SPI NOR, lecture 100 % 1.00M
    La sauvegarde : l'outil trouve la puce (WL82, série AC791N), installe son chargeur et lit le mégaoctet de flash en deux secondes environ.
  7. Écrire un firmware avec M-Flasher : celui du fabricant, ou l'un des deux plus bas. Le bootloader, la calibration et les appairages Bluetooth ne sont pas touchés. Le menu 10 du script lui passe le firmware choisi (m-flasher firmware fichier.fwsc --board smk37 --restart, tape yes), ou ouvre sa fenêtre.
    La fenêtre de M-Flasher : SMK-37 Pro / Elite, flash 1 Mio, BACKUP, RESTORE, FLASH FIRMWARE ; à côté, le menu 10 du script
    M-Flasher voit l'appareil dans son chargeur ; il sauvegarde la flash tout seul avant chaque écriture.
    M-Flasher en ligne de commande : SMK-37 Elite, sauvegarde, 308 Kio écrits et vérifiés, redémarrage, SMK37 Open revu en MIDI
    Menu 10, choix 1 : la même chose dans le terminal. Il lit la flash, montre ce qu'il va écrire, sauvegarde, écrit, vérifie et redémarre l'appareil.
    M-Flasher en ligne de commande : FM-1, bootloader stock, sauvegarde, 200 Kio écrits et vérifiés, OpenVALive FM-1 revu en MIDI
    Le même choix 1 sur un FM-1 : l'appareil lu dans le nom du fichier, le chargeur M-VAVE d'origine gardé, 200 Kio écrits et vérifiés, le FM-1 revu en MIDI.

    Si la fenêtre de M-Flasher propose Install m-bootloader, réponds non : ce n'est pas nécessaire, les deux choix flashent avec le chargeur d'origine.

    Ensuite, éteins l'appareil et rallume-le : en mode chargeur son écran reste noir, et le SMK-37 ne redémarre pas toujours seul. Ce n'est pas une panne.

Le plus dur, c'est de faire répondre la puce. Une fois qu'elle apparaît en chargeur USB, écrire un firmware est le travail ordinaire que les outils de flash font déjà bien ; ce projet s'occupe de la première partie.

Ce qui a été testé

Testé, validé

Avec un Raspberry Pi 5, sur le M-VAVE SMK-37 Elite et le M-VAVE FM-1 (la dernière carte, sans logo sous l'écran) : clé, sauvegarde de 1 Mo, firmware écrit en ligne de commande et par la fenêtre de M-Flasher, appareil revenu (novembre 2026).

Devrait marcher

SMK-37 Pro (même famille de puce, gérée par M-Flasher) ; Raspberry Pi 4 et 3.

Besoin de toi

La clé depuis un Pico (RP2040), sous Linux et peut-être Windows. Dis ce qui marche.

Pas de Raspberry Pi ? La variante Pico

Un Raspberry Pi Pico (RP2040, quelques euros) peut envoyer la clé à la place. Il n'envoie que la clé : un ordinateur reste à l'autre bout du câble comme hôte USB, voit le chargeur et lance le flash. Même câble, mêmes résistances : vert sur GP6 (broche 9), blanc sur GP7 (broche 10), noir sur GND (broche 38), le rouge jamais.

Lance rp2040/usb_key.py dans Thonny (MicroPython), allume l'appareil dans les six secondes, puis cherche 4c4a: dans lsusb. Sous Linux, le script fait le reste (KEY_SOURCE=pico). Sous Windows ça devrait marcher aussi, avec M-Flasher et un pilote WinUSB pour le chargeur, mais personne ne l'a encore essayé.

Cette variante est prête et pas testée. Si tu l'essaies, ouvre une issue avec ton Pico, ton appareil et ce qui s'est passé, ou fais un fork : un guide Windows aiderait beaucoup de monde.

Questions

Faut-il ouvrir le clavier ?

Non. Tout passe par le câble USB. Sur ces cartes la flash est dans la puce JieLi, il n'y a donc pas de puce flash à court-circuiter.

Un Raspberry Pi 3, ça passe ?

Normalement oui : même connecteur 40 broches, mêmes GPIO17 et GPIO27, et ses ports USB conviennent au chargeur. Installe Raspberry Pi OS 64 bits, car le paquet Linux de M-Flasher est construit pour arm64. Pas encore testé : dis-nous.

Quels appareils ?

Fait pour les M-VAVE SMK-37 et FM-1. D'autres appareils JieLi répondent à la même clé ; la suite dépend de l'outil de flash.

C'est sans risque ?

Les résistances limitent une erreur, la sauvegarde passe avant toute écriture et le fil 5 V ne touche jamais les broches du Pi. Malgré tout : à tes risques, sans lien avec M-VAVE ni JieLi.

Quelque chose à mettre dedans

Ton clavier revit ? Voici des firmwares libres pour ces deux instruments : un synthé pensé pour le live, boucles, scènes et gestes de jeu, sur le clavier que tu viens de sauver.

Merci

kagaimiq / jielie a documenté la clé USB ; jl-uboot-tool parle le protocole du chargeur ; M-Flasher de jvitkauskas lit et écrit le FM-1 et le SMK-37. Le code de ce dépôt (les scripts, la clé Pico) est sous licence MIT ; les outils qu'il télécharge gardent leur propre licence.