Repository navigation
Machine: Digitone II RAM boot over the development link (piece 5, stage one) - #1821
prodbysmolec wants to merge 78 commits into
Conversation
…SB MIDI SysEx Development bases (base.json's dev) observe stock's SysEx router at 0x4012197a (core-dn2 0.3's ev_sysex site) and answer the Analog Rytm MKII link's ident and mem requests from ev_tick through stock's sysex_send on USB. A host (tools/dn2_link.py) with a test of its frames, LINK.md, the goal row and a changelog entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…chine/digitone-ii-link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The status byte of stock's USB MIDI receive parser, 0x445090ac on OS 1.12, reads 0xF0 while a SysEx message arrives. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, not yet on a unit) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…host on a unit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and the encoder pushes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot yet on a unit) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…red rate Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot on a unit) DIAG, MARK and DIAG_STAGE are defined after their first use in link.c: move that block up before building. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upload is copied to 0x47000000 before the reset, because the bootstrap reads the flashed MAIN OS into the staged upload. Host ramboot and bootdiag; LINK.md; a test that the host's limits are the gate's. Not yet on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 40376663 | Triggered | Generic High Entropy Secret | 19be13a | src/community/agent-sessions.test.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
… the same Every Digitone II address link.c held (keys, the upload buffer, the RAM boot's copy and diagnostics, stock's boot argument, wait and drain) is a cflag in base.json, as the owner asked for one link with each machine's addresses in its recipe. The built package's sections, symbols and relocations are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in 9b34288 (then merged
Guides: |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… key link link.c keeps the keys and turns and takes repeat98#1763's screen in place of mem; one host fixture covers both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…omes in parts the unit reads itself (log OFF) mem is gone, so link.c answers log OFF (0x24) with up to 128 bytes of diag.c's log and its seq; dn2_link.py diag --save and the site's readLog read part 0, the rest, then part 0 again, and keep only a log that stood still. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t: bootdiag gets its own request With mem gone, bootdiag (0x25) sends the gate's 15 words and the two marks the base itself writes; the host reads them with one request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nto the loader: ident sends the modules' test value itself Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#1763, #1817 and #1820 are now merged in (e257145). |
|
Thanks. Binding YES to the staged container's length and CRC32 is what I asked for, and the flipped-bit case in Two things before this can go into
|
…chine/digitone-ii-link # Conflicts: # src/engine/elektron/dn2-link.ts
…achine/digitone-ii-link-keys
…nto machine/digitone-ii-diagnostics # Conflicts: # src/engine/elektron/dn2-link.ts
The unit refuses 0x21 since the link became bounded, so mem, MEM_MAX, read() and the readLog that read through them are gone, with their tests. repeat98#1820 brings the log back through log OFF (0x24). The fake unit now refuses every command link.c does not serve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-diagnostics # Conflicts: # src/engine/elektron/dn2-link.test.ts # src/engine/elektron/dn2-link.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a unit, the link held YES while an OS upload completed, then 'release' posted YES's key-up, and stock started the flash: it answers the prompt on the release as on the press. At the prompt mw_link_key now takes every key event the link posted, releases included, and counts it as refused; a person's YES and NO still reach stock. The host test asserted the old behaviour and now checks the release is taken (it fails against the old dispatch). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ii-ramboot # Conflicts: # sdk/machines/digitone-ii/LINK.md
With the link's releases held back at UPGRADE OS NOW? (repeat98#1817), ramboot's YES would be held back too: until now its press was taken at dispatch and only its release reached stock, which answered the prompt with it. The two events ramboot posts for the upload it checked (length and CRC32) are now marked in the pending queue and pass; any other key event the link posted is still taken. The host test checks both reach stock, and fails when the release is posted unmarked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
link.s,link.c):ramboot(armed) presses YES at UPGRADE OS NOW?; a site at the upgrade job's call of the erase-and-write routine (0x4010921c -> 0x40139104) resets instead when asked, after stock's wait and drain, with the data cache written out and off; a gate at 0x4000053e (the same 8 bytes as the Rytm's 0x400008c6, before stock fills SRAM and clears its RAM) checks the mailbox, unpacks with the Rytm link's depacker and enters the image. The difference: the Digitone II's bootstrap reads the flashed MAIN OS to 0x40400000, inside the staged upload (0x4038bec0), so the container is copied to 0x47000000 before the reset; the CRCs guard it. The same reset (0x80 to 0xec090000 after 27 nops) and cache settings (0xa50ce100) as the Rytm's 1.74. There is no remote YES for a flash: only a person's YES writes the flash. Hostrambootandbootdiag, LINK.md's RAM boot section, a test that the host's limits are the gate's, a changelog entry.npm run pr:ready; the gate's CRC, container parse and depacker, compiled for a computer fromlink.c, unpacked the development image's container to the linker's main OS byte for byte (202fa0da…), and its four numbers match the host's..syx70634720);rambootof the image without it (.syx59800fb7) booted from RAM,identboot 1 with the image's own CRC, the marker gone; a power cycle brought the flashed image back; then stock 1.12 flashed normally from this base (record). Seen: RSR reads 0x20 after a power cycle too, so the mailbox, not RSR, is what keeps a power cycle from booting from RAM. Not tested: cancelling by a press or disarm, a failed check, repeated RAM boots.Edge cases
ramboot, no hand on the unit🤖 Generated with Claude Code