Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
eef5309
Digitone II development link, stage one: read-only diagnostics over U…
prodbysmolec Nov 19, 2026
3cae010
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 19, 2026
09b5e8e
Digitone II link: ident and mem answered on a unit over USB
prodbysmolec Nov 19, 2026
5c858ad
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
d6aa114
Link record: host versions
prodbysmolec Nov 19, 2026
209fbfd
Link record: the marker showed
prodbysmolec Nov 19, 2026
ba425e3
Digitone II link: wait a tick while stock is mid-SysEx on USB
prodbysmolec Nov 19, 2026
76a93ac
Link record: the build with the mid-SysEx wait ran on the unit
prodbysmolec Nov 19, 2026
2b3256e
Link record: sounds normal
prodbysmolec Nov 19, 2026
2235fd0
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
4e64382
Merge base/digitone-ii-next
prodbysmolec Nov 19, 2026
f058783
Digitone II link host: read the screen through mem
prodbysmolec Nov 19, 2026
3d85508
Changelog: the Digitone II link reads the screen
prodbysmolec Nov 19, 2026
61b1aab
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
4705b13
Digitone II link, stage two: panel keys and encoders while armed (WIP…
prodbysmolec Nov 19, 2026
f21e71d
Digitone II link host: turns in steps of up to 8
prodbysmolec Nov 19, 2026
2d18a61
Digitone II link, stage two: keys and encoders ran on a unit
prodbysmolec Nov 19, 2026
d9d09ba
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
8aa4df1
Digitone II link host: the panel's key names, and FUNC held from the …
prodbysmolec Nov 19, 2026
adaa652
Digitone II link host: the page, perform, save, tap and unison keys, …
prodbysmolec Nov 19, 2026
b3716da
Digitone II link: the diagnostics log, the Octatrack's layout (WIP, n…
prodbysmolec Nov 19, 2026
c406cf5
Digitone II diagnostics: the measured frame rate and a freeze test (WIP)
prodbysmolec Nov 19, 2026
3896790
Digitone II diagnostics: the log read from a unit, with a FREEZE
prodbysmolec Nov 19, 2026
0271416
Diagnostics record: the sound went on, and a load window at the measu…
prodbysmolec Nov 19, 2026
dd33a49
Digitone II link: RAM boot, ported from the Rytm's (WIP: not built, n…
prodbysmolec Nov 19, 2026
e5af602
Digitone II link: RAM boot builds; gate's depacker checked on a computer
prodbysmolec Nov 20, 2026
d8e2aae
Digitone II link: its addresses in the recipe, the code byte for byte…
prodbysmolec Nov 20, 2026
5a3653e
Goal: piece 5 started with the RAM boot
prodbysmolec Nov 20, 2026
728c176
Digitone II RAM boot ran on a unit
prodbysmolec Nov 20, 2026
d9abf4a
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 22, 2026
6d07f4c
Digitone II link host: a new sequence number per request; accept a me…
prodbysmolec Nov 22, 2026
f571f3a
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 22, 2026
3cffce1
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Nov 22, 2026
9d1971f
Digitone II link: releases survive disarm; no remote key while an OS …
prodbysmolec Nov 22, 2026
e1fa45f
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Nov 22, 2026
3603e0b
Digitone II diagnostics: the FREEZE test waits for the person at the …
prodbysmolec Nov 22, 2026
bd1b195
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 22, 2026
3f32988
Digitone II RAM boot: success only for a RAM boot of the image asked …
prodbysmolec Nov 22, 2026
f9001ee
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 22, 2026
5872263
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
cc3714c
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
5ec4305
Digitone II link: the unit chooses what it returns (counters and the …
prodbysmolec Nov 25, 2026
4cb6244
Digitone II: the site's client reads the screen with the link's scree…
prodbysmolec Nov 25, 2026
9b34288
Digitone II RAM boot: YES only for the staged container the host desc…
prodbysmolec Nov 25, 2026
ac10be8
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
1f790a3
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
91877de
Digitone II: diag.h copied again from the Octatrack's after merging main
prodbysmolec Nov 25, 2026
6f2fbba
Digitone II link: a press or turn the link queued before UPGRADE OS N…
prodbysmolec Nov 25, 2026
0a4b505
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
fd9a48e
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
302246c
Digitone II diag --save: only a log that stood still through the read…
prodbysmolec Nov 25, 2026
32e72ea
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
33d8356
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
5455764
Digitone II: diag.h copied again from the Octatrack's after merging main
prodbysmolec Nov 25, 2026
5ba096b
Digitone II RAM boot: the CRC comment says a quarter, not an eighth
prodbysmolec Nov 25, 2026
ca58dea
Merge #1763 (the unit chooses what the link returns) into the key link
prodbysmolec Nov 25, 2026
cdc0242
Merge #1817 and #1763 into the diagnostics: the log comes in parts th…
prodbysmolec Nov 25, 2026
463959d
Merge #1820, #1817 and #1763 into the RAM boot: bootdiag gets its own…
prodbysmolec Nov 25, 2026
299572a
Digitone II tests: the diag.h layout test back, lost in the merge
prodbysmolec Nov 25, 2026
f18b36a
Digitone II tests: the diag.h layout test back, lost in the merge
prodbysmolec Nov 25, 2026
16b3cab
Digitone II host fixture: unpack_reply, so it never meets link.c's ow…
prodbysmolec Nov 25, 2026
557decf
Digitone II host fixture: unpack_reply, so it never meets link.c's ow…
prodbysmolec Nov 25, 2026
3c1c435
Digitone II host fixture: unpack_reply, so it never meets link.c's ow…
prodbysmolec Nov 25, 2026
5767ee2
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
e257145
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 25, 2026
c6aae36
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 26, 2026
0103efa
Merge remote-tracking branch 'origin/machine/digitone-ii-link' into m…
prodbysmolec Nov 26, 2026
e77c825
Merge remote-tracking branch 'origin/machine/digitone-ii-link-keys' i…
prodbysmolec Nov 26, 2026
1858c7f
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 26, 2026
7419aed
Remove mem from the site's Digitone II link client
prodbysmolec Nov 26, 2026
eb424ae
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Nov 26, 2026
a27e60a
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Nov 26, 2026
e367727
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 26, 2026
2c11e18
Describe how the host reads the diagnostics log now (log OFF, not mem)
prodbysmolec Nov 26, 2026
5d37e3f
Hold back the link's releases at UPGRADE OS NOW? too
prodbysmolec Nov 26, 2026
43a464f
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Nov 26, 2026
e2e7962
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 26, 2026
1a68b5e
Let ramboot's own YES answer the prompt, and nothing else the link posts
prodbysmolec Nov 26, 2026
bb96239
Digitone II link: host test for a host that keeps asking and never reads
prodbysmolec Nov 30, 2026
d5e8a18
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Nov 30, 2026
e4ef117
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Nov 30, 2026
89af426
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Nov 30, 2026
a69b413
Digitone II link: a late YES from the link never answers UPGRADE OS NOW?
prodbysmolec Dec 5, 2026
c4729f6
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Dec 5, 2026
d92e4b7
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Dec 5, 2026
51daf46
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
950f23a
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
5b4c19e
Digitone II: the link started in the profile and the recipe table
prodbysmolec Dec 5, 2026
1386cf9
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Dec 5, 2026
b955b04
Digitone II goal: the link row says this link has not run on a unit yet
prodbysmolec Dec 5, 2026
9d00c3d
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
2fc5b09
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
e85be06
Digitone II diagnostics: LOG pages the whole version 2 image, so the …
prodbysmolec Dec 5, 2026
962aed3
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
19eab80
Digitone II link tool: the RAM boot's wait reads a vanishing port as …
prodbysmolec Dec 5, 2026
8925061
Digitone II link: a SysEx flood stands stock's UI still, the link's o…
prodbysmolec Dec 5, 2026
49d469c
Merge the link's flood note; a person at the panel holds the host off…
prodbysmolec Dec 5, 2026
1a743f4
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
ff6bf54
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
d744866
Digitone II link: keep link.c as the unit ran it (its comment is part…
prodbysmolec Dec 5, 2026
5df3354
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
3c6c1ff
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
58ba5e5
Digitone II: the record of the 5 December unit session, linked from L…
prodbysmolec Dec 5, 2026
f5fa9b3
Merge the 5 December record into the keys; LINK.md's status 6 says wh…
prodbysmolec Dec 5, 2026
a6f53d3
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
78843fc
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
4d0da6c
Digitone II record: the flood's audio and the listening, measured lat…
prodbysmolec Dec 5, 2026
f2c062d
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Dec 5, 2026
fd24eae
Merge branch 'machine/digitone-ii-link-keys' into machine/digitone-ii…
prodbysmolec Dec 5, 2026
1cf5905
Merge branch 'machine/digitone-ii-diagnostics' into machine/digitone-…
prodbysmolec Dec 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/2026-11-19-digitone-ii-diagnostics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: development bases keep the Octatrack's diagnostics log (starts and UI freezes with the keys pressed before them, and five-minute load windows), read over the USB link in the same format the site reads from the Octatrack.
1 change: 1 addition & 0 deletions changelog/2026-11-19-digitone-ii-link-keys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: the development link can now play panel keys and encoder turns from the computer over USB while SETTINGS > REMOTE CTRL is on, and stops for a few seconds when someone at the unit presses a key. Release bases do not have it.
1 change: 1 addition & 0 deletions changelog/2026-11-19-digitone-ii-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: development bases now carry a read-only USB link for diagnostics, in the Analog Rytm MKII link's format: the unit's link status, memory reads and a picture of its screen. Release bases do not have it.
1 change: 1 addition & 0 deletions changelog/2026-11-20-digitone-ii-ram-boot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: development bases can boot an image from RAM over USB without writing the flash; a power cycle brings the flashed OS back.
1 change: 1 addition & 0 deletions changelog/2026-11-25-digitone-ii-link-bounded.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: the development link no longer reads memory at an address the computer names. It answers only with its own counters and the screen, sent as one frame even while the display changes. Release bases do not have the link.
2 changes: 1 addition & 1 deletion docs/MACHINE_RECIPE.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Read this before you plan a core, a base or the first modules for any machine ot
| Analog Four MKII | research | elekloader core-a4 0.2 | not started | none known | as the Rytm: same platform |
| Digitakt II | preview | Modwerk base from core-dt2 1.1's source (elekloader#221 at `0df8409`), with sequencer and project hooks | started: the site builds the [pinned base](../sdk/machines/digitakt-ii/elekloader/README.md) `8650bb8a` (`e88273ed`, which passed on one unit on 17 November 2026, with kit data ended before the project archive); downloads off. The USB link is not started (SysEx over USB MIDI, from the Rytm's) | digikit (emulator only) | the exact build on a second unit, then the USB link ([goal](../sdk/machines/digitakt-ii/GOAL.md)) |
| Syntakt | research | Modwerk boot probe | not started | digiemu's port (open upstream pull request; emulator only) | the core stage, planned as the base |
| Digitone II | preview | core-dn2 0.3, with the Digitakt II 1.1 additions, in toonst's elekloader fork: boots and its six UI events run on units (18 November 2026) | started: Modwerk's builder carries the device (`machine:base` and the site's kit), and `machine:base` builds a base from the Digitakt II's source at core-dn2 0.3's addresses (19 November 2026), which ran on a unit and is bound (`base-binding.json`, the site's catalog); the page builds it for beta users, and Modwerk's packer keeps images under the unit's 2 MiB update limit | digikit (the author's; emulator only) | the Modwerk base, reusing the Digitakt II's with its own recipe as the Rytm MKI does, then flashing from the site and the link ([goal](../sdk/machines/digitone-ii/GOAL.md)) |
| Digitone II | preview | core-dn2 0.3, with the Digitakt II 1.1 additions, in toonst's elekloader fork: boots and its six UI events run on units (18 November 2026) | started: Modwerk's builder carries the device (`machine:base` and the site's kit), and `machine:base` builds a base from the Digitakt II's source at core-dn2 0.3's addresses (19 November 2026), which ran on a unit and is bound (`base-binding.json`, the site's catalog); the page builds it for beta users, and Modwerk's packer keeps images under the unit's 2 MiB update limit. The development link started over USB MIDI SysEx in development bases: the link's counters, the screen and the diagnostics log in the Octatrack's layout, no address a client names, and a RAM boot of an uploaded image that writes nothing to the flash ([LINK.md](../sdk/machines/digitone-ii/LINK.md)) | digikit (the author's; emulator only) | the Modwerk base, reusing the Digitakt II's with its own recipe as the Rytm MKI does, then flashing from the site and the link ([goal](../sdk/machines/digitone-ii/GOAL.md)) |
| Model:Cycles | research | Modwerk base from core-mc 0.3's source (Elekloader v0.11.0) plus a key-LED hook ([events.json](../sdk/machines/model-cycles/events.json)) | started: built by `npm run machine:base`; runs on a unit with a test module on the LED hook; the USB link started over USB MIDI SysEx: in every base the identity, the audio load, a diagnostics log in the Octatrack's layout and the Octatrack's runtime loader (modules on trial, kept, undone, refused while playing), on a unit flashed with the release base (24 November 2026); development bases add memory reads, keys, encoder turns and a RAM boot ([LINK.md](../sdk/machines/model-cycles/LINK.md)); the site builds the pinned base from the owner's OS file as a local preview, downloads off; the MCP's `device_status` reads its identity, `device_load` the audio load, `device_log` the log, and its trial tools load modules (24 November 2026) | digiemu (emulator only) | the first module, Control All Config ([guide](../sdk/machines/model-cycles/README.md)) |
| Analog Keys | research | none | not started | none known | the machine steps first ([add a machine](ADD_A_MACHINE.md)) |
| Zoom MultiStomp | preview (MS-70CDR); research (MS-50G, MS-60B, G1on) | MIDISTOMP on the MS-70CDR; the MS-50G and MS-60B need builds from their own OS | browser base build and flash over Web MIDI. Shared MCP status and load tools use the same link. Load needs the MIDISTOMP SysEx load reply. | Ziddle (emulator only) | Prove a RAM-only effect trial and rollback on the MS-70CDR before wiring review, trial, Keep and Undo. See the [plan](ZOOM_MULTISTOMP.md#plan). |
Expand Down
11 changes: 11 additions & 0 deletions docs/verification/2026-11-19-digitone-ii-diagnostics-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Digitone II: the diagnostics log, in the Octatrack's layout, read from a unit, 19 November 2026

The Digitone II development link's diagnostics (`sdk/machines/digitone-ii/elekloader/base/diag.c`, the Octatrack's `diag.c` and its layout, `diag.h`, byte for byte), on the contributor's Digitone II (@prodbysmolec), installed over USB with the OS upgrade protocol (the developer pressed YES).

- **Rates, measured first** with a build that counted them (`diag` over 30.27 s of wall time): the frame interrupt (`ev_frame_params`) ran 1,501.6 times a second (48 kHz / 32), the UI tick 30.03 times, one in 50 frames. The log's clock is the frame count at 1,500 a second.
- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `bf387913e19d7b321d13fb03d361377a707d4e4b05c42239cd4cfc00e3d8466b` (.run 8,113, .bss 10,560 bytes; 16 sites; no jump to an odd address), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher: `.syx` `68b73acd89bd30f062d26ce378f62ea1324bcc432beb62e29318aeca3a68800c`.
- **Read by the site's parser:** `dn2_link.py diag --save` read the 6,148-byte log through `mem`, and `parseDeviceLog` (`src/engine/elekloader/device-log.ts`, unchanged) read it: version 2, boot 1, a START incident at second 0.
- **FREEZE:** `dn2_link.py freeze 6` (armed) held the UI tick for 6 s: the display, keys and LEDs stood still (the developer: "das komplette Gerät ist gefreezt"), and the developer heard the sound go on ("sound läuft weiter", on the third run); then the unit went on. The log held a FREEZE incident at second 14 with `a` 9,050 frames (6.03 s). A second run logged another at second 156, 9,050 frames, with the last key pressed before it (FLTR, 0x03); a third at second 315, with the 16 keys before it.
- **Load window, at the measured rate:** after five minutes the log held one: minute 5, `samples` 9,026 UI ticks (30.1 a second), `tick_gap` 9,050 frames (the freeze in that window), the meters 0.
- **Earlier build:** with a placeholder rate, the log also wrote a load window (five minutes counted at 1,000 frames a second) that the parser read.
- **Not tested:** a real freeze (one that ends in a restart is lost: the log lives in .bss), long sessions.
13 changes: 13 additions & 0 deletions docs/verification/2026-11-19-digitone-ii-link-keys-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Digitone II: the development link plays panel keys and encoders, 19 November 2026

Stage two of the Digitone II development link (`sdk/machines/digitone-ii/LINK.md`) on OS 1.12. Contributor's Digitone II (@prodbysmolec), on the unit of the [stage one record](2026-11-19-digitone-ii-link-on-a-unit.md), flashed over USB with the OS upgrade protocol of `os-upgrade.ts` (the developer pressed YES on the unit).

- **Found on the unit first, with stage one's `mem`:** the UI queue's getter (0x4013747a) holds 0x4059e214; the queue keeps 1,024 message pointers at 0x405c6a34. With the developer pressing and turning, the panel's messages read as the Analog Rytm MKII's: kind 0 a key (its id, flags 0x01 press and 0x10 release, a time), kind 1 an encoder (its number, the delta in the top byte). Keys, each pressed alone in a named order: TRIG (page) 0x01, SYN 0x02, FLTR 0x03, AMP 0x04, FX 0x05, MOD 0x06, PERFORM 0x07, SAVE PROJ 0x08, TAP TEMPO 0x09, YES 0x0a, UP 0x0b, NO 0x0c, LEFT 0x0d, DOWN 0x0e, RIGHT 0x0f, TRK 0x10, FUNC 0x11, KB SETUP 0x12, REC 0x13, PLAY 0x14, STOP 0x15, PAGE 0x16, PTN 0x17, SONG 0x18, TRIG 1 0x19 to TRIG 16 0x28, ARP 0x33, TRANSPOSE + 0x34, NOTE EDIT 0x35, TRANSPOSE - 0x36, UNISON 0x32. The ids between, 0x29 to 0x31, fit the encoders' pushes (stock reads is_key_held(encoder + 40) on a turn); they were not pressed alone. Encoders: A to H 1 to 8, LEVEL 9, each read alone. is_key_held is 0x4011fac4 with its tables at 0x401f3d10 (111 ids) and 0x445a2e30.
- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `300c83be199c70fca8f31b6203953fdd1a2b92938415020d0fa855c4d18fe4b1` (.run 6,629, .bss 4,364 bytes; 16 sites; no jump to an odd address), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified (sections 2, 4, 5, 7 and 8 byte for byte, the in-place depack): `.syx` `4fd37eac11d36a393163975e9cd98ec2baa1fa841c68e63670839202a0f48249`. It flashed and booted; `ident` read armed at boot.
- **Encoders:** `turn A 3` showed ATK's value change; turns of one detent each moved Attack Time about a fifth of a step (530 to 117), turns of up to 8 a message moved it faster, as the panel's fast turns do: up to Attack Time=127, then down to 0, each read on the screen through `screen`.
- **Keys:** `press PLAY`, four seconds, `press STOP`: the pattern ran and stopped (the developer).
- **The link's own events:** after 650 posted keys and turns, `ident` counted no person and refused none.
- **Arm:** SETTINGS ended with REMOTE CTRL: ON. The developer pressed YES on it: REMOTE CTRL: OFF, and `press STOP` came back not armed. YES again turned it on.
- **A person at the unit:** the developer pressed a key while armed; the link's next key came back "a person is at the unit" (status 5), and one 3.5 s later went through.
- **A held key:** while the link held FUNC, the SYN page's ATK read DEL (FUNC's second parameter) and the panel's own bitmap at 0x445a2e30 read all zero, so stock saw the hold through is_key_held's site; after `let FUNC` it read ATK again.
- **Not tested:** a held key with a second key from the host (FUNC + TRIG), a module's replayed key, keys and turns while the queue is full (the link answers busy), long sessions.
14 changes: 14 additions & 0 deletions docs/verification/2026-11-19-digitone-ii-link-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Digitone II: the development link answers over USB, 19 November 2026

Stage one of the Digitone II development link (`sdk/machines/digitone-ii/LINK.md`, #1763) on OS 1.12, flashed with Elektron Transfer. Contributor's Digitone II (@prodbysmolec), on the same unit as the [base record](2026-11-19-digitone-ii-base-on-a-unit.md).

- **Stock file:** `Digitone_II_OS1.12.syx`, `7e5b8a73…2ceb35`. Elektron Transfer 1.10.3 on macOS, closed before the host ran.
- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `7b14964a…` (.run 4,712, .bss 3,572 bytes; 15 sites), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified (sections 2, 4, 5, 7 and 8 byte for byte, the in-place depack, under the unit's update limit): `.syx` `8e87168ee2dd6d8b150d6ca364cb8e3a8ef9634ce66dd42320651636386aeecd`.
- **Host:** `sdk/machines/digitone-ii/tools/dn2_link.py` with mido 1.3.3 and python-rtmidi 1.5.8 on macOS; the unit's USB port shows as "Elektron Digitone II".
- **Boot:** it flashed and booted; the marker square showed top right (`hello-marker-dn2`).
- **`ident`:** answered every request: `link 1, received 1, dropped 0, ticks 1496`, then `received 2 … ticks 1502`, and `received 6, dropped 0, ticks 1681` after the requests below. The link counts each request, drops none, and its tick count rises with stock's UI task.
- **`mem 0x47f00000 64`:** returned 64 bytes. They are the start of the development package's `.run` section as it was built, with the boot loader's relocation filled in (the first absolute address reads `0x47f012b4`, inside the package's own area). The bytes are not recorded here, because `.run` carries stock bytes the package copies.
- **Refusals:** `mem 0x0 16` (outside DDR and SRAM) and `mem 0x47f00000 200` (over 128 bytes) each came back with status 4, out of range.
- **Second build, the same day:** the link waits a tick while stock's USB MIDI receive parser is mid-SysEx (its status byte at 0x445090ac, LINK.md). Development package `3ef5b3f0f7fb53cf44e64330256fb42c4b8395e982e949f11f53dcaf4c02ce96` (.run 4,724, .bss 3,572 bytes; 15 sites), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified as above: `.syx` `f580bf70d28f3e212e36ed2e7ea62bd0275817407df8eae74fc04e20b3cb88e1`. It flashed and booted with the marker, and sounds played normally; `ident` answered (`received 1, dropped 0, ticks 215`, then `received 5 … ticks 246`), `mem 0x47f00000 16` returned the start of `.run`, `mem 0x445090ac 4` read the status byte as 0x00 between messages, and `mem 0x0 4` was refused, out of range.
- **Screen:** `dn2_link.py screen` on the second build read the frame pointer (0x44623fc8) and the frame through `mem` and showed the unit's screen as it was: pattern A01, UNTITLED, tempo 120.0, the SYN 4 page with its envelope and filter, the marker top right.
- **Not tested:** a link request while other SysEx arrives on USB (a host cannot interleave two SysEx messages on one USB cable, so the wait was not seen to hold an answer back), a request over MIDI DIN (the link must ignore it), long sessions with the development base.
12 changes: 12 additions & 0 deletions docs/verification/2026-11-20-digitone-ii-ram-boot-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Digitone II: an image booted from RAM over the development link, 20 November 2026

The Digitone II link's RAM boot (#1821, `sdk/machines/digitone-ii/LINK.md#ram-boot`) on the contributor's Digitone II (@prodbysmolec), OS 1.12, with a MIDI DIN recovery path ready (an MPK49's MIDI OUT to the unit's MIDI IN; notes arrived over it on 20 November).

- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `6f72efd1402dffd76bd0520e26dacfdca96edf1c1fad8ef1fcea84629ba77ba4` (.run 10,389, .bss 10,592 bytes; 18 sites; no jump to an odd address). The pull request's code, with the addresses moved into the recipe, builds `d34296c8…` with the same sections, symbols and relocations (only the build record's source hashes differ). Linked by Elekloader 0.11.0's patcher: with `hello-marker-dn2` 1.0, `.syx` `706347202a44c577ded210d94112efe5da5b94c251986b596b6e60ecc0ec1aba` (flashed); without it, `.syx` `59800fb730582ea3ed881a89eb1b0977be88dd78a19ec11743065030b50f7b50` (booted from RAM).
- **Before the unit:** the gate's CRC, container parse and depacker, compiled for a computer from `link.c`, unpacked the first image's container to the linker's main OS byte for byte.
- **1, flashed:** the marker image over USB (the developer pressed YES): it booted with the marker; `ident` read boot 0. `bootdiag` showed stock's upload buffer as the code expects it after a flash: the struct's length 0x1d57f0 (the container just flashed), "ELE3" at +8, RSR 0x20.
- **2, RAM boot:** `dn2_link.py ramboot` of the image without the marker, no hand on the unit: the upload, then `ramboot`; the unit saved and restarted, and `ident` read **boot 1, booted from RAM, image CRC 6a84376e**, the image's own. `bootdiag`: the mailbox MWBT with its check word, the marks 0x4d57001d (armed, stock's struct at the staged address, its length the host's) and stage 6 (the container copied), RSR 0x20. The screen showed the SYN page without the marker; the developer confirmed it and that the unit played normally.
- **3, power cycle:** the flashed image came back with the marker (`ident` boot 0, the upload buffer empty). Nothing was written to the flash.
- **4, a flash from this base:** stock 1.12 over USB, YES by the developer: it erased, wrote and booted stock normally (the link no longer answered; the developer: "alles gut"). The new site in the upgrade job's path passes a normal flash through.
- **Seen:** RSR read 0x20 after the power cycle too, so on this unit the gate's software-reset check does not tell a power cycle from a reset; the mailbox, gone with the DDR's contents at power-off, is what keeps a power cycle from booting from RAM.
- **Not tested:** cancelling a request by a press or `disarm`, an image that fails a check (the gate then boots the flashed OS), repeated RAM boots, long sessions on an image booted from RAM.
Loading
Loading