9 Commits
Author SHA1 Message Date
Matthew CarrollandClaude Opus 5 bdc4828e0f lf t55xx writetest: read each block three times and name how it differs
One read cannot see the fault this suite is most useful for. A block that comes
back silently wrong on some reads and right on others scores the same as one
that is simply wrong, and the same as one that is fine. Read each block three
times and mark disagreement between them as `unstable`.

Where a block is wrong the same way every time, name it: `rol1`, `ror5`,
`inverted`, `inv+ror2`, `shr1`. The kind matters. A rotation says the word
boundary moved, an inversion says psk picked the opposite phase, and a shift
says a demodulation opened a bit early and padded with zero - three different
faults that want three different fixes, and all of them previously reported as
"block 3,4 bad".

Measured on a T5577 over the 21 PSK1 configurations, this turns 56 fields of
"bad" into 56 marked unstable, and on a build that has since fixed part of it,
into 24 rotations whose size tracks the bit rate - ror5 at RF/32, ror4 at RF/40,
ror2 at RF/100 - which is a fixed sample offset rather than noise, and says
where to look.

Block 1 is 00000000, which equals all of its own rotations, so a rotated read of
it cannot be told from a correct one. Noted in the header rather than changed,
since the payload is the suite's own choice.

Also corrects the header, which described block 2 as ffffffff where the script
writes aa5500ff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 12:30:20 -07:00
iceman1001 2dbd4836c3 improve test harness for LF 2026-07-28 15:53:20 +02:00
iceman1001 f1cf01f757 test 2021-04-16 01:15:14 +02:00
iceman1001 7377a45bd0 lf t55xx write - now uses cliparser 2021-03-07 22:00:33 +01:00
iceman1001 7f78b0a85d text and test fix for lf search 2021-01-27 14:36:43 +01:00
iceman1001 6454e168fb adapt for data load changes 2020-10-09 22:25:33 +02:00
Philippe Teuwen f286ed9794 Rename hf_lf_multi_bruteforce.lua -> multi_bruteforce.lua 2020-09-23 00:31:28 +02:00
Philippe Teuwen 8cea2d4c9e mv script 2020-09-23 00:27:16 +02:00
Philippe Teuwen b166dc166a scripts: move examples and tests in subdirs 2020-09-23 00:16:01 +02:00