digitone-2-modding-skill
/digitone-2-modding-skill
Develop your own firmware mods for the Elektron Digitone II (OS 1.11) — reverse-engineer and patch the ColdFire MAIN OS (UI, sequencer, parameters, p-locks, LFOs, screen) in C, add SHARC DSP audio code (effects, per-track processing, new machines), verify both in a ColdFire emulator (the real OS) and a whole-DSP SHARC emulator, then rebuild, re-sign and flash the .syx. Use for any Digitone II / DN2 / ELE3 / ADSP-21569 SHARC+ / ColdFire MCF5445x firmware work, Elektron OS image unpacking or signing, DSP load, flash budget, or flashing over USB MIDI.
- Author
- complex-ping ↗
- Repository
- digitone-2-modding-skill ↗
- Licence
- MIT
- Last repository change
- 05.11.2026
Assessment and security
- Files in this package
- 53
- Scripts
- 40
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 05.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 40 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: examples/double_time/build.py, examples/double_time/test_emu.py, examples/track_trim/build.py, examples/track_trim/test_emu.py, scripts/bootblocks.py, scripts/cfatlas.py, scripts/cfdis.sh, scripts/cfemac.py, scripts/cfhooks.py, scripts/cfkit.py, scripts/cfmod.py, scripts/cfx.sh, scripts/deadscan.py, scripts/dn2boot.py, scripts/dn2capture.py, scripts/dn2frame.py, scripts/dn2paths.py, scripts/dn2set
What it does and when to use it
Develop your own firmware mods for the Elektron Digitone II (OS 1.11) — reverse-engineer and patch the ColdFire MAIN OS (UI, sequencer, parameters, p-locks, LFOs, screen) in C, add SHARC DSP audio code (effects, per-track processing, new machines), verify both in a ColdFire emulator (the real OS) and a whole-DSP SHARC emulator, then rebuild, re-sign and flash the .syx. Use for any Digitone II / DN2 / ELE3 / ADSP-21569 SHARC+ / ColdFire MCF5445x firmware work, Elektron OS image unpacking or signing, DSP load, flash budget, or flashing over USB MIDI.
Original author description
Develop your own firmware mods for the Elektron Digitone II (OS 1.11) — reverse-engineer and patch the ColdFire MAIN OS (UI, sequencer, parameters, p-locks, LFOs, screen) in C, add SHARC DSP audio code (effects, per-track processing, new machines), verify both in a ColdFire emulator (the real OS) and a whole-DSP SHARC emulator, then rebuild, re-sign and flash the .syx. Use for any Digitone II / DN2 / ELE3 / ADSP-21569 SHARC+ / ColdFire MCF5445x firmware work, Elektron OS image unpacking or signing, DSP load, flash budget, or flashing over USB MIDI.
How it works
- Start
- Read only what the task needs
- Tools (scripts/, all paths via dn2paths.py)
- Rules that cost hardware round trips (details: references/workflow.md)
SKILL.md preview
---
name: digitone-2-modding-skill
description: Develop your own firmware mods for the Elektron Digitone II (OS 1.11) — reverse-engineer and patch the ColdFire MAIN OS (UI, sequencer, parameters, p-locks, LFOs, screen) in C, add SHARC DSP audio code (effects, per-track processing, new machines), verify both in a ColdFire emulator (the real OS) and a whole-DSP SHARC emulator, then rebuild, re-sign and flash the .syx. Use for any Digitone II / DN2 / ELE3 / ADSP-21569 SHARC+ / ColdFire MCF5445x firmware work, Elektron OS image unpacking or signing, DSP load, flash budget, or flashing over USB MIDI.
---
# Digitone II firmware modding
Everything here works on **your own copy of Elektron's Digitone II OS 1.11** (sha256 `2af43e65…72e0`). No Elektron code
ships with this skill; never commit or share extracted sections, snapshots or built images. Every mod is reversible:
reflash stock (references/setup.md "Recovery").
## Start
1. `python3 scripts/dn2setup.py` — checks / sets up the workspace (`$DN2_WORKSPACE`, default `~/dn2-workspace`): your stock
image, **dnfw** (container + signing + C builds), the m68k toolchain, **digikit** (ColdFire emulator), PyPy. It prints
the exact command for anything missing (ask the user before cloning or installing). Then `--boot` and `--template` once.
2. Work through an example, then copy it:
- `examples/double_time/` — a **ColdFire C hook** (the sequencer clock runs at 2x): `build.py` → `test_emu.py` in the
ColdFire emulator (stock control in the same test).
- `examples/track_trim/` — a **SHARC DSP mod** (track 1 −6 dB in the main mix): a new L2 code block, a CALL hook,
an fxdsl kernel; `test_emu.py` = A/B against stock in the SHARC emulator.
3. Flash: `scripts/rpc_flash.py IMAGE.syx` over USB (or Elektron Transfer), confirm on the unit.
## Read only what the task needs
| task | read |
|---|---|
| install, workspace, build, image size, flashing, recovery, other public work | `references/setup.md` |
| the hardware, the image format, free memory, the ColdFire → DSP frame and side channels, voices vs tracks | `references/firmware.md` |
| ColdFire: adding C, parameters, p-locks, trigs, sequencer clock, arp, the audio ISR budget, UI / screen / keys | `references/coldfire.md` |
| SHARC: reading, where code may go, hook sites, the hardware rules, fxdsl, the audio path, engines, FX | `references/sharc.md` |
| driving the emulators, what they cannot see, their gotchas, measuring on the unit | `references/emulators.md` |
| the working loop, rules, diagnosing a silent unit, **the spec questions to ask before building** | `references/workflow.md` |
## Tools (`scripts/`, all paths via `dn2paths.py`)
| tool | what |
|---|---|
| `dn2setup.py` | workspace check / setup from your stock image |
| `cfmod.py` | ColdFire mod builder: C / asm → linked at 0x46800000, dnfw loader, stock-checked hook sites, signed .syx, flash-size check |
| `dspblocks.py` | add L2 / DDR blocks to the SHARC boot stream, CALL hooks, 32-byte line padding |
| `fxdsl.py`, `sasm.py`, `sisa.py` | DSP kernels in Python (code + bit-exact model) / a verifying mini assembler / 48-bit packer |
| `cfatlas.py` | **start here for stock ColdFire code:** database of functions, callers, C++ classes, vtable slots and strings recovered from your image; records your findings |
| `sharcatlas.py`, `sharc_checks.py` | **start here for stock DSP code:** database of SHARC functions and callers, compact reading, your findings; run stock routines in the emulator and compare (`references/sharc.md` "Map of the code" is the overview) |
| `visa.py`, `cfdis.sh`, `cfx.sh` | SHARC disassembler; ColdFire disassembly, xrefs, functions |
| `deadscan.py` | unreferenced SHARC functions (caves) |
| `hwrules.py`, `shapecheck.py`, `encodecheck.py`, `bootblocks.py` | the static hardware-rule checks the emulator cannot do |
| `sim.py`, `simc.py`, `dn2frame.py`, `dn2boot.py`, `dspsnap.py`, `dn2synth.py`, `dsptrace.py`, `simc_check.py` | whole-DSP emulator: boot, render real patches to WAV, A/B, trace |
| `cfkit.py`, `fastemu.py`, `cfemac.py`, `cfhooks.py`, `dn2capture.py` | ColdFire emulator harness on digikit: panel, screen, sequencer, firmware calls, call rings |
| `rpc_flash.py`, `transport.py`, `send_syx.py`, `dn2rpc.c` | flash over USB MIDI RPC, start / stop, DIN-paced recovery send, Screenshot RPC |
## Rules that cost hardware round trips (details: references/workflow.md)
- **Settle the spec** in one round of questions first; **reproduce a bug as a failing emulator test** (with a stock
control) before fixing it; **emulator + static checks before every flash**; flash one clearly named image with its
sha256 and a list of what to try.
- **Voices ≠ tracks.** **Stock routines bound `slot <= 100`.** **Hooks keep every register the code after them reads.**
- **SHARC:** whole 32-byte boot blocks, stock encodings only, the PRM loop / DAG / branch rules, no L2 above 0x200B0000,
never read memory you did not write (power-on DDR is NaN garbage). The emulator runs all of these "fine".
- **The unit pays for memory, not instructions**; the ColdFire's audio ISR budget is small (late frames = silent trigs).
- **Image ≤ 2 MiB as received** (`cfmod.flash_check`); section 7 < 1 MiB.
- After 2 failed flashes on one problem, stop and restate what is proven.
- **Compare an anomaly against the previous build** before chasing it, and bisect with build variants early.
Files in this package (53)
- SKILL.md 5 KB
- examples/double_time/build.py 1 KB
- examples/double_time/hooks.S 1 KB
- examples/double_time/mod.c 1 KB
- examples/double_time/test_emu.py 1 KB
- examples/track_trim/build.py 5 KB
- examples/track_trim/test_emu.py 1 KB
- references/coldfire.md 13 KB
- references/emulators.md 7 KB
- references/firmware.md 7 KB
- references/setup.md 6 KB
- references/sharc.md 15 KB
- references/workflow.md 6 KB
- scripts/bootblocks.py 1 KB
- scripts/cfatlas.py 14 KB
- scripts/cfdis.sh 1 KB
- scripts/cfemac.py 7 KB
- scripts/cfhooks.py 3 KB
- scripts/cfkit.py 20 KB
- scripts/cfmod.py 9 KB
- scripts/cfx.sh 1 KB
- scripts/deadscan.py 4 KB
- scripts/digikit-local.patch 4 KB
- scripts/dn2boot.py 2 KB
- scripts/dn2capture.py 10 KB
- scripts/dn2frame.py 10 KB
- scripts/dn2paths.py 2 KB
- scripts/dn2rpc.c 6 KB
- scripts/dn2setup.py 7 KB
- scripts/dn2synth.py 8 KB
- scripts/dspblocks.py 6 KB
- scripts/dspsnap.py 3 KB
- scripts/dsptrace.py 4 KB
- scripts/emu.py 30 KB
- scripts/encodecheck.py 5 KB
- scripts/fastblock.c 6 KB
- scripts/fastemu.py 17 KB
- scripts/fxdsl.py 32 KB
- scripts/hwrules.py 7 KB
- scripts/rpc_flash.py 7 KB
- scripts/sasm.py 9 KB
- scripts/send_syx.py 1 KB
- scripts/shapecheck.py 5 KB
- scripts/sharc_checks.py 5 KB
- scripts/sharcatlas.py 9 KB
- scripts/sim.py 60 KB
- scripts/simc.py 19 KB
- scripts/simc_check.py 4 KB
- scripts/simc_core.c 57 KB
- scripts/sisa.py 7 KB
- scripts/transport.py 1 KB
- scripts/visa.py 28 KB
- scripts/zcache.py 4 KB
Versions
The database has no other skills named digitone-2-modding-skill.
Database snapshot: 13.11.2026 · package version f770e0ad2b5f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100fm1-platform
Build, extend, test and safely ship custom firmware for the M-VAVE FM-1 pocket synthesizer (JieLi AC791N / WL82, pi32v2) made from the FM-1 Firmware Kit (Felucca's platform, an app in firmware/app/). Use this skill for any work on such a firmware - a screen, a sound engine, a… - 100mpc-plugin-dsp
Write or change the audio code (DSP, voices, MIDI handling, parameters, state) of an MPC plugin using the SDK framework. Use when adding features, fixing sound problems, adding parameters, changing synthesis or effect algorithms, or porting existing DSP to an MPC plugin. - 100audio-engineering-patterns
Audio production concepts, DSP fundamentals, mixing/mastering techniques, and DAW workflows. Bridges modular synthesis philosophy with practical audio engineering. Triggers on audio production, mixing, sound design, DSP, or music technology requests.