docs: reverse CALIBRATE feedback algorithm (REGISTERS.md) — milestone 2 #1

Merged
Jorsh merged 1 commit from docs/milestone-2-calibrate-algorithm into main 2026-06-01 02:42:01 +00:00
Owner

Core loop is TLA.c FUN_10022f80, three gate-no-film phases:

  • dark offset → mean target 300 ADU ±32 (proportional, bank 0x84.5/6/7)
  • gain → peak target 64000 ADU (ratio control, bank 0x84.2/3/4)
  • exposure → 6-pt sweep + per-channel OLS fit (bank 0x82.1/2/3)
    plus a lamp trim when coverage is thin.

Also decoded the lamp subsystem (TLA addr 0xf6 reg 0x80/0x81) and the
filter-wheel/gate setter (TLA addr 0xf4, codes 0xe3/0xe4/0xe5). STATUS.md
advanced to milestone 3 (driven C state machine) with the blocking
unknowns to grab from a fresh capture.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Core loop is TLA.c FUN_10022f80, three gate-no-film phases: - dark offset → mean target 300 ADU ±32 (proportional, bank 0x84.5/6/7) - gain → peak target 64000 ADU (ratio control, bank 0x84.2/3/4) - exposure → 6-pt sweep + per-channel OLS fit (bank 0x82.1/2/3) plus a lamp trim when coverage is thin. Also decoded the lamp subsystem (TLA addr 0xf6 reg 0x80/0x81) and the filter-wheel/gate setter (TLA addr 0xf4, codes 0xe3/0xe4/0xe5). STATUS.md advanced to milestone 3 (driven C state machine) with the blocking unknowns to grab from a fresh capture. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Core loop is TLA.c FUN_10022f80, three gate-no-film phases:
- dark offset → mean target 300 ADU ±32 (proportional, bank 0x84.5/6/7)
- gain → peak target 64000 ADU (ratio control, bank 0x84.2/3/4)
- exposure → 6-pt sweep + per-channel OLS fit (bank 0x82.1/2/3)
plus a lamp trim when coverage is thin.

Also decoded the lamp subsystem (TLA addr 0xf6 reg 0x80/0x81) and the
filter-wheel/gate setter (TLA addr 0xf4, codes 0xe3/0xe4/0xe5). STATUS.md
advanced to milestone 3 (driven C state machine) with the blocking
unknowns to grab from a fresh capture.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Jorsh merged commit ad690c204e into main 2026-06-01 02:42:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Jorsh/Pakon!1
No description provided.