Skip to content
altstrument

tr8-re

Firmware for TR-8 (Roland)

Reverse engineering notes, a Python patcher and a browser patcher for Roland TR-8 system program 1.61, with patches for motion recording of knob and fader moves, a separate pattern length per instrument, a bar chain of up to eight bars per pattern and conditional trigs.

by yo1frenchtoast, Andrei Dabrakou

ActiveSource: openMIT
Top view of the Roland TR-8: black panel with green trim, tune and decay knobs, eleven faders, a round Scatter control and sixteen lit step buttons
Photo: Roland, manufacturer product image, via roland.com
Distribution
Patches a stock file you supply
Requires stock
System program 1.61 (tr8_sys_v161.zip from Roland's support page; the patcher accepts only this file)
License notes
The LICENSE file covers the code and documents in the repository only. Roland's firmware is not included and is not licensed by it.
Source
github.com https://github.com/yo1frenchtoast/tr8-re
Homepage
yo1frenchtoast.github.io https://yo1frenchtoast.github.io/tr8-re/

Description

The patcher reads Roland's own TR8_UPD.BIN for version 1.61, refuses any other file, and writes a modified update that the TR-8's updater accepts, with the size and byte sums recomputed. The motion patch records a knob or fader move at the current step while TR-REC is held with the sequencer running, plays it back on later passes, and erases a control's motion while CLEAR is held. All 49 controls can record, for 16 steps and two variations each. The motion is kept in RAM in one buffer shared by all patterns and is lost at power-off. A second patch gives each instrument its own pattern length for polyrhythms, stored with the pattern; the LAST STEP button blinks in TR-REC while the selected instrument has its own length. A third patch, the bar chain written by Andrei Dabrakou, lets each pattern play up to eight bars, each with its own A and B step set, and a fourth patch adds conditional trigs (an A:B condition or a probability on a step, saved in flash); the patches can be combined in any set. The README reports each patch and the combined builds working on a real TR-8. A web page runs the same patcher in the browser on Roland's file, with output that the repository's tests check against the Python tool byte for byte. The repository also documents the update file format, the boot loader and updater, the sequencer and control handling, and a developer guide for writing further patches, with emulation tests that need Ghidra and Unicorn. It holds no Roland code, and its .gitignore excludes the firmware and analysis folders.

Install notes

Use the web patcher at yo1frenchtoast.github.io/tr8-re (tick any of the patches and drop in Roland's file), or run python3 -I tools/tr8patch.py TR8_UPD.BIN TR8_UPD_motion.BIN on the unzipped Roland file, back up patterns and kits over USB, then flash it by Roland's procedure: hold step button 1 at power-on, copy the file as TR8_UPD.BIN to the TR-8 drive and press step button 2 after ejecting. The update never writes the boot loader or the updater, and holding step button 1 at power-on always reaches the updater, so reinstalling the original file recovers a bad build. Do not cut the power during the write; the README says Roland then requires service. The build keeps version number 161.

Version history

tr8-re version history
VersionDateNotes
v1.22026-11-28
Adds conditional trigs, where a step can take an A:B condition or a probability, set in TR-REC with TAP and the SCATTER dial and saved in flash. They combine with motion, per-instrument length and the bar chain. Also makes the bar chain wait while the TR-8 writes its own patterns and settings.
v1.12026-11-18
In TR-REC the step cursor of the selected instrument now loops over its own length, holding A or B on a side with no bar sequence lights pad 1 green, and the bar display returns to normal after a change to a pattern without bars. Each change is reported as passing on the unit; documents are corrected after a full retest of the pattern-length patch.
v1.02026-11-15
First release, with the motion recording, per-instrument length and bar chain patches, each reported as passing on the unit. No patched firmware is attached; you build yours from Roland's v1.61 file with the web flasher or tools/tr8patch.py. Adds a changelog and a release number shown in the patcher and the web flasher.
main @ 2dc24d22026-11-13
Commit before the first release. Since the previous entry it adds the bar chain patch, contributed by Andrei Dabrakou, which gives each pattern up to eight bars with their own A and B step sets and is offered in the web flasher alone or combined with the motion and pattern-length patches; the README reports it working on the unit.
main @ 48850602026-11-12
Commit before the first release. Since the previous entry it adds a second patch for per-instrument pattern length, set from the panel and saved with each pattern, a combined motion and pattern-length build, and a web flasher on GitHub Pages; the commit messages report the length patch working on the unit.
main @ 4d5d6842026-11-11
Commit before the first release.

Back to TR-8