Skip to content

Releases

FM1Kit 0.8.0

Choose a tag to compare

@ocean ocean released this 16 Nov 06:13

FM1Kit and fm1probe now install a firmware's resources, such as samples, as well as the firmware. An fm1-base package that carries them gets them written by its update loader, in download mode, or by the firmware itself once it's running (fm1probe write-resources). After a USB-MIDI install, FM1Kit asks the new firmware for them in case the loader left them out. fm1probe's output is styled in a terminal, and 0.7.x's lost FM-1 during installs is fixed. Tested on hardware in stages Z and AA.

The API changed: create CoreMIDITransport on the main actor (or with await), and handle UpdateEvent.writingResources and .resourcesNotWritten in switches. Use .upToNextMinor(from: "0.8.0").

Added

  • ResourceRegion reads a firmware's resource region (fm1-base's RES1 format), from a NAME-res.bin file or a package's part of type 101. FwscPackage.resources gives a package's with its flash address, and carriesOtherResources says when it carries one only its update loader can write, such as Melodee's. otherResourcesRange(in:) finds those in a flash image.
  • FM1Updater.writeResources(_:progress:) sends a NAME-res.bin over USB-MIDI to the firmware it belongs to, once that's running, as fm1-base's installer does. fm1probe write-resources runs it, from a NAME-res.bin or a package that carries them, and SimulatedFM1 takes resources for tests.
  • After a USB-MIDI install of a package that carries its resources, install and resume ask the new firmware for them, as fm1-base's loader can leave them out without failing the install. A firmware that holds them answers at once; otherwise it writes them, reported as writingResources. When it can't, such as while it's still moving an older build's projects, the install still finishes, after the new UpdateEvent.resourcesNotWritten(_:), and fm1probe warns and says to run fm1probe write-resources FILE.fwsc.
  • FlashPlan.installing writes a package's resources in download mode, after the firmware: when erasing saved data, or when that flash is blank past any resources already there. Otherwise, and for the Transporter, the plan's afterwards says to write them over USB-MIDI once it's running (fm1probe write-resources FILE.fwsc); for Melodee's packages, it says to install the firmware again over USB-MIDI. fm1probe flash-install prints afterwards, and fm1probe inspect shows a package's resources. Over another firmware, the Transporter's plan gives one step for both: installing again in download mode, erasing saved data.
  • UpdateEvent.writingResources(fraction:requests:): the update loader writing a package's resources after the firmware, or the new firmware writing them once it's running. Before, progress sat at 100% meanwhile. fm1-base's loader leaves resources the FM-1 already holds, reading only their header, which isn't reported. InstallProgress counts it as installing.

Changed

  • CoreMIDITransport.init(clientName:) is @MainActor, so its CoreMIDI client is created on the main thread. Code off the main actor now creates it with await. A switch over UpdateEvent needs the new writingResources and resourcesNotWritten cases.
  • fm1probe's output is styled in a terminal: sections with bold headings (such as FM-1, Plan, Confirm and Writing), bold labels, a red "Stopped:", a yellow "Warning:", green when something finishes, dim progress and timestamps, and the steps to take afterwards numbered under "Next" at the end. Output to a file or pipe, or with NO_COLOR set, stays plain text.

Fixed

  • fm1probe's identify asks twice, as the updater does: on macOS 27.2 the first message after opening a port can go unanswered, so it said "no answer" with the FM-1 running. Seen on hardware in stage AA on 2026-11-16.
  • A download-mode plan that erases saved data says when that clears resources only the update loader writes, such as Melodee's sounds, before anything is written. Without erasing, it no longer says to install again when the FM-1 already holds them.
  • monitor and replay name the resource request, and an install's output says the firmware didn't write its resources after the line saying what the FM-1 reports.
  • From 0.7.0, fm1probe created its CoreMIDI client off the main thread, where CoreMIDI never told it about devices coming and going. An install then lost the FM-1 when it restarted into its update loader and again into its new firmware ("The update loader didn't appear", "The FM-1 didn't come back"), though --resume and a fresh fm1probe found it, and watch showed no changes. Seen on hardware in stage Z on 2026-11-15.
  • A backup's firmware description no longer counts an update loader's identity such as ota-FM-1_015, which every fm1-base firmware's code holds, so CORES reads as FM-1_74500 rather than "unknown, naming FM-1_015 and FM-1_74500".
  • A download-mode plan says it writes resources only when they change.
  • fm1probe's --log file is made with the first message, so a run that finds no FM-1 no longer leaves an empty log that blocks the next run with the same name.

