Repository navigation
Releases
FM1Kit 0.8.0
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
ResourceRegionreads a firmware's resource region (fm1-base'sRES1format), from aNAME-res.binfile or a package's part of type 101.FwscPackage.resourcesgives a package's with its flash address, andcarriesOtherResourcessays 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 aNAME-res.binover USB-MIDI to the firmware it belongs to, once that's running, as fm1-base's installer does.fm1probe write-resourcesruns it, from aNAME-res.binor a package that carries them, andSimulatedFM1takes resources for tests.- After a USB-MIDI install of a package that carries its resources,
installandresumeask 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 aswritingResources. When it can't, such as while it's still moving an older build's projects, the install still finishes, after the newUpdateEvent.resourcesNotWritten(_:), and fm1probe warns and says to runfm1probe write-resources FILE.fwsc. FlashPlan.installingwrites 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'safterwardssays 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-installprintsafterwards, andfm1probe inspectshows 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.InstallProgresscounts 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 withawait. AswitchoverUpdateEventneeds the newwritingResourcesandresourcesNotWrittencases.- 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_COLORset, stays plain text.
Fixed
- fm1probe's
identifyasks 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.
monitorandreplayname 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
--resumeand a fresh fm1probe found it, andwatchshowed 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 asFM-1_74500rather than "unknown, naming FM-1_015 and FM-1_74500". - A download-mode plan says it writes resources only when they change.
- fm1probe's
--logfile 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
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'sbootloaderMismatchandpackageRefused, andfm1probe inspectsuggest 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,
LeavingGuideandPackageCheck. HARDWARE_TESTING.md records the Transporter tests as stage Y.
FM1Kit 0.7.0
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:)andFlashPlan.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'stargetis the full flash image its web app writes; a firmware reaching past 0x92FFF, which it won't write, is refused withFlashPlanError.outsideTransporterRange(_:).- fm1probe's
flash-image FILE.fwsc BACKUP.bin IMAGE.bin [--flash-id HEX]saves that image, talking to no device. Transporter,SerialTransporterLinkandSimulatedTransporter: 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'swl82loader.binafter checking its SHA-256 (Transporter.Loader). m-bootloader's needs Transporter firmware whoseldrrequest takes a loader's address and size; with v0.1.0's,TransporterError.loaderNotTakensays to usewl82loader.bin.chip()refuses a chip that isn't an FM-1's,backUp(_:progress:)reads the flash twice against the Transporter's CRC-32, andwrite(_: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 areTransporterError.- fm1probe's
transporter status|check|backup|install|restore|start, with--loader wl82loader.bin(instead of m-bootloader's),--port PATH,--wait SECONDSand--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-dataonce 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 of0xFC000onwards. 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'scheck FILE.fwsc [--strict]prints it and exits with 1 on a failure, or on a warning with--strict.- fm1probe's
devices,identify,inspectandchecktake--json: one JSON object on standard output, whoseformatnames 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
monitornames each message, shows the bytes of those it doesn't know (--hexfor all), and with--log FILEwrites every message, bytes and all, asinstall --logdoes.replay LOG.csvprints such a log, summing up each run of image reads (--allfor each one), then counts by kind, the identities in order and the longest silence. Older logs replay too. FlashComparison,FwscPackage.compared(with:)andFlashBackup.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 asVM,BTIF,USRorSEQ64), the data every firmware keeps from0xFC000, the factory data from0xFF000, and everything else. Differences are given as runs of 4 KB sectors. fm1probe'sdiff 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 aSimulatedFM1, or anyMIDITransport, 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 installwas run against it end to end, from V15 to AMB-1, through CoreMIDI. SimulatedFM1says when it ignores the upgrade command because it wasn't given a package.fm1probe --version, andfm1probe licences, which prints the licences of the code and files it contains. A Homebrew formula inocean/tapis on its way.FM1Updater(transport:timing:device:alsoProbing:)andFM1Updater.probes(_:): an updater also probes the ports a person chose, for a firmware that renames its USB port soisProbeable(_:)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'sdevices,install,install-bootloader,restore-voices,backupanddownload-modetake--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.pyregenerates the code fromSources/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
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 (nilon 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,namecan still be the old firmware's.FM1Updater.isProbeable(_:)also matches the USB device's own name.- fm1probe's
ports,identifyanddevicesshow 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)", andidentify --port NAMEmatches 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'sflash-commands take--wait SECONDSfor 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, andFM1DeviceSummary.flashChipIDandhasNewerFlashChip: the flash chip, as firmwares built on felucca-bsp since November 2026 report it in the handshake reply (Felucca#320), such as ESTAMPIE;nilfrom others. fm1probe'sidentifyshows it, and theflash-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'sinspectshows 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 asFM-1_123forFM-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), waitingUpdaterTiming.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 atBAD CONFIGon 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.checkingandInstallProgressno 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.InstallProgressreports it asinstalling, andInstallProgress.Stage.checkingis 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 leaveinstallwaiting outwriteIdleLimitand throwingstalled(.writing), with the new firmware already playing. If it comes back in its loader, the error is stilldisconnected(.writing), so the write can be resumed. - fm1probe no longer goes quiet in a terminal that an earlier program left non-blocking, such as
screenon 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. FlashPlantakes 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
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
LeavingGuidenow 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 twowarnings, not one.packageRefused's explanation names TransitFM1, and says MIDIMON 0.4 and LOOM-8 take V16 too.fm1probe install --reinstall-officialdescribes 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
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, andfm1probe devicesand--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.updateCodereads 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 aLeavingRouteto V15, V16, open firmware, other custom firmwares and m-bootloader,warningsto show before installing, and step-by-stepinstructions(to:). It'sCodable, so apps can save it with the FM-1, which also tells TransitFM1 apart from V15.refusesV15OverOtherBootloadersis nowupdateCode == .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, withFM1Identity.officialV16andFM1Identity.isOfficial.OfficialFirmwaregainsidentity,isRedistributable(only V15 may be included in an app; download V16 from M-VAVE) andofficial(V15 and V16).FM1DeviceSummarynames V16, and V16 over V16 is areinstall, as for V15. Tested on hardware in stage R.FlashBackup.firmwarenames V16 ("V16 (FM-1_016)") by itsapp.bin's SHA-256, as read from a real FM-1, instead of "unknown, naming FM-1_016".InstallOptions.confirmsReinstallingOfficialandInstallCheck.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.alreadyInstalledfor V15 now says so, and its advice isconfirm.fm1probe install --reinstall-officialdoes the same.
Changed
FlashPlan.installing(_:onto:includingBootloader:erasingSettings:)is nowinstalling(_:onto:includingBootloader:erasingSavedData:), and erases more: everything from the end of the new image up to0xFBFFF, which covers every saved-data region firmwares declare (VM,BTIF, V15's voice banks inUSR, V16'sSEQ64) 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'sUSRregion that makes V15 play one note at a time, which only this clears (tested on hardware, stage R). It never touches the boot area,0xFC000onwards or the factory data. Installing V15 this way writes its factory voices and the rest of itsUSRdata straight back into the erased voice banks, so it's never silent and needs no voice restore.fm1probe flash-install --erase-settingsis now--erase-saved-data.bootloaderMismatchandrefusesV15OverOtherBootloadersexplain 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.packageRefusedsays firmwares based on Felucca 1.6.1 refuse V16 as well as open firmware, whatever the bootloader (stage R).bootloaderMismatchno longer says download mode keeps the FM-1's bootloader: after V16, V15 is installed there with its own bootloader, fresh.bootloaderMismatchandpackageRefusedname 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 nowchooseAnotherFirmware, notneedsComputer, since the way out works from a phone.fm1probe inspectsuggests MIDIMON 0.4 or LOOM-8 for a firmware that refuses V15.
Fixed
DownloadModeError.accessRefusedpromised 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.refusesV15OverOtherBootloaderswas 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
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, andFM1Updater(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.FM1DeviceSummaryisIdentifiableand has theportit answered on. FM1Advice.Action.chooseDevice, the advice formultipleDevices, which wasreconnect.fm1probe deviceslists the devices, numbered, and--device N|SERIALchooses one forinstall,install-bootloader,restore-voices,backupanddownload-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
FM1Kit no longer warns that SikkenWorks' firmwares refuse V15 when the FM-1's bootloader has been changed.
Fixed
refusesV15OverOtherBootloaderswas 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
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 asstalled(.staging), whose advice was to try again; the advice is now.needsComputer, as forbootloaderMismatch.FM1Updater.installBootloader(_:fromAnyFirmware:events:)andfm1probe 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
bootloaderMismatchandrefusesV15OverOtherBootloadersdescribe 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
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-bspafd83ed), 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;usesFeluccaUpdateCodenow just says whether a firmware is on the platform.fm1probe inspecttells 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