Rendered from lab/README.md in the repository.
Everything we know about the DUO's behaviour was measured here. Each experiment is a short JSON script of read-only operations: read, search, checksum, wait, and the few permitted writes described in docs/PROTOCOL.md. The GBA runs the script from its own RAM. Experiments were queued in lab_job.json and run with lab_runner.py from Thonny, which refuses firmware updates and anything that isn't read-only.
python maxduo_saves.py --lab script lab/sessions/session7/s7_e1.json # run one experiment
python lab_runner.py # run the queue in lab_job.json
lab_runner_log.txtis the complete output from the real DUO, 22–25 October 2026. Trainer names, IDs and save contents have been redacted, and excerpts of Datel's stored data omitted. Nothing else is changed.RESULTS.txtis the test summary for v4.1, with the real-hardware confirmations.early/holds the first experiments, run with the lab edition firmware.sessions/holds one folder per session: the job list (lab_job.json) and its scripts.handover_history_to_2026-11-07.mdis the hand-over as it grew from 29 October to 7 November, moved out of docs/HANDOVER.md on 8 November to keep that short.
Sessions
| When | Session | Question | Answer |
|---|---|---|---|
| 22 Oct, 00:19 | early: probe, exit_test, readonly_diag |
What does the save area look like through each mapping? Does the Sanyo chip's ID mode exit cleanly? | The chip is a Sanyo LE26FV10N1TS (62 13). Reads straight after a swap gave nothing useful |
| 22 Oct, 00:24 | early: read_bank0 ×3, then bank0_v2 |
Why does reading the save return only FF? | Reading the save first gives FF every time (CRC DEAB7E4E). Reading the game header first gives the real save. This was the discovery of the wake read |
| 22 Oct, 11:27 | early: tests12 (t1a–c, t2) |
Does the wake persist? Which reads wake it? | Cold reads give FF; after any ROM read, data; after re-mapping, FF again. A 16-bit read works too. The first complete save backup was read the same morning |
| 22 Oct, 11:52 | early: tests13 |
Do all three mappings work with a wake read? Does Sanyo ID mode exit? | All three mappings work. ID mode exits correctly with F0 |
| 24 Oct, 20:32 | session 1 | Where do a save's 58 s go? How big is the DUO's flash? What's stored? Wake-read variants | The save-tag search took about 33 s (about 1 s per MB) and each bank 10.3 s. The flash is 512 KB, mirrored. Any single read of any width or address wakes the chip |
| 24 Oct, 20:40 | session 2a | A map of the DUO's flash, in 4 KB checksums | Firmware, leftovers, Datel's storage and the code database are laid out as in FINDINGS |
| 24 Oct, 20:43 | session 2b | Hello sent with the GBA off, then switched on? | Answered 14 s later, straight into USB SERVER MODE. The USB chip holds the packet |
| 24 Oct, 20:58 | session 3 | Memory timing (WAITCNT) against speed and correctness; the end of the ROM; the header overlay; Datel's 0x22 | Faster timing gave only about 10% more speed, and 2-cycle access corrupted Ruby's reads. ROM data ends below 8 MB, then FF to 16 MB, then open bus. The Actel overlays 0x20–0x9F. 0x22 replies 0x40000 |
| 24 Oct, 21:08 | session 3b | Does the overlay depend on the mapping or read width? | No: it's the same under every mapping and width |
| 24 Oct, 21:20 | session 4 (×3) | Baselines for Sapphire, FireRed and LeafGreen | Header, save-library tag position and save checksums recorded (FINDINGS) |
| 24 Oct, 22:45 | session 5 | First real test of v4 | Restart worked (0.5 s). The fast save failed: its 32-bit checksum met the 8-bit save bus. This led to v4.1 |
| 25 Oct, 06:33 | session 6 | v4.1: boot shortcut, fast save, ten restarts each followed by a lab run, cartridge report | All passed. The first save after start-up showed a garbled title, which is the open question |
| 25 Oct, 06:40 | session 7 | Hunting the garbled title (5 experiments ×2, plus a save) | Not reproduced; every header was clean |
| 25 Oct, 06:47 | session 8 | Restart then save, three times, with the new guard read | All clean |
| 25 Oct, 09:20 | session 9 | Cold start then save; speed against compressibility; a soak of 20 saves | The cold-start save was clean. Time is about 2.6 s plus about 18 ms per 8-byte packet. 21 identical saves |
| 27 Oct, 16:45 | session 10 | v4.2: does a real Japanese Emerald accept the DUO as a Wireless Adapter? (MGB-010 cable, small plug to small plug) | PASS after 111.8 s: 14 transfers, ID 0x8001 accepted. The game then sent its first adapter command, 9966003D |
| 27 Oct, 21:15 | session 11 | First real run of the adapter program: Mystery Gift → じゅしん スポット | The ID exchange works, but the first command stalls: the 2 MHz answer from the DUO doesn't reach the game correctly (details) |
| 27 Oct, 21:47 | session 12 | The 2 MHz probe | Only the first bit of each answer is late: holding SO at the top bit works 359/359, and the SO flick gets acknowledgements through (details) |
| 27 Oct, 22:25 | session 13 | The first-bit fix | Every command's first word is accepted; the acknowledgement's ready flick re-armed the link mid-word (details) |
| 28 Oct, 08:40 | session 15 | Overnight build (distributor) | 29,562 ready flicks up to 12 µs, none seen: armed, SO shows the word's first bit, not SIOCNT bit 3. The flick now disarms briefly (details) |
| 28 Oct, 16:20 | session 16 | Disarming flick | Hello, setup, broadcast and start-search complete for the first time; stops at 0x1D (7-word answer) (details) |
| 28 Oct, 17:30 | session 17 | 0x1D, one flick | Header taken; answer word 1 (top bit 0) never clocked: arming from resting high keeps SO high (details) |
| 28 Oct, 20:40 | session 18 | 0x1D answered | 4,171 answers, no interruptions, but the game never picks the distributor; --check-search: data words arrive intact; --find-serial: BPEJ has no 0x7F7D; --sweep-serial added (details) |
| 28 Oct, 21:30 | session 19 | Serial sweep | BPEJ's distributor serial is 0x7F7F; connect, NI name, join, link players and all Mystery Gift steps run on hardware (details) |
| 28 Oct, 21:50 | session 20 | Old Sea Map received | Wonder Card and RAM script delivered over the whole link on real hardware; the game saved the card (details) |
| 29 Oct, evening | session 21 | Two cards, game recognised | Japanese Emerald and serial 0x7F7F chosen automatically; Old Sea Map then MysticTicket received. An upload stalled after each successful run, so the tool now re-sends (details) |
| 29 Oct, 21:10 | session 22 | Back to back, in order | Two more Old Sea Map runs in a row, with the game started after "Ready": both clean, no stall. The e-Reader message was the game starting before the adapter was ready (details) |
| 29 Oct, 21:20 | session 23 | English LeafGreen | Aurora Ticket (full-size 332-byte card) received first time; game recognised, serial 0x7F7D confirmed (details) |
| 29 Oct, 21:55 | session 24 | e-Reader dry run (Ruby) | Handshake and link up on hardware for the first time, the DUO as master; then 45% checksum mismatches, no link players. Our master was paced too fast: now paced like Ruby's (details) |
| 29 Oct, 23:00 | session 25 | e-Reader: link players, an event block | Game as master: link players exchanged with 0 mismatches, a 1,012-byte block sent and the link closed. The .me3 turned out to be the saved form, so the game stored nothing; the tool now wraps it. Ruby's menu needs to be master (details) |
| 30 Oct, afternoon | session 26 | Eon Ticket from Norman | The wrapped .me3 (342 bytes) sent with the game as master: 0 mismatches, the game closed the link and saved, and Norman gave the Eon Ticket. The e-Reader route works end to end (details) |
| 30 Oct, evening | session 27 | PUMKIN BERRY from Norman | The first Enigma Berry (.ecb, 1,364 bytes) received with 0 mismatches and given by Norman. The "player 0" report was a false alarm: the role is read from SI at the wrong moment (details) |
| 31 Oct, evening | session 28 | Drash Berry; MysticTickets; the trade reaches the room | e-Card berries work; US and Japanese Wonder Cards on European LeafGreen, and the Japanese one on Japanese Emerald. The trade stalled at the door (link type 0x1133, not 0x1111; fixed). The Devin trainer card left Mossdeep's door locked: not yet explained (details) |
| 31 Oct, late | session 29 | The first trade: WISHMKR Jirachi into Ruby | Traded and saved twice; leaving froze the game (the room's new link; fixed). A save backup showed Devin's trainer slot empty: Ruby only runs events over 256 bytes, so every event now goes as the full 2,004-byte buffer (details) |
| 1 Nov | session 30 | Devin arrives; a clean trade; Trainer Hill card received | The Devin card stored exactly the card's trainer (save backups compared); a trade through to leaving the room with no freeze; a Trainer Hill e-Card went into Japanese Emerald, link type 0x5503, 0 mismatches (details) |
| 5 Nov | session 31 | Trades into Emerald and LeafGreen; four at a sitting; the Record Corner goes black | Kousei on the Trainer Hill; a Jirachi into Japanese Emerald and the Aura Mew into LeafGreen; two of four traded in one LeafGreen sitting, then CANCEL, cleanly. Blocked on the way out, the DUO never reached the door. Record Mixing with Ruby: black screen entering the room, three times (details) |
| planned | session 32 | Read-only probes from Datel's register use: the 24 control registers, the Actel's address decoding, the 0x09FE0400 window, the flash's undescribed stretches, the bus map, the switch/button/DS-card bits, the USB descriptors | Not run yet (plan, registers) |
Experiments deliberately not done:
- two GBA packets in a row, which would hang the GBA;
- mapping values Datel never uses;
- chip-ID commands on anything that isn't Flash;
- anything touching the cartridges' clocks;
- any write to a save.