FM1Kit 0.7.1

Choose a tag to compare

@ocean ocean released this 14 Nov 09:57

When V15, V16 or an open firmware refuses a package, FM1Kit and fm1probe now suggest MIDIMON 0.5 as the firmware to install first. MIDIMON 0.5 is the first to know the FM-1's newer flash chip; on an FM-1 with that chip, 0.4 may not install the next firmware. MIDIMON 0.5 hasn't been tested on hardware yet.

Nothing in the API changed. Use .upToNextMinor(from: "0.7.1").

Changed

  • LeavingGuide, PackageCheck, FM1UpdateError's bootloaderMismatch and packageRefused, and fm1probe inspect suggest only MIDIMON 0.5 as the firmware to install first when one refuses V15, V16 or open firmware. LOOM-8 still takes them, but from 0.8 its sounds need files that only its own installer sends, so installed on its own it would sound broken.
  • The README is rewritten, and covers the FM-1 Transporter, LeavingGuide and PackageCheck. HARDWARE_TESTING.md records the Transporter tests as stage Y.

FM1Kit 0.7.0

Choose a tag to compare

@ocean ocean released this 13 Nov 08:24

FM1Kit and fm1probe can now work with an FM-1 through the FM-1 Transporter without its web app, check a firmware package before release, compare two packages or backups part by part, and run a simulated FM-1 as virtual CoreMIDI ports. FM1Rescue's built-in flash loader is now m-bootloader's 1.3, from its release v2.3. On an FM-1, the Transporter commands passed with both flash loaders, including an install over another firmware, and flash-backup, flash-restore and flash-install passed with loader 1.3. Not yet seen on hardware: --port NAME with a firmware that actually renames its USB port.

Nothing in the API was removed or changed in a way that breaks 0.6 code. Use .upToNextMinor(from: "0.7.0").

