Skip to content

FTM-510: write the M-GRP memory group (#158) - #159

Merged
ww8l merged 1 commit into
mainfrom
issue-158-ftm510-mgrp
Nov 22, 2026
Merged

ww8l merged 1 commit into
mainfrom
issue-158-ftm510-mgrp

Conversation

@ww8l

@ww8l ww8l commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Closes #158.

The FTM-510 has the FTM-300's one user memory group, M-GRP. The original driver wrongly concluded it only had PMG, which is a separate 5-channel monitor and is still left alone. This wires M-GRP the way the FTM-300 has it:

  • Codeplug page: the M-GRP box now appears for the FTM-510; channels are picked one by one.
  • Export: the picked channels get the M-GRP flag. Every slot is rewritten, so a channel that wasn't picked comes out of the group.

The bit is 0x08, not the FTM-300's 0x10

Measured with ADMS-18 against a copy of the radio's own backup:

pass change in ADMS-18 bytes that differ from the baseline save
1 tick M-GRP on memory 2 one: 0x0810 (memory 2 byte 0) 0x81 → 0x89
2 move the tick to memory 1 one: 0x0800 (memory 1 byte 0) 0x81 → 0x89

The baseline save was byte-identical to the ADMS re-save from the original #151 campaign. Byte 0 holds the band code in bits 0–2, so the flag can't collide with it. mgrp_sets_the_bit_adms18_writes pins the exact byte.

Not verified

  • Not yet seen on the radio's screen. After READ FROM SD → ALL, M-GRP members should show blue numbers in MEMORY CH LIST, and [BAND] in memory mode should reach an M-GRP group holding only them. Tim will check this on the radio.

npm run ci passes locally.

🤖 Generated with Claude Code

The FTM-510 has the FTM-300's one user memory group, M-GRP (separate from
PMG, which the original driver mistook it for). The codeplug page now shows
the M-GRP box for it and the export flags the chosen channels.

The flag is record byte 0 bit 0x08, NOT the FTM-300's 0x10. Measured with
ADMS-18: ticking M-GRP on one memory changed exactly that memory's byte 0
0x81 -> 0x89, and moving the tick moved the bit. Not yet confirmed on the
radio's own screen (members should show blue in MEMORY CH LIST).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ww8l
ww8l merged commit d8dede6 into main Nov 22, 2026
3 checks passed
@ww8l
ww8l deleted the issue-158-ftm510-mgrp branch November 22, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FTM 510 mgrp

1 participant