GPT-6 Astra got the same brief as every P25 audit on bench: find why this firmware struggles to decode P25 Phase 1 and Phase 2 voice on the radio’s HR-C6000, and what to do about it.
It worked in a clean room, with a fresh copy of the repository, no earlier reviews and no network. I checked its claims against the code, the manual and the repository’s notes, rebuilt what it built, and reran the probe harness it left behind in a clean copy of the baseline.
Overall grade
B
89 / 100 weighted
FDCBA
Reproduced, not asserted.
Thirteen audits described defects. This one compiled them. It extracted the real monitor, squelch and parser function bodies, built them against hardware
stubs, and shipped a script that reproduces five failures on demand — the capture export that differs from the decoder’s input in 158 of 160 samples, the
starvation counter stuck at zero, the stock squelch re-selecting FM after the monitor mutes, a late-entry call emitting audio with no identity, and the trunk
sink accepting it. I reran that script in a fresh copy of the repository. All five still reproduce.
It also built both ARM targets with the toolchain in the repository, generated its own link map, and did the arithmetic: 511 samples of input ring, 21.29 ms
of slack, 4.18 million filter multiply-accumulates a second. Three of the four decode-critical issues, five of six instrument defects, and one finding no
audit or document had reached.
What it does not do is cost the vocoder, which is why this is a B and not an A: with 27 of 29 claims holding and none wrong, the one thing
left standing is the 11–16× the CPU cannot give.
Claims that check out
27 / 29
2 miscited or incomplete · 0 wrong
Decode-critical issues found
3 of 4
the most of the fourteen
Defects reproduced on the host
5
its harness reruns and still passes
New verified defect
Talkgroup 0
audio released for an unidentified call
The run, not graded: 14 min · 29 agent steps · 42 tool calls · 21K output tokens (4K reasoning) · 3.1M tokens re-read · OpenAI subscription, one-shot
Headline findings
Six things to know about this review
Validated
It compiled the defects it reports
reproduce.py pulls the real function bodies out of the monitor, the squelch path and the parser, builds them against stubs, and asserts what they do. Rerun in a clean scratch copy of the repository, all five reproductions still pass: the capture stride, the dead starvation counter, the trunk sink accepting an unknown talkgroup, a late-entry call emitting 320 samples with no identity, and the stock squelch re-selecting FM after the monitor has muted.
It also built both ARM targets with the toolchain bundled in the repository — 810,252 bytes, matching the baseline image — and read its own link map rather than quoting the documentation.
Only the header branch sets the talkgroup. A late entry that starts at an LDU2 sets the call clear from the algorithm ID alone, so the talkgroup stays zero — and both filters are written (talkgroup && talkgroup != group), in the audio sink and in the trunk tick. A zero talkgroup passes both.
So audio is released for a call whose identity was never established, while the follower is tracking a different group. Its probe emits 320 samples with talkgroup=0 while following 0x4567. I confirmed it at the source and reran the probe. Nobody — no audit, no document — had raised it.
p25rx.c:185–195 · p25mon.c:475 · p25_trunk.c:49
Holds up
The source question, stated exactly as the evidence allows
On the question that has split every audit: the driver identifies 0xE0 = 0xC9 as the microphone/line input, the monitor leaves 0x34 = 0x3C — de-emphasis and a 3 kHz filter — in place, and the AT1846S table adds its own voice filtering. Its conclusion is neither of the two overclaims: These facts do not prove that every I2S sample is microphone audio. They do prove that the comments describing a raw RF discriminator stream are not enough.
It then adds the line the rest of the board needed: resampling cannot restore bandwidth an analog filter has already removed.
The input ring holds 511 samples, 21.29 ms at 24 kHz; each tick drains at most 128, so the service interval must stay under 5.33 ms; each 512-sample hop is 13.33 ms; the matched filter alone runs 4.18 million tap multiply-accumulates a second. Every figure recomputes exactly.
Its memory section is measured from a map it generated, and it adds the two caveats no audit before it did: the RTOS heap is already inside .bss, and zero link margin does not prove the running heap is exhausted.
It gets closer than any audit: it counts the filter, counts the ring, notes that synthesis of muted frames and bounded-distance FEC searches are optimisation candidates, and refuses to claim the deadlines are met. But it also refuses to claim they are missed — not proof that deadlines are already missed.
Emulated on the 72 MHz core, mbelib’s IMBE synthesis needs 11–16× the entire budget. That is not a measurement waiting to be taken; it is the one software blocker on this board, and no ranked audit has found it.
Its 8 kHz statement is correct and its divisor arithmetic is exact — 12.288 MHz gives a 1.536 MHz bit clock and a 24 kHz frame clock — but the manual says the frame clock must be 8KHz at line 1218, not in the 1233–1239 range it cites.
More consequential: it points at a layer-1 architecture at lines 1370–1389, which is the interrupt section. The real documentation is §5.4.6, where one-layer mode demodulates 4FSK into 36-byte frames — 4,800 symbols per second, P25’s own rate. It was the first audit not to deny that mode, and it still never reaches it.
manual 1218, 1127 · manual 2553–2635
Scorecard
How the 89 breaks down
Same rubric, weights and scale as every P25 audit on bench, so scores compare directly. GPT-6 Astra leads every dimension except clarity, and is the highest grade awarded to a ranked audit on this task.
Dimension scores
Hover or focus a bar for the reasoning. Weighted total 89, grade B.
Rubric table
Dimension
Weight
Score
Points
Why
Accuracy & evidence
30%
92
27.6
27 of 29 claims hold, none is wrong, and eight I could only confirm by rerunning what it ran. Its memory figures, ring timings and filter arithmetic are exact. Two manual citations point at the wrong pages, including the one that matters most.
Coverage of decode problems
25%
84
21.0
Three of four decode-critical issues, five of six instrument defects, the ownership problem, the identity gating, the band ceiling and the clock question — plus a defect nobody had found. The vocoder’s cost, the MFID muting and the demodulator’s loops are what it leaves.
Root cause & prioritisation
15%
88
13.2
It orders the work the way the evidence demands: fix ownership and capture correctness first, because every later measurement runs through them, then qualify the RF source, then touch the DSP. It stops short of naming the vocoder as a blocker.
Fix plan & acceptance gates
15%
92
13.8
Five stages, each with a gate written as a pass condition, and it proposes turning its own defect probes into the regression tests that enforce them. The best plan of the fourteen, and the only one whose first step ships as code.
Originality & attribution
10%
90
9.0
A new verified defect, a runnable defect harness, an independently generated link map, and the observation that explains why the test suite never caught any of it. It also rediscovers the squelch conflict and the 24 kHz bandwidth question on its own.
Clarity & calibration
5%
86
4.3
Plain text, no tables or diagrams, and long — but every finding carries evidence, impact and resolution, the verified results come first, and its limits are stated three times and hold up against the session record.
Weighted total
100%
89
Grade scale: A ≥ 90 · B 80–89 · C+ 75–79 · C 70–74 · C− 65–69 · D 50–64 · F < 50
Receive chain
Where its findings sit
Astra covers the chain end to end: the filters, the source, the capture, the clock, the identity gating and the instruments. The red tags are the vocoder it would not cost and the two items it left.
F1 raised by GPT-6 AstraN1 missed or left unprovenDashed edge: no documented connection
F1AT1846S voice-path filtering in analog mode
F2HR-C6000 de-emphasis and 3 kHz filter at 0x34
F3The I2S source is unproven; the comments are not enough
F4The capture exports the wrong halfwords (reproduced)
F5Unknown talkgroup opens audio (reproduced, new)
F6pcm_starve never counts (reproduced)
F7Squelch re-arms and rewrites the codec (reproduced)
F8The test oracle shares the receiver’s RRC filter
N1mbelib needs 11–16× the 72 MHz CPU
N2The one-layer mode at P25’s own symbol rate
What it shipped
A harness, not a description
The review’s fourth verified result is a script. It is the difference between an audit that says the capture is wrong and one that prints the two sample sequences side by side.
The five reproductions, rerun here
Its review-artifacts/reproduce.py extracts the firmware’s own monitor, squelch and parser function bodies, compiles them against hardware stubs, and asserts the broken behaviour. I copied the script into a clean scratch copy of the baseline and ran it.
Probe
Where it points
Result
What the probe shows
Capture export
p25mon.c:432–467
158 of 160 samples differ
Decoder 1000, 1001, 1002… against export 1000, −1000, 1001, −1001…
Starvation counter
p25mon.c:382–430, 513–517
pcm_starve stays 0
An empty playback half-buffer returns silence and reports no starvation.
Trunk audio gating
p25mon.c:475 · p25_trunk.c:49
unknown talkgroup accepted
The sink takes 160 samples while the received group is unknown.
Late entry
p25rx.c:185–195
320 samples, talkgroup 0
A clear LDU2 sets the call clear without ever carrying an identity.
Stock squelch
trx.c:515–586 · applicationMain.c:964–969
FM re-selected after mute
The amplifier is re-enabled even with the signal already marked open.
All five reproduce, and the script exits with “PASS all review reproduction assertions (these confirm defects, not fixes)”. Three of them — the capture stride, the starvation counter and the squelch re-arm — had been found by earlier audits as readings of the code. This is the first time any audit has made them run.
The front end
Both halves, and the line that follows from them
It names the C6000 filter and the AT1846S voice settings together, then draws the consequence no audit before it stated: a resampler cannot put back bandwidth that an analog filter has removed.
Register state for a P25 session
What trxSetModeAndBandwidth(RADIO_MODE_ANALOG, true) leaves in place, next to OpenGD77’s own settings for 4800-baud 4FSK.
Register
Monitor today (analog FM)
OpenGD77 DMR mode
Effect on C4FM
AT1846S 0x40
0x0030, low-frequency bit cleared: “so it should be cleared to receive FM”
0x0031, “allows low freq audio”
Removes the near-DC content that runs of equal symbols depend on
AT1846S 0x58
0xBC85, “enable some filters for FM e.g. high and low pass filters”
0x9CDD, “disable all filters in DMR mode”
High- and low-pass shaping of the symbol stream
AT1846S 0x44
0x06CC, AF gain 80%
0x07FF, 100%; the DM-1701 “needs higher AF gain” to decode 4FSK
Lower discriminator level into the next stage
AT1846S bandwidth
25 kHz
12.5 kHz, forced for digital
Wider noise bandwidth and deviation scaling set for ±5 kHz FM
HR-C6000 0x34
0x3C, “compressor off, de-emph on, 3 kHz audio filter”
not written; the FM value persists
−6 dB/octave from 300 Hz and a 3 kHz low-pass on the FM receive path (manual §6.2)
Sources: AT1846S.c:191–217, HR-C6000.c:2846–2854 and 2858–2875, trx.c:228–279, p25mon.c:724. Register comments are OpenGD77’s; the manual translation documents 0x34.
What the inherited 0x34=0x3C does to C4FM
Standard C4FM through each HR-C6000 receive stage alone, then the firmware’s live demodulator and framer. 20 LDUs: 180 IMBE frames possible.
De-emphasis alone, −6 dB per octave from 300 Hz, leaves no frames decodable — which is why “establish a documented signal-source configuration rather than guessing undocumented register values” is the right order of work.Data table
Audio stage
Noise-free frames · NIDs
Symbol errors
20 dB frames · NIDs
no audio filtering
180/180 · 20/20
0.0%
180/180 · 20/20
3 kHz low-pass only
180/180 · 20/20
0.0%
180/180 · 20/20
de-emphasis only
0/180 · 0/20
51.3%
0/180 · 0/20
de-emphasis + 3 kHz low-pass (0x34=0x3C)
0/180 · 0/20
49.8%
0/180 · 0/20
The one it left open
Counted the filter, not the vocoder
Its real-time section is the most quantified of the fourteen and still stops at “unproven”. The filter it counted is 4.18M MACs a second; the synthesis it did not is an order of magnitude past the whole budget.
Where one second of decoding goes
The firmware’s streaming loop, compiled with its own GCC flags and newlib and run in an emulated Cortex-M4F over 2.2 s of input (12 LDUs, 108 IMBE frames, all decoded). Instruction counts become time by assuming one clock cycle per instruction, the optimistic end.
The demodulator fits: about 40% of the core, 60% at 1.5 cycles per instruction. The vocoder needs roughly 11 times the whole CPU, 16 times at 1.5. Building with -O2 changes these by under 1%, because the time is spent inside newlib’s prebuilt libm.Per-stage table
Stage
-Os, M instr/s
Share at 1.0 · 1.5 c/i
-O2, M instr/s
Resampler ×1.6
1.40
1.9% · 2.9%
1.32
RRC FIR, timing and level fit
28.00
38.9% · 58.3%
27.70
Framing, NID and FEC
0.74
1.0% · 1.5%
0.73
mbelib IMBE decode and synthesis
781.90
1,086.0% · 1,629.0%
781.60
Total
812.1
1,128% · 1,692%
811.4
CPU time for each 20 ms of speech
One call to mbelib’s IMBE decoder per frame, uvquality 1, FEC-valid codewords with chosen pitch and voicing, mean over 100 consecutive frames.
Every frame type misses its 20 ms deadline, from about 2× for the simplest frames to more than 20× for loud voiced ones. The cause is mbelib’s per-harmonic phase, which accumulates without wrapping (mbelib.c:306). Once a call has run for about half a second, nearly every voiced-band cosf argument exceeds about 201 radians, and newlib’s cosf takes its __kernel_rem_pio2f path at roughly 1,700 instructions per call instead of 40 to 100. The real firmware links that same path.Per-frame table
Frame type
Mean, M instr
Worst, M instr
Mean ms at 1.0 · 1.5 c/i
L=20, all bands unvoiced
3.00
5.02
42 · 62
L=20, typical (15 of 20 voiced)
9.68
10.23
134 · 202
L=30, typical (21 of 30 voiced)
13.97
14.76
194 · 291
Random pitch and voicing
15.86
26.17
220 · 330
L=56, all bands voiced
31.25
32.97
434 · 651
Claim check
29 claims, checked one by one
Twenty-seven of twenty-nine hold, eight of them validated by rerunning what it ran. Two manual line ranges are miscited. None is wrong.
Item
What GPT-6 Astra claims
Where
Result
Notes
Method
Path abbreviations are declared up front: FW, P25 and HW expand to the firmware, p25 source and hardware driver directories
review §Scope
Holds
The intake flags 41 citations as wrong paths; every one is this documented shorthand, and each resolves to the file it names.
Verified 1
The native suite passes: both parser copies, independent BCH/framing, signalling FEC, CRCs, trunk logic, capture ordering, and 90 voice codewords with 0 of 6,480 raw dibit errors at ±1000 ppm
tests/p25/run.py
Validated
Reran here; the log matches, including selftest=PASS tests=111111.
Verified 2
Both ARM targets build with the bundled xPack GCC 13.2.1, producing an 810,252-byte image
Byte-identical in size to the baseline build. It built into its own BUILD_DIR rather than over the tree, and did not flash anything.
Verified 4
Five defects reproduced by extracting the real function bodies and compiling them against hardware stubs
review-artifacts/reproduce.py
Validated
Rerun in a clean scratch copy of the baseline: all five reproduce — capture stride 158 of 160, pcm_starve stuck at zero, trunk sink accepting unknown talkgroup, late-entry LDU2 emitting 320 samples with talkgroup 0, and the squelch re-selecting FM after monitor mute. No audit before it had shipped a harness that reproduces five defects on demand.
F1
The application keeps running trxCheckAnalogSquelch while the monitor holds the radio, and that function re-arms whenever the RF amplifier is disabled — which the monitor does at startup and on call changes — so the next check selects FM and writes 0x36=0x02 and 0x10=0x80
M12, independently found and — uniquely — reproduced by replaying the unmodified squelch function on the host.
F2
HRC6000SetFMRx sets 0x34=0x3C (de-emphasis plus a 3 kHz audio filter) and the monitor never replaces it; the AT1846S analog configuration also enables voice-path filtering
HR-C6000.c:2846–2855; AT1846S.c:191–205, 245–254
Holds
Both halves of the analog chain, at the right lines: AT1846S.c:196 is the FM filter table with 0x58=0xBC85.
F2
0xE0=0xC9 is identified by the driver as enabling the microphone/line input, but these facts prove the “raw discriminator stream” comments are insufficient rather than proving every sample is microphone audio
HR-C6000.c:2962–2965; p25mon.c:6–13
Holds
The most carefully calibrated statement of the source question among the ranked audits: it neither overclaims the microphone reading nor lets the comments stand.
F2
A valid DMA sample count proves words are arriving, not what signal they contain; enabling the IF ADC does not establish a bypass into the vocoder PCM port
manual 1125–1154, 1198–1239, 2840–2844
Holds
F2
The manual mentions a layer-1 architecture at lines 1370–1389, and this tree implements no such interface
manual 1370–1389
Miscited
Those lines are §5.1, the interrupt description, which mentions the three-layer function in passing. The substantive documentation is §5.4.6 at 2553–2635: one-layer mode demodulates 4FSK into 36-byte frames, 4,800 symbols per second. The instinct is right and it was the first audit not to deny the mode outright, but it points at the wrong pages and never reaches the symbol rate.
F3
Phase 2 downlink is H-DQPSK at 6000 symbols/s and needs its own synchronisation, ISCH/DUID decoding, WACN/System-ID/NAC-derived scrambling, FACCH/SACCH/MAC handling, ESS, voice FEC and AMBE+2 synthesis
ref-sources/dsd-fme/src/p25p2_frame.c
Holds
The most complete Phase 2 statement of the fourteen, and it matches the reference implementation it cites.
F3
Two time slots do not make Phase 2 compatible with the C6000 DMR slot engine, and the proprietary DMR codec interface is not a proven Phase 2 drop-in
dmr_codec/codec_interface.c:35–64
Holds
F4
The decoder takes i2s_Rx_Buffer[buf][j][i*2] while the export passes a pointer to the start of the same interleaved array and asks for 80 contiguous samples, so the capture exports alternating words and the count still reads 160
p25mon.c:432–467; p25mon_capture.c:455–487
Validated
T1, with the ramp output printed: decoder 1000,1001,1002… against export 1000,−1000,1001,−1001… Reproduced here.
F4
Capture is not terminated or segmented on retune, clock change, DMA restart or source change, so one nominal-rate header can describe samples spanning different rates and unmarked interruptions
p25mon.c:565–616; p25mon_capture.c
Holds
The epoch defect (T5), reached from the capture lifecycle rather than from the header fields.
F5
Monitor acquisition saves beep options, eco level and squelch but imposes no transmit inhibit, so the PTT → TX screen → trxSetTX path stays reachable, and voice prompts or menu paths can reconfigure sound or terminate I2S
Correct at every line, and the broadest ownership analysis of the fourteen — it names VOX and programmatic transmit as well as PTT.
F6
A clear LDU2 establishes P25_CALL_CLEAR without carrying a talkgroup, and both the audio sink and the trunk tick only reject a mismatched group when the received group is nonzero, so audio is released for an unidentified call
p25rx.c:185–195; p25mon.c:475; p25_trunk.c:49
Validated
New, and confirmed at source: only the HDU branch sets rx->talkgroup, and both filters read `(talkgroup && talkgroup != group)`. Its probe emits 320 samples with talkgroup 0 while the follower tracks group 0x4567, and it reproduces here. This is the fail-open mirror of the known fail-closed muting defects, and no audit or document had raised it.
F7
The monitor accepts a measured rate within ±10% of a configuration guess but resamples using the guess, while the timing loop is clamped to 7.92–8.08 samples/symbol, about ±1%
p25mon.c:565–577; p25_4fsk.c:228–241
Holds
M7, with the resampling consequence.
F7
The manual specifies 8 kHz for the vocoder frame-sync interface; at the stated 12.288 MHz codec clock the configuration-2 divisors give a 1.536 MHz bit clock and 24 kHz frame clock, but changing interface clocks does not prove the internal ADC and filter produce fresh 24 kHz baseband
manual 1233–1239; p25mon.c:74–86
Miscited
The arithmetic is exact and the conclusion is the sharpest form of the open question — whether 24 kHz LRCK buys real bandwidth. The manual statement is real but sits at 1218 and 1127, not the 1233–1239 range given.
F8
Measured from a fresh link map: main SRAM 131,072 bytes with .data 17,000, .bss 112,532 and a 1,540-byte heap/stack reservation, leaving zero unreserved; CCM 64,376 of 65,536, leaving 1,160
FW/review-build/MDUV380_FW.map
Validated
Every figure matches the map. It is one of two audits to generate the map itself and the first to add the two correct caveats: the RTOS heap is already inside .bss, and zero link margin does not prove the running heap is exhausted.
F9
The input ring holds 511 usable samples (~21.29 ms), each tick drains at most 128 samples so the service interval must stay under ~5.33 ms, each 512-sample hop is 13.33 ms, and the FIR alone runs about 4.18 million tap MACs per second
p25mon.c:93–100, 382–430; p25_4fsk.c:113–122
Validated
All four figures recompute exactly: 511/24000, 128/24000, 512/38400, and 75 windows/s × 688 outputs × 81 taps = 4.18M.
F9
p25monAudioUnderruns is declared and printed but never incremented, and the extracted playback function returns silence for an empty half-buffer while still reporting zero starvation
p25mon.c:513–517, 382–430
Validated
T3, reproduced by its own probe and rerun here.
F9
The periodic codec refresh can retry a single register for 200 ticks, and the process-cycle metric excludes parts of the tick that can starve the input ring
p25mon.c:624–639, 1056–1059
Holds
Correct. It does not multiply that by the ten registers the refresh writes, which is where the two-second worst case comes from.
F9
Deadlines are not proven missed: bounded-distance Golay/Hamming searches and synthesis of muted frames are optimisation candidates, not evidence
p25_fec.c:36–43, 62–73
Incomplete
Properly cautious, and it is the one gap in an otherwise complete sweep: emulated, mbelib’s IMBE synthesis needs 11–16× the 72 MHz budget, so the deadline is not merely unproven, it is already missed by an order of magnitude.
F10
The channel generator and the receiver share the same RRC model, so the synthetic tests can conceal a mismatch with real C4FM shaping or the radio’s filter cascade
p25_4fsk.c:16–55, 295–343; p25_4fsk.h:8–12
Holds
M1 in its sharp form, and it draws the inference that matters: the host capture tests feed the capture module directly, which is why F1 and F4 escaped them.
Limits
The follower recognises a restricted set of standard FDMA identifier updates and group grants, rejects proprietary formats and TDMA, and has no control-channel roaming
p25_trunk.c:19–59
Holds
Limits
Frequency admission uses the hardware band table, which even expanded ends at 564 MHz and excludes 700/800 MHz
p25mon.c:299–313; trx.c:44–83
Holds
Confirmed: maxFreq 56,400,000 on the extended range.
Limits
No captured-speech fixture exists in the reviewed directories, and the generated probe capture is a synthetic ramp rather than a radio recording
review-artifacts/probe-capture.txt
Holds
Assessment
The parser has positive evidence for corrected NID/BCH and status placement, LDU payload transport and signalling FEC, and those components should not be replaced because live reception fails
p25rx.c; tests/p25/signalling.py
Holds
The right call, and the opposite of the failure mode where an audit rewrites working code to explain a hardware problem.
Plan
Stage A gate: PTT, VOX and stock squelch cannot touch owned hardware, captures equal decoder input exactly, unknown or wrong calls emit no audio, and losses are observable
—
Holds
Five stages, each with an explicit gate, and it proposes converting its own defect probes into tests whose assertions require the corrected behaviour.
Scope
Hardware comments in source were treated as claims, not as measurements reproduced by this review, and no bench actions were performed
—
Holds
Its self-limits are stated three times and hold up against the session record.
Provenance
What was already known, and what it added
Every clean-room audit could see only the repository: its notes, code comments and the HR-C6000 manual, summarised in the first column. GPT-6 Astra raises more of these rows than any audit before it, reproduces four of them on the host, and adds the last row itself.
Issue
Project docs in the repository
Grok 4.6 Sep 17
DeepSeek V4.1 Flash Sep 17
Muse Spark 1.3 Contributor Sep 17
GLM 5.3 Flash Sep 17
UNIONALPHA Sep 17
Qwen3.8 Flash Sep 17
Qwen3.8 Max Sep 17
GLM 5.3 Sep 17
DeepSeek V4 Pro Sep 17
Gemini 3.8 Flash Sep 17
HY4 Preview Sep 17
GPT-5.6 Sol Sep 17
GPT-5.6 Luna Sep 17
GPT-6 Astra Sep 17
Capture export stages the wrong I2S halfwords
absent
raised §1, first code change
absent its first experiment uses that capture
absent trusts the capture
absent relies on the capture
raised F3, fixed and verified
raised P1-2, tests miss the adapter
absent calls the capture validated
raised §2, proven with a reproducer
absent calls the capture module sound
absent certifies the capture path
absent its plan depends on it
raised derived from the stride
absent its first step relies on it
raised F4, reproduced on the host
Capture parser certifies an incomplete stream
absent
absent
absent
absent trusts the parser
absent relies on the parser
absent
absent
absent relies on the parser
absent
absent
absent
absent
partly module tests miss the stride
absent
partly asks for tests at the callback
pcm_starve never increments
absent documented as working
absent
absent
absent relies on it
absent
raised F7
raised P1-7
absent
raised §2
absent
absent named only as a predicted symptom
absent
absent
raised F7, first to find it
raised F9, reproduced
No static RAM margin
partly margins still to measure
absent
raised M6, 0 bytes free
partly “nearly full”, from the docs
raised F5, byte-exact map audit
raised F6, byte-exact
partly calls the reservation headroom
absent
partly “~zero headroom”
partly from the docs, not the map
raised §3.5, exact map symbols
absent
raised exact map figures
absent could not read the map
raised F8, from its own link map
The I2S stream is most likely microphone audio
partly open, leaning sceptical
raised §1, 0x89 versus 0xC9
raised B1, four-value test
raised P1-1
partly open, leans towards RF
partly blocking, but never says microphone
raised P1-4, 0xE0 mic bit
raised A, the clearest case yet
raised §1, three sources
raised §1–§2, with the tap as the fix
raised §1 and §3.1
partly listed unverified, tested first
raised Blocker 1, source unproven
raised F1, as the safe default
raised F2, as far as the evidence goes
HR-C6000 de-emphasis on the capture path
absent
raised §2, bit 5 of 0x34
absent calls it benign
raised P1-2, 0x34=0x3C
raised F2, closes the eye
partly cited, called unmeasured
raised P1-3, 0x34=0x1C
raised C, with the 0x34 bit 5 fix
raised §1, tilts the eye
absent
raised §3.3, 0x34=0x3C
raised P1-1, and the boot table too
raised 0x34=0x3C, never replaced
raised F2, without the fix
raised F2, 0x34=0x3C
AT1846S FM filters, low-frequency bit, 25 kHz
partly “require characterization”
raised §2, register level
raised B2, filter register
raised P1-2, 0x58 filters
partly “voice filtering”; wrong bandwidth premise
partly cited, called unmeasured
raised P1-3, DMR 0x58 probe
absent
absent
absent
raised §3.3, with the DMR fix
absent
raised 25 kHz for a 12.5 kHz channel
absent
raised F2, the FM settings table
0x10=0x6E hybrid state; 0x36 dual role
partly bring-up clock rules
partly misses 0x6E and the 0x36 clock gate
partly “undocumented hybrid state”
partly quiet-chip registers
raised F4, 0x10=0x80 kills the clock
partly F1, 0x6E against 0x80
partly “hybrid I2S state”
partly slot engine and eco only
partly §4.3, 0x10=0x80 hazard
partly “inconsistent hybrid state”
partly 0x36 and 0xE0, not 0x10
partly 0x36, 0xE0, 0x26; not 0x10
partly FM mode writes, not 0x10
partly 0x36, 0xE0, 0x26 listed
partly 0x36 and 0x10 via the squelch path
Manual: I2S frame clock “must be 8KHz”
absent
raised §3
absent quotes the paragraph, not the rule
absent
absent
raised F4
absent quotes the formulas, not the rule
absent cites the section, not the rule
absent
absent
absent
raised P1-2, with a test for it
absent
absent
raised F7, with the divisor arithmetic
One-layer 4FSK test mode as a P25 tap missed or left unproven
partly stock BER-test block only
raised Gate D
raised B5, exact recipe
absent dismissed
absent
partly worth a bounded test
absent ruled out at “9600 Bd”
raised step 2, a symbol source
absent “not a P25 symbol source”
absent “no raw modem mode”
absent “zero internal silicon capability”
partly cited, then dismissed
absent
absent
partly points at the layer architecture
±10% health gate versus ±1% timing clamp
absent
absent
raised B3, impact overstated
raised P1-3
raised F3
absent
absent
absent
absent
absent
absent
absent
raised with the resampler consequence
raised F4, with the resampling consequence
raised F7
Fail-closed muting at LDU cadence
absent
absent late-entry mute only
absent
absent calls it an asset
absent
absent
partly “keep it”
absent
absent calls it tested
absent
absent certifies it as correct
absent
absent certifies it as correct
raised F8, weighed as a trade
raised F6, the late-entry half
Non-standard MFID mutes clear calls
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent certifies it as correct
absent
absent certifies it as correct
absent
absent
Test waveform shares the receiver’s RRC filter
partly “synthetic RRC/AWGN” caveat
absent
partly tested it, says not to fix
partly synthetic only, wants recordings
absent would extend that model
raised F5, unquantified
absent would extend that model
partly synthetic only, not the circularity
partly synthetic only
partly “ideal RRC-shaped signal”
absent
partly P1-5, circularity without the filter
raised names the shared table
partly synthetic, not circular
raised F10, with why the tests missed F1/F4
MCU runs at 72 MHz
raised
raised in passing
absent
raised P1-5
absent
raised F7
absent
absent
raised §5
raised §7, with the OpenRTX precedent
raised §3.5, with the PLL settings
raised P1-4, with the PLL lines
partly named as the target, never costed
raised F5, as the real-time risk
raised F9, the target for measurement
Vocoder needs 11–16× the 72 MHz CPU missed or left unproven
partly decode timing unmeasured
absent “fine on a 1 ms tick”
absent “vocoder question settled”
partly unmeasured; fix order backwards
absent “in good shape”
partly deadlines “unproven”
absent “not the problem”
absent “not the problem”
partly inline, unmeasured
partly cites 4.36M, calls it 60%
absent puts it at 15–18 ms per frame
partly 87% measured, budget unresolved
absent left as a later measurement
partly named, never sized
partly counted the filter, not the vocoder
Direct discriminator tap (M17 mod)
raised
raised uncredited
raised pins, timer ADC, 48 kS/s
raised fallback, pin 9
raised fallback
raised fallback
raised fallback
raised step 5, the likely answer
raised §1 pivot
raised its central recommendation
raised §5.1, with the ADC and DMA design
raised the fallback if Gate 0 fails
raised ADC with bias and anti-alias
raised F1, the fallback route
raised F2, ADC or another interface
Phase 2 architecture and scope
partly not implemented
partly misplaces the AMBE+2 decoder
partly voice via mbelib AMBE+2
raised with RF band limits
partly says mbelib has no AMBE+2
raised most accurate section
partly DMR and X2-TDMA parts
raised AMBE+2 present but uncalled
raised with a reference map
partly no symbol rate or sync
raised accurate on rate and slots
partly right conclusion, H-CPM mislabelled
raised plus the linked-symbol check
raised careful about the vocoder
raised the most complete of the fourteen
Two unverified SPI writes per decoded 20 ms frame
absent
absent
absent
absent
absent treats them as protection
absent
absent
absent
absent
absent
partly the SPI0inUse mechanism
partly silent SPI0 failures
raised radioSetAudioPath per frame
absent
partly the sink is cited, not the writes
Capture sessions lack epochs
absent
absent
partly measured=0 only
absent
absent
raised F9, 8 kHz under a 24 kHz header
absent
absent
absent
absent
absent
absent
partly asks for source metadata
absent
raised F4, segment on retune and clock change
Ring and tick real-time budget
partly deadlines unproven
partly calls it fine
absent
partly overruns look like weak RF
absent
raised F7, 1 ms is a minimum
partly register stalls against the ring
absent
partly 1 ms tick as a constraint
absent
absent
absent
raised the 2 s refresh stall
partly buffer inventory only
raised F9, all four figures exact
Clock config 3 assumes 12,288 Hz; the codec formula gives 12,000
absent
absent
raised B3, clock model
absent
partly “guessed semantics”
absent
raised P1-6, for a different reason
absent
partly “unvalidated on hardware”
absent
absent
absent
absent
absent
partly computes config 2 instead
Clock-config writes bypass the verified SPI writer
partly SPI retry note
absent
raised M1
absent
absent
raised F9
absent
absent
raised §4.2
absent
absent
absent
raised traced through four files
raised F6, both call sites
partly asks that writes be verified
Stock squelch re-arms FM audio (0x10=0x80) during monitoring
absent assumes it can’t re-arm
absent
absent
absent
partly names squelch logic as a risk
raised F1, new
absent “fixed” by forcing squelch open
partly names the squelch path as a writer
partly hazard flagged, “unlikely”
absent
absent
absent
raised same call chain, independently
absent ownership named in general
raised F1, reproduced on the host
Stale clear-call state releases a new call’s first frames
absent
absent
absent
absent
absent
raised F8, probe
absent
absent
absent
absent
absent
absent
absent
absent
partly via identity, not the 1,120 samples
No frequency tracking; ad-hoc timing loop gains
partly a code comment calls the DC estimate biased
absent
absent
absent
absent
absent
absent
absent
absent
raised §4, new
absent reads the loop as sound
absent
partly the ±1% clamp only
partly asks for a timing/AFC loop
absent
Unknown talkgroup opens audio (fail-open gating)
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
absent
raised F6, new and reproduced
Project docs: README.md, CAPABILITY-REPORT.md, STAGE3-BRINGUP.md, STAGE4-TX-FEASIBILITY.md, analysis/stock-p25/REPORT.md, analysis/capture-milestone-REPORT.md, dm1701-p25-demo/README.md and source comments. The last row is new in this audit.
Its plan
What to keep, change and add
Five stages, A to E, each ending in a gate written as a condition you can fail. Its first stage is the one every other plan skipped: make the instruments trustworthy before measuring anything with them.
Keep
Worth doing as written
Stage A, offline: fix ownership and the transmit veto, fix the capture unpacking and lifecycle, fix identity gating and the starvation counters — with the gate that captures must equal decoder input exactly and unknown calls must emit no audio.
Turn the defect probes into tests whose assertions require the corrected behaviour. The probes already exist.
Stage C: prove the RF source before more DSP work, with documented source, rate, usable bandwidth and repeatability.
Separate clock-alive detection from DSP-qualified-rate detection, and stop feeding DMA-batch jitter into an instantaneous correction.
Change
Would cause new problems
“Deadlines are not proven missed”: the vocoder is already 11–16× over budget, which belongs in the feasibility gate, not Stage B.
The layer-mode reference: §5.4.6, not §5.1 — one-layer mode runs at 4,800 symbols per second, which is the untried route.
Add
Missing from its plan
The MFID rule, the fail-closed half of the identity problem it found the fail-open half of.
The demodulator’s control loops: no frequency tracking, ad-hoc timing gains, no lock test.
The one-layer path, and what it would take
Manual Table 5.6 (verified line by line), with the questions that decide whether it can carry P25.
Register
Value
Manual description
0x01
xxxx 0000
IF receive mode
0x07 0x08 0x09
0x0B 0xD9 0x54
24-bit IF word, 455 kHz by default (OpenGD77 boots at 450 kHz)
0x10
0x02
One-layer mode, continuous receive; bit 5 for slot receive
0x40
0x40
Receive enable, test mode
0x41
0x41
Receive test enable
Output: 36 demodulated bytes per frame in RX RAM from 0x30, frame type in 0x51, system interrupt bit 0 when ready.
Rate fits exactly: 36 bytes every 30 ms is 9,600 bit/s, which is 4,800 symbols per second. Contiguous frames would lose nothing.
Open: Figure 5.15 is DMR burst geometry, so the mode may only emit frames after DMR sync. That’s the first thing to test.
Also needed: the AT1846S DMR register set, since the demodulator is fed by the AT1846S. And the vocoder still has to run in real time.
Phase 2
The complete version
This is the Phase 2 section the earlier thirteen were circling. It names the downlink as H-DQPSK at 6,000 symbols per second, and then everything that sits under it: burst and slot synchronisation, ISCH and DUID decoding, the scrambling sequence derived from WACN, System ID and NAC, FACCH, SACCH and MAC handling, ESS, voice extraction and FEC, and AMBE+2 synthesis. It checks the firmware source roots and finds the bundled Phase 2 reference files outside them, and it notes that the proprietary DMR codec interface is not a proven drop-in.
Its judgement is the same as everyone’s — not a setting, a separate receiver — but it is the first that says why the C6000’s two slots are irrelevant: Phase 2 slot structure is not DMR slot structure, and a slot engine that matches in count does not match in framing. Its advice is to build the pipeline on the host against the bundled reference first, and to make the memory decision before the port, not after.
Against the other clean-room audits
The highest ranked grade on this task
Thirteen models reviewed this repository before this one, under the same rules. GPT-6 Astra is the first to ship code that reproduces what it claims, the first to find the fail-open identity gating, and the first to reach five of the six instrument defects. Its sibling GPT-5.6 Sol found the capture export by reading; this one prints the two sample sequences. The vocoder’s CPU cost remains unfound by all fourteen.
Same rubric and weights. Hover or focus a bar for the score.
GPT-5.6 Sol
HY4 Preview
GPT-5.6 Luna
GPT-6 Astra
Method and limits
How this was checked
I read GPT6ASTRA_REVIEW.md in full and checked each claim against the firmware sources, the OpenGD77 drivers, the translated HR-C6000 manual and the repository’s notes. Where it reported a result I repeated it: the test suite, the ARM builds, the link map, the ring and filter arithmetic, and its reproduce.py harness, which I copied into a clean scratch copy of the baseline and ran there. Its new finding I confirmed at the source before accepting the probe.
Before grading I audited the run: one model for all 29 calls, no network, no skills or memory, and nothing read outside its copy of the repository — the audit’s path hits are the repository’s own README text and the harness’s output-truncation notices. It ran one-shot through the Hermes bench profile on an OpenAI Codex subscription, with the same prompt, tools, reasoning setting and sandbox as every other run. The de-emphasis and CPU results come from the model and emulator used for the Grok 4.6 audit.
Filter responses are modelled, not measured.
CPU figures come from instruction counts in an emulator, not timing on the radio.
Its probes reproduce the firmware’s logic against stubs; they are not hardware measurements, as it says itself.
No firmware was flashed, and no radio was touched.
python3 review-artifacts/reproduce.py # in a clean scratch copy of the baseline
# REPRODUCED capture stride mismatch: 158 of 160 samples differ
# REPRODUCED empty playback DMA half: pcm_starve remains 0
# REPRODUCED trunk sink accepts 160 samples while received talkgroup is unknown
# REPRODUCED late-entry clear LDU2: call_state=clear, talkgroup=0, audio_samples=320
# REPRODUCED stock squelch re-selects FM and enables amplifier after monitor mute