MAX DUO Pokémon Toolkit GitHub

Home / Lab notebook

Session 36 - the USB side in detail (28 November 2026, 15 –42, run remotely by Claude)

Rendered from lab/sessions/session36/README.md in the repository.

tools/probes/usb_deep.py: standard read-only USB requests and two harmless commands. Full output: usb_deep.txt.

  • Configuration descriptor (32 bytes): one configuration, bus-powered (0x80), 100 mA; interface 0 with class 0/0/0 and two interrupt endpoints, 0x81 IN (8 bytes, every 10 ms) and 0x02 OUT (8 bytes, every 1 ms). GET_STATUS: device 00 00 (bus-powered, no remote wake-up), endpoints not halted.
  • String descriptors are unreliable. In session 32 strings 1 and 2 read "Datel" and "GBA Link". Here, asking for strings 3-15 in a row made the USB chip drop off the bus (it re-enumerated by itself within seconds; the GBA stayed in USB SERVER MODE and answered HELLO). On the next run string 0 came back empty and string 1 failed. The Cypress program evidently handles only the strings it has, and not robustly; the probe now stops at the first failure.
  • Where the time goes: the PC's write takes ~8 ms (the OUT schedule, rounded to Windows' 8 ms frame for low-speed interrupt). Reckless's version query (0x09) is answered in a median 8 ms, so a round trip is ~16 ms, which is what a stream packet costs. Datel's HELLO is answered in a median 40 ms: Datel's main loop only checks for packets every few frames. So the October "~9 ms each way" is the USB schedule, and HELLO's 48 ms is Datel's loop, not the link.