I’m working on the Ethernet control layer for the Hamilton STAR (firmware over TCP on port 24652, through the LAN Dual Processor Board) and ran into a couple of quirky issues. I was wondering if anyone has seen them before on the 7.6S version of master firmware.
My setup is a STARlet with master firmware 8.7S 96 2021-11-02, 8 channels and a 96-head. Both issues happen only when the master (C0) has two queries in progress at once. Read-only R*/Q* commands skip _FirmwareLock, so this can happen whenever queries are sent concurrently.
-
An X0 reply comes back with the C0 command’s id. If X0QW is sent while a C0QW is still in progress, the reply comes back as X0QWid<C0’s id>. The router pairs replies by id, so it hands that reply to the C0QW caller. C0QW’s real reply is then dropped, and X0QW waits until its read timeout. Example:
→ C0QWid0124
→ X0QWid0125mn1
← X0QWid0124qw1 (X0’s answer, but with C0’s id)
← C0QWid0124er00/00qw1 (dropped, nothing waiting for it) -
The master refuses a second C0 query as busy. With C0RF, C0QW and C0RY sent together, C0RY sometimes comes back er01/42 (“Miscellaneous task busy”).
I ran the same tests over USB and over TCP, 25 rounds each, and got about the same results on both links, so it isn’t the network transport:
-
X0QW + C0QW at once: wrong id in 22/25 rounds on USB, 21/25 on TCP
-
C0RF + C0QW + C0RY at once: 7/25 refused busy on USB, 2/25 on TCP
-
The same commands one at a time: all fine on both
-
C0RF + P1-P8 RZ + H0RF at once: all fine on both
So the master, with X0 on the same board, seems to handle only one command at a time, even for queries. The channels and the 96-head are happy to run alongside it. This looks related to the 2026-09-04 note in master.py about the autoload replying with a stale id while a C0 command was in progress.
A few questions:
-
Have you seen this on 7.6S, or might it be specific to 8.7S or the LAN board?
-
Was the R*/Q* lock exemption based on a particular firmware version?
-
Would it make sense to make a change that sends C0 and X0 queries one at a time, and lets only queries to the channels and heads overlap?
I’m happy to share the traces and the test script.