docs(series4): the 0x1A field map from a keypad pass -- a CRC, an edit buffer, and three mic blocks that are not channels
47 snapshots of UM20147 while settings were changed on its own keypad, one at a time. Every byte that moved is accounted for; nothing outside 0x1A moved. MEASURED (operator named setting + values): record mode [5] (01 Waveform, 02 Manual, 03 Histogram, 04 Combo -- S3's encoding, one byte later than the S3 analogy put it), sample rate [6:8], histogram interval [8:10] s, pre-trigger [12:16] f32 negative s (all four values), stop mode [17], record time [18:22] f32, auto-stop [23], active-sensor and trigger-source bitmasks [25]/[29], trigger level at channel +30 (geo in/s, mic psi). MEASURED: the trailer is CRC-16/AUG-CCITT over content[0:2088] -- 47/47 and a second unit. Thor's write omits it, so it is read-side integrity, not a write obligation. MEASURED: blocks 1-3 are geophones, block 4 is the ACTIVE mic (a byte copy of 5 or 6), 5 and 6 are the stored linear / SLM mic setups. No separate mic-type byte; block 4's +4:8 code is the type. Promotes the 10-15 "+4 channel type" guess; retracts "+46:48 is a trigger-source flag" in place. MEASURED: 0x1A reads the keypad's edit buffer live; discard reverts; commit timing differs by widget (list / spinner / sub-window). INFERRED, Series III: the 6-byte "stable anchor" sits exactly where Series IV keeps pre-trigger (-0.25 s) + stop mode (Fixed). An S3 unit in Auto stop mode would lose it and decode no mode/rate/interval/record time. Not measured on S3; noted in instantel_protocol_reference.md, code untouched. No codec, store or DB change; no backfill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
75cbe23214
commit
56b8aac4cb
3 files changed
+212
-28
No files matched your search
@@ -10,7 +10,7 @@ pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
|
||||
|
||||
---
|
||||
|
||||
## Where things stand (updated 2026-10-14)
|
||||
## Where things stand (updated 2026-10-17)
|
||||
|
||||
Read this first when picking the project back up.
|
||||
|
||||
@@ -40,33 +40,40 @@ Read this first when picking the project back up.
|
||||
about a dozen fields read; `0x2C`, `0x2E`, `0x08`, `0x01` are fetched and
|
||||
undecoded. Finishing it needs a bench session varying one setting at a time,
|
||||
as was done for Series III — not desk work.
|
||||
- **Config decoding is set up and waiting on ONE keypad press (2026-10-15).**
|
||||
`scratch/mm_config_diff.py` is the loop — read-only, four subcommands
|
||||
(`volatile` / `snap` / `watch` / `diff`). Baseline and the noise mask are
|
||||
saved under `scratch/mm_config_snaps/UM20147/` (gitignored).
|
||||
**The method is verified viable: all five config blocks are bit-stable**
|
||||
(0 bytes moved across repeated reads), so any byte that changes between two
|
||||
snapshots *is* the setting — no noise floor to subtract. That was the open
|
||||
question.
|
||||
**Start here:** run `watch`, change exactly one setting on the unit's keypad,
|
||||
and it prints the changed runs with content-relative offsets and each
|
||||
plausible field type. **Sample rate first** — a large distinctive power of two
|
||||
pins endianness in one shot where a boolean toggle teaches nothing.
|
||||
⚠ Settings do **not** have to be changed from THOR. The unit's own keypad
|
||||
works: no Windows VM, and no contending for the modem's single TCP session.
|
||||
⚠ `sg dialout -c "..."` is needed to open `/dev/ttyACM0` — the `dialout`
|
||||
membership is in `/etc/group` but shells started before it was added do not
|
||||
see it, and the failure looks like a dead unit.
|
||||
⚠ `watch-001`..`005` in the snapshot dir are **clock ticks, not findings** —
|
||||
taken before the mask covered the minutes byte.
|
||||
🔑 **`channel+24` (f32 BE) reads `3.1030800342559814` on every geo channel.**
|
||||
Over 10,000 that is `_GEO_LSB_IPS` to 1.1e-8, and it implies 32,226.05 counts
|
||||
full scale — the documented figure exactly. The LSB previously rested only on
|
||||
intersecting 991,415 rounding constraints from Thor's exports; **the unit
|
||||
reports it directly.** Two independent derivations, eight digits.
|
||||
⚠ The rest of the channel-block map in the reference is **graded** — one
|
||||
measured, two inferred, two explicitly flagged as guesses. Respect the grades;
|
||||
`+4` "channel type" and the `+8:24` uint16 split are single-setup guesses.
|
||||
- **Config decoding: first keypad pass done (2026-10-17).** 47 snapshots of
|
||||
UM20147 while settings were changed on its keypad; every byte that moved is
|
||||
accounted for. `0x1A` content now reads: record mode `[5]` (`01` Waveform,
|
||||
`02` Manual, `03` Histogram, `04` Combo), sample rate `[6:8]`, histogram
|
||||
interval `[8:10]` s, pre-trigger `[12:16]` f32 **negative** s, stop mode
|
||||
`[17]`, record time `[18:22]` f32, auto-stop `[23]`, active-sensor and
|
||||
trigger-source bitmasks `[25]` / `[29]` (`0x07` geo, `0x08` mic), trigger
|
||||
level at channel `+30` (geo in/s, mic **psi**). Full table, grades and
|
||||
method in `docs/micromate_protocol_reference.md` → *The `0x1A` field map
|
||||
from a keypad pass*.
|
||||
🔑 **`0x1A` ends in a CRC-16/AUG-CCITT** over `content[0:2088]`, stored BE at
|
||||
`[2090:2092]` — 47/47 plus a second unit. Thor's write **omits** it (the
|
||||
unit computes it), so it is a read-side integrity check, not a write
|
||||
obligation. Not yet wired into `micromate/`.
|
||||
⚠ **The six channel blocks are 3 geophones + the active mic (block 4) + the
|
||||
stored linear / sound-level mic setups (5, 6).** Read the mic from block 4
|
||||
and branch on its `+4:8` code (`2` linear, `9` SLM); labels and unit strings
|
||||
are re-rendered by keypad saves and are not identifiers.
|
||||
⚠ **`0x1A` reads the keypad's edit buffer live** — unsaved values show while
|
||||
someone is in the menu; a discard reverts them.
|
||||
🔶 **Possible Series III bug, inferred only:** S3's 6-byte "stable anchor"
|
||||
`be 80 00 00 00 00` sits exactly where Series IV keeps pre-trigger (−0.25 s)
|
||||
+ stop mode (Fixed). An S3 unit in Auto stop mode would then lose the
|
||||
anchor and decode no mode / rate / interval / record time. One BW capture
|
||||
in Auto mode settles it — see the 2026-10-17 row in
|
||||
`instantel_protocol_reference.md`.
|
||||
Harness: `scratch/mm_config_diff.py watch` (now per-session snapshot labels
|
||||
and a built-in CRC check). ⚠ `sg dialout -c "..."` is still needed to open
|
||||
`/dev/ttyACM0` from shells started before the `dialout` membership.
|
||||
⚠ **When diffing, get the operator's own account of what was pressed** before
|
||||
labelling a run — twice on 10-17 a run was attributed to the setting that
|
||||
had been *asked for*, and both were wrong.
|
||||
Not yet mapped: job number, scaled distance, GPS, aux I/O, SLM options,
|
||||
four unknown head runs, channel `+46:48`.
|
||||
- **🔑 ACH / call-home, captured end to end (2026-10-14).** A Micromate signals
|
||||
`RADIO RING`; **two paths exist and timing decides which**: if anything
|
||||
already holds the modem's single TCP session the ring rides that connection,
|
||||
|
||||
Reference in new issue
Block a user