Added

  • FlashPlan.installingWithTransporter(_:onto:flashID:) and FlashPlan.transporterWritable: plans a firmware install for the FM-1 Transporter, which reaches the chip's boot ROM when no firmware starts, against its backup of the FM-1. The plan's target is the full flash image its web app writes; a firmware reaching past 0x92FFF, which it won't write, is refused with FlashPlanError.outsideTransporterRange(_:).
  • fm1probe's flash-image FILE.fwsc BACKUP.bin IMAGE.bin [--flash-id HEX] saves that image, talking to no device.
  • Transporter, SerialTransporterLink and SimulatedTransporter: work with an FM-1 through the FM-1 Transporter's data port, without its web app. waitForBootMode(timeout:waiting:) waits for the FM-1 to be switched on (or asks a running V15 to switch), sendLoader(_:status:) sends m-bootloader's flash loader, built in, or jl-uboot-tool's wl82loader.bin after checking its SHA-256 (Transporter.Loader). m-bootloader's needs Transporter firmware whose ldr request takes a loader's address and size; with v0.1.0's, TransporterError.loaderNotTaken says to use wl82loader.bin. chip() refuses a chip that isn't an FM-1's, backUp(_:progress:) reads the flash twice against the Transporter's CRC-32, and write(_:progress:) checks the flash still matches the plan's backup, writes only the changed sectors from the top down and reads it all back. Errors are TransporterError.
  • fm1probe's transporter status|check|backup|install|restore|start, with --loader wl82loader.bin (instead of m-bootloader's), --port PATH, --wait SECONDS and --simulated BACKUP.bin. It finds the Transporter by the name it gives itself on USB, needs no sudo, saves the flash before writing, and writes only after the person types YES (tested on hardware in November 2026, with both loaders).
  • FlashPlan.afterwards: what to do once a plan is written. Installing with the Transporter over another firmware warns that its saved data stays (the Transporter can't write it), and says to install again in download mode with --erase-saved-data once the firmware runs. V15 over Jiant FM played every note with portamento (seen on hardware in November 2026).
  • PackageCheck: a pre-release report on a firmware package, read from the package alone. It checks that the image is enciphered for the FM-1's chip key with whole files, which flash chips its code checks for, and that its saved data is whole sectors clear of the image and of 0xFC000 onwards. It also says which firmwares will install it, by the update loader it brings, how people can switch from it to V15 and V16 with V15's bootloader or m-bootloader, and whether the FM-1 Transporter can put it back. fm1probe's check FILE.fwsc [--strict] prints it and exits with 1 on a failure, or on a warning with --strict.
  • fm1probe's devices, identify, inspect and check take --json: one JSON object on standard output, whose format names its layout and version (fm1probe-devices-1, fm1probe-identify-1, fm1probe-inspect-1, fm1probe-check-1). Fields that aren't known are left out, and anything else goes to standard error.
  • FM1MessageDescription: names a SysEx message to or from an FM-1 and what it carries: the handshake and identities, the update protocol's reads, finishes and responses, V15's voice bank messages, open firmware's capability, arming and project library messages, and MIDI's device inquiry. A known command with a bad checksum says so.
  • fm1probe's monitor names each message, shows the bytes of those it doesn't know (--hex for all), and with --log FILE writes every message, bytes and all, as install --log does. replay LOG.csv prints such a log, summing up each run of image reads (--all for each one), then counts by kind, the identities in order and the longest silence. Older logs replay too.
  • FlashComparison, FwscPackage.compared(with:) and FlashBackup.compared(with:): two flash images compared part by part: the boot area, the app table, each file (deciphered), each region declared for saved data (such as VM, BTIF, USR or SEQ64), the data every firmware keeps from 0xFC000, the factory data from 0xFF000, and everything else. Differences are given as runs of 4 KB sectors. fm1probe's diff FIRST SECOND [--json] prints it for two packages or two backups, after what differs about the files as a whole, and exits with 0, 1 or 2 as diff(1) does.
  • CoreMIDIVirtualDevice: publishes a SimulatedFM1, or any MIDITransport, as virtual CoreMIDI ports, so other apps (M-UPGRADE, a web updater, your own) can talk to it as to an FM-1. When it restarts into its update loader, the ports go away and come back, as a USB device's do.
  • fm1probe's simulate [FILE.fwsc] [--identity ID] [--loader] [--flash-chip HEX] [--seconds N] runs one, reporting V15 unless told otherwise, checks every byte an updater sends against the package, and prints each message and what the simulated FM-1 does. fm1probe install was run against it end to end, from V15 to AMB-1, through CoreMIDI.
  • SimulatedFM1 says when it ignores the upgrade command because it wasn't given a package.
  • fm1probe --version, and fm1probe licences, which prints the licences of the code and files it contains. A Homebrew formula in ocean/tap is on its way.
  • FM1Updater(transport:timing:device:alsoProbing:) and FM1Updater.probes(_:): an updater also probes the ports a person chose, for a firmware that renames its USB port so isProbeable(_:) leaves it out. Each name matches a port's name or USB product name exactly, ignoring case, so the choice holds when the FM-1 comes back on a new port. fm1probe's devices, install, install-bootloader, restore-voices, backup and download-mode take --port NAME.
  • A Release workflow checks each release's tag matches fm1probeVersion, then opens a pull request in ocean/homebrew-tap that moves the formula to the release.

Changed

  • FM1Rescue's built-in flash loader is m-bootloader's 1.3, from its release v2.3, in place of 1.2. It's the same loader code, built with no JieLi toolchain. Every download-mode command uses it (tested on hardware in November 2026).
  • FM1Rescue builds m-bootloader's flash loader into its code, rather than shipping it in a resource bundle, so fm1probe is one file and an app using FM1Rescue has no bundle to copy. Without the bundle beside it, fm1probe's download-mode commands used to crash. scripts/embed-flash-loaders.py regenerates the code from Sources/FM1Rescue/Resources/, and a test checks it matches them and m-bootloader v2.3's published SHA-256s.

Fixed

  • SysEx arriving in a CoreMIDI event packet longer than 64 words was cut short and lost. FM-1s send short packets over USB, but CoreMIDI joins a long message into one packet between apps.

FM1Kit 0.6.0

Choose a tag to compare

@ocean ocean released this 07 Nov 11:26

FM1Kit knows the newer flash chip in FM-1s sold since autumn 2026, and asks firmwares built on felucca-bsp for their whole identity. An install finishes when the new firmware answers, even if the loader never asked to finish, and an interrupted write now tells people not to switch the FM-1 off. Installs, m-bootloader over V15's and V16's boot areas and --wait were tried on an FM-1 with the first chip (stages T to X), with the extra identity query in every install. Not yet seen on hardware: an FM-1 with the newer chip, a firmware that shortens its identity, and a loader that restarts without asking to finish.

To move from 0.5: InstallProgress.Stage.checking is gone (the second pass counts as installing). UpdateEvent.checking is unchanged, but it's the loader's second pass, in which Felucca's loader writes: show it as installing, not checking. Use .upToNextMinor(from: "0.6.0").

Added

  • MIDIPortDescriptor.usbProductName: the name the USB device reports for itself now, read from IOKit on macOS (nil on iOS). macOS keeps the name it first saw for a device's USB IDs and socket, so after switching to a firmware that shares another's IDs, as CLEANSWEEP and ESTAMPIE do, name can still be the old firmware's.
  • FM1Updater.isProbeable(_:) also matches the USB device's own name.
  • fm1probe's ports, identify and devices show the USB device's own name when macOS still shows an older one, such as "FM-1 CLEANSWEEP (macOS still calls it FM-1 ESTAMPIE)", and identify --port NAME matches either name.
  • USBDownloadModeConnection.open(waitingUpTo:) waits for an FM-1 to appear in download mode and captures it at once, looking every 20 ms. It's for an FM-1 whose firmware crashes at start-up and passes through download mode by itself, only for a few seconds each time. fm1probe's flash- commands take --wait SECONDS for it.
  • FM1FlashChip: the FM-1's flash chips, the first units' P25Q80 (0x856014) and the UC25HQ80 (0xB36014) of those sold since autumn 2026. Firmwares that only know the first keep saves on the newer one only until it's switched off, and often can't take an update.
  • FM1Identity.flashChipID(inHandshakeReply:), FoundDevice.flashChipID, and FM1DeviceSummary.flashChipID and hasNewerFlashChip: the flash chip, as firmwares built on felucca-bsp since November 2026 report it in the handshake reply (Felucca#320), such as ESTAMPIE; nil from others. fm1probe's identify shows it, and the flash- commands say when an FM-1 has the newer chip.
  • FwscPackage.flashChipSupport (FlashChipSupport): which flash chips a firmware's code checks for, from the 32-bit constants it holds: both (bothChips), the first FM-1s' alone (firstChipOnly, which on the newer chip usually keeps saves only until switched off), or neither (noCheck, as V15). fm1probe's inspect shows it. Every fixed firmware seen so far holds both IDs. V16 names the first chip and another, but not the newer one; whether it saves on the newer chip isn't known.
  • FM1Message.fullIdentityQuery: firmwares built on felucca-bsp since November 2026 answer the handshake with their identity cut to its name, '_' and three digits, such as FM-1_123 for FM-1_1234567, because M-UPGRADE 3.11 refuses longer ones, and give the whole identity when asked with this. FM1Updater asks after a three-digit answer, and after any answer that carried no flash chip, for firmwares that report it only when asked (not V15's or V16's, nor the loader's), waiting UpdaterTiming.fullIdentityWait (300 ms) for firmwares that don't answer it. So these firmwares are named, checked and confirmed after an install by their whole identity, and their flash chip is known either way.
  • FlashPlan.installing(_:onto:) warns before installing m-bootloader on the newer flash chip, on which it has hardly been tried, and refuses a version that would stop at BAD CONFIG on every start: before 1.3 with V16's boot configuration, before 2.0 with one m-bootloader 2 has shortened (FlashPlanError.bootloaderTooOld(_:minimum:)).

Changed

  • FlashSession.write(_:progress:) works from the top of the flash down, so a firmware's start-up code is the last thing replaced. A firmware whose start-up code brings the FM-1 back to download mode by itself still does that if writing stops part-way.
  • FlashPlan.installingBootloader(from:onto:) writes the package's whole boot area, its boot configuration included, as an official update does, instead of keeping the FM-1's. M-VAVE's bootloader reads the configuration, which m-bootloader 2 shortens, and V16's differs from V15's.

Fixed

  • The errors for an update interrupted while writing say to keep the FM-1 switched on and resume, as its screen stays dark while it updates and it may not start again until the update is finished, rather than that it stays in update mode until one finishes. On an FM-1 (stage W3), Felucca's loader answered again 12 s after the cable went back in; with its screen dark, the FM-1 was then switched off, and it no longer started. fm1probe's install warning says the same.
  • UpdateEvent.checking and InstallProgress no longer present a loader's second pass as a check: Felucca's loader checks the package in its first pass and erases and writes in its second. InstallProgress reports it as installing, and InstallProgress.Stage.checking is removed. fm1probe calls it the second pass.
  • An install finishes when the package's firmware answers after nearly all of the application area has been written and the loader has gone quiet (UpdaterTiming.returnCheckAfter, 5 s), or when the FM-1 goes away at that point and comes back running firmware, even if the loader never asked to finish. Before, an FM-1 that restarted into the new firmware without asking, as one installing AMB-1 did, could leave install waiting out writeIdleLimit and throwing stalled(.writing), with the new firmware already playing. If it comes back in its loader, the error is still disconnected(.writing), so the write can be resumed.
  • fm1probe no longer goes quiet in a terminal that an earlier program left non-blocking, such as screen on a USB serial port that went away. It makes its output blocking again when it starts, and if any output was lost anyway, it says so and exits with an error.
  • FlashPlan takes the newer flash chip as an FM-1's when the flash doesn't show the model, as with broken firmware, instead of refusing to restore or install.
  • FlashPlan.installing(_:onto:) installs m-bootloader on an FM-1 with V16's boot area, whose configuration starts after V16's larger bootloader, and on one where m-bootloader 2 shortened it, instead of saying the boot area can't be read.

FM1Kit 0.5.1

Choose a tag to compare

@ocean ocean released this 03 Nov 06:11

TransitFM1 refuses V16, as tested on an FM-1 in stage S, so the switching guide now sends people from it to V16 through MIDIMON 0.4 or LOOM-8.

Fixed

  • LeavingGuide now sends people from TransitFM1 to V16 through MIDIMON 0.4 or LOOM-8: TransitFM1 refuses V16 at the header (tested on an FM-1 in stage S), since it takes only firmware images the size of V15's. Its steps to V16 no longer say the FM-1 keeps its bootloader, or that TransitFM1 must be confirmed as not V15. A TransitFM1 guide now has two warnings, not one.
  • packageRefused's explanation names TransitFM1, and says MIDIMON 0.4 and LOOM-8 take V16 too.
  • fm1probe install --reinstall-official describes the install by the package's identity, since it can't tell whether TransitFM1 is being installed over V15 or V15 over TransitFM1.

No API changes: move from 0.5.0 with .upToNextMinor(from: "0.5.1").

FM1Kit 0.5.0

Choose a tag to compare

@ocean ocean released this 02 Nov 11:13

M-VAVE's V16, a guide to switching away from each firmware, and a fresh start that clears every firmware's saved data, all tested on an FM-1 in stage R. It also includes 0.5.0-beta.1's choice of device, which has been tested only with simulated devices so far.

Added

  • From 0.5.0-beta.1: choosing a device when more than one is connected (FM1Updater.devices(), FM1Updater(transport:timing:device:), FM1Advice.Action.chooseDevice, and fm1probe devices and --device). It's tested with simulated devices only so far.
  • LeavingGuide: how to switch away from a firmware, worked out from its package before it's installed. FwscPackage.updateCode reads how the firmware installs others (UpdateCode: M-VAVE's, Felucca's original or fixed check, V15 recognised by hash, or a loader of its own), and the guide combines it with the FM-1's bootloader (FM1BootArea) to give a LeavingRoute to V15, V16, open firmware, other custom firmwares and m-bootloader, warnings to show before installing, and step-by-step instructions(to:). It's Codable, so apps can save it with the FM-1, which also tells TransitFM1 apart from V15. refusesV15OverOtherBootloaders is now updateCode == .feluccaOriginalCheck. Stage R confirmed its routes to and from V16 on hardware.
  • OfficialFirmware.v16: M-VAVE's V16 (FM-1_016), which their downloads page has served since 21 October 2026, with FM1Identity.officialV16 and FM1Identity.isOfficial. OfficialFirmware gains identity, isRedistributable (only V15 may be included in an app; download V16 from M-VAVE) and official (V15 and V16). FM1DeviceSummary names V16, and V16 over V16 is a reinstall, as for V15. Tested on hardware in stage R.
  • FlashBackup.firmware names V16 ("V16 (FM-1_016)") by its app.bin's SHA-256, as read from a real FM-1, instead of "unknown, naming FM-1_016".
  • InstallOptions.confirmsReinstallingOfficial and InstallCheck.canReinstallOfficial: installing M-VAVE's official firmware (V15) on an FM-1 that reports its identity, once the person confirms it's running a firmware that reports it on purpose, such as TransitFM1. Without it, FM1Kit couldn't take an FM-1 from TransitFM1 back to V15. alreadyInstalled for V15 now says so, and its advice is confirm. fm1probe install --reinstall-official does the same.

Changed

  • FlashPlan.installing(_:onto:includingBootloader:erasingSettings:) is now installing(_:onto:includingBootloader:erasingSavedData:), and erases more: everything from the end of the new image up to 0xFBFFF, which covers every saved-data region firmwares declare (VM, BTIF, V15's voice banks in USR, V16's SEQ64) and what they leave outside them, so the new firmware starts from its defaults instead of meeting another firmware's leftovers. V16 leaves data in V15's USR region that makes V15 play one note at a time, which only this clears (tested on hardware, stage R). It never touches the boot area, 0xFC000 onwards or the factory data. Installing V15 this way writes its factory voices and the rest of its USR data straight back into the erased voice banks, so it's never silent and needs no voice restore. fm1probe flash-install --erase-settings is now --erase-saved-data.
  • bootloaderMismatch and refusesV15OverOtherBootloaders explain that V16 brings a different bootloader from V15, so firmwares with Felucca's original check refuse V16 on an FM-1 with V15's bootloader, and V15 once V16's is installed.
  • packageRefused says firmwares based on Felucca 1.6.1 refuse V16 as well as open firmware, whatever the bootloader (stage R). bootloaderMismatch no longer says download mode keeps the FM-1's bootloader: after V16, V15 is installed there with its own bootloader, fresh.
  • bootloaderMismatch and packageRefused name MIDIMON 0.4 as well as LOOM-8 as the firmware to install first, and put that before download mode: a firmware with Felucca's original check takes either, and they take V15 and open firmware (tested on hardware). Their advice is now chooseAnotherFirmware, not needsComputer, since the way out works from a phone.
  • fm1probe inspect suggests MIDIMON 0.4 or LOOM-8 for a firmware that refuses V15.

Fixed

  • DownloadModeError.accessRefused promised that macOS would ask to allow access to a removable volume. macOS asks only a program in the logged-in person's session; a launchd helper is refused without being asked, whatever its Full Disk Access.
  • refusesV15OverOtherBootloaders was true for Quixotic7's TransitFM1 and RemoteFM1. They install every package with a loader of their own, with no boot-area compare, so they take V15 whatever the bootloader (though not open firmware).

Using it

.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.5.0")),

Full changelog: 0.4.5...0.5.0

FM1Kit 0.5.0-beta.1

FM1Kit 0.5.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@ocean ocean released this 28 Oct 00:01

A pre-release for testing with more than one FM-1 (or other M-VAVE device) connected. It has been tested only with simulated devices; use 0.4.5 otherwise.

Added

  • Choosing a device when more than one is connected: FM1Updater.devices() lists every device that answers the handshake, and FM1Updater(transport:timing:device:) makes an updater that works with the chosen one alone. It leaves the other devices alone and follows the chosen one as it restarts into its update loader and back, on a new port. FM1DeviceSummary is Identifiable and has the port it answered on.
  • FM1Advice.Action.chooseDevice, the advice for multipleDevices, which was reconnect.
  • fm1probe devices lists the devices, numbered, and --device N|SERIAL chooses one for install, install-bootloader, restore-voices, backup and download-mode.

Two devices in the chip's USB download mode at once are still refused.

Using it

Swift Package Manager doesn't pick pre-releases for a range, so pin it exactly:

.package(url: "https://github.com/ocean/FM1Kit.git", exact: "0.5.0-beta.1"),

Full changelog: 0.4.5...0.5.0-beta.1

FM1Kit 0.4.5

Choose a tag to compare

@ocean ocean released this 28 Oct 00:01

FM1Kit no longer warns that SikkenWorks' firmwares refuse V15 when the FM-1's bootloader has been changed.

Fixed

  • refusesV15OverOtherBootloaders was true for SikkenWorks' ETCH, BEETLE and B1. Their update code is on Felucca's platform with its original check, but it recognises V15 by its flash image's SHA-256 and takes it whatever the bootloader. They still refuse M-VAVE's open firmware over a changed bootloader.

Hardware testing (stage P)

A way out over USB-MIDI for firmwares with Felucca's original update check: Felucca 1.6.1, unable to install V15 over m-bootloader or Open V12's bootloader, took MIDIMON 0.4, which took Open V12 and V15. Any firmware on Felucca's fixed update code (MIDIMON, LOOM-8) works as that step between.

Using it

.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.4.5")),

Full changelog: 0.4.4...0.4.5

FM1Kit 0.4.4

Choose a tag to compare

@ocean ocean released this 27 Oct 06:53

FM1Kit now tells a firmware refusing a package straight after its header apart from a stalled install, and its messages cover any changed bootloader: M-VAVE's open firmware traps firmwares with Felucca's original update check just as m-bootloader does.

Added

  • FM1UpdateError.packageRefused(requests:): the firmware read the package's header and stopped, refusing it. Firmwares with Felucca's original update check do this for m-bootloader's installer and for update loaders they don't recognise, and copies of Felucca 1.6.1 for M-VAVE's open firmware too. These were reported as stalled(.staging), whose advice was to try again; the advice is now .needsComputer, as for bootloaderMismatch.
  • FM1Updater.installBootloader(_:fromAnyFirmware:events:) and fm1probe install-bootloader --from-any-firmware: send m-bootloader's installer whatever firmware is running, for hardware tests of how other firmwares treat it.
  • SimulatedFM1.Options.refusesAfterHeader.

Changed

  • bootloaderMismatch and refusesV15OverOtherBootloaders describe any changed bootloader (m-bootloader, or M-VAVE's open firmware's), and point to firmwares with Felucca's updated check, such as LOOM-8, as a way back. Estampie is no longer listed among the firmwares that refuse V15.

Fixed

  • The README's and llms-full.txt's recovery sections describe download mode as FM1Rescue uses it.

Hardware testing (stage O)

After Open V12, DUB-1 1.3.0 refused V15 but took Open V12 again; Felucca 1.6.1 refused both (FAILED -15, FAILED -5); LOOM-8 0.8 took Open V12 and V15. Melodee also refused V15 over m-bootloader.

Using it

.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.4.4")),

Full changelog: 0.4.3...0.4.4

FM1Kit 0.4.3

Choose a tag to compare

@ocean ocean released this 26 Oct 05:31

Apps can now tell which firmwares really refuse M-VAVE's V15 over USB-MIDI while m-bootloader is installed. Firmwares built on the fixed update code of Felucca's platform take V15 and are no longer flagged.

Added

  • FwscPackage.refusesV15OverOtherBootloaders: true when a firmware has Felucca's update code without Charles Vestal's fix (felucca-bsp afd83ed), so it refuses V15 over USB-MIDI once m-bootloader is installed. Firmwares on the fixed code, such as LOOM-8 0.8 and Del Rio 0.9, only check that the package's bootloader is one the FM-1 can start, and aren't flagged. Use this to warn before installing a firmware; usesFeluccaUpdateCode now just says whether a firmware is on the platform.
  • fm1probe inspect tells the two apart.
  • Hardware testing (stage M): LOOM-8 0.8 took V15 over USB-MIDI on an FM-1 with m-bootloader 1.2, where DUB-1 1.3.0 refused it.

On the packages tried, the new property is true for Felucca 1.6.1, AMB-1 1.3, DUB-1 1.3.0, X0X 1.1.0, FoMni 0.4, Sloop 2.8.1, Melodee 1.5.0, Skiff 2.0.1 and CS-1 0.3.2, and false for LOOM-8 0.8, Del Rio 0.9, V15 and m-bootloader's installer. TransitFM1, which installs every package with its own loader, takes V15 too but is still flagged.

Using it

.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.4.3")),

Full changelog: 0.4.2...0.4.3