The GRBL settings store lives in /data/forgefirm

BRINGUP names the new path in the standalone start line and the
stored-settings note. forgectrl.panel-serves checks, in GRBL mode, that
the store is /data/forgefirm/EEPROM-glowforge.DAT and that nothing of it
remains at the top of /data. super.c is already in its covers map.
This commit is contained in:
ScottW514
2026-09-06 22:22:33 -04:00
parent a86d66049f
commit 9f715f08de
2 changed files with 18 additions and 9 deletions
+7 -7
View File
@@ -151,12 +151,12 @@ core mutex stands in for interrupt masking. `GFSINK` unset = null-sink mode
second.
3. Standalone start (bench/debug only - requires forgectrl stopped, since the
broker's exclusive hold on `/dev/glowforge` makes any self-open fail EBUSY):
`cd /data && GFSINK=/dev/glowforge grblHAL_glowforge -p 23 -e
/data/EEPROM-glowforge.DAT`. Env knobs: `GFSINK_RATE` (machine tick, default
28160 Hz = factory travel tick), `GFSINK_DEPTH_MS` (queue depth = feed-hold
latency, default 200). Standalone, the driver opens the device itself and
every takeover runs the `rail_settle_s` off-period; under the broker it
inherits the fd and skips the settle (the rail never dropped). The driver
`cd /data/forgefirm && GFSINK=/dev/glowforge grblHAL_glowforge -p 23 -e
/data/forgefirm/EEPROM-glowforge.DAT`. Env knobs: `GFSINK_RATE` (machine
tick, default 28160 Hz = factory travel tick), `GFSINK_DEPTH_MS` (queue
depth = feed-hold latency, default 200). Standalone, the driver opens the
device itself and every takeover runs the `rail_settle_s` off-period; under
the broker it inherits the fd and skips the settle (the rail never dropped). The driver
applies the full analog machine config at init either way (×8 modes, decay 1,
motor_lock 0 with every axis in the pulse path and the Z soft limit always
on, laser latched, PIC hold currents) and swaps PIC run/hold
@@ -184,7 +184,7 @@ runtime `$35=0` the shipped duties stay floored.
**Stored `$`-settings beat freshly baked defaults** - after changing
`GLOWFORGE_DEFAULTS` values, run `$RST=$` once on the board (settings persist
in the eeprom file in `/data`).
in `/data/forgefirm/EEPROM-glowforge.DAT`).
**Protocol-loop pacing is fd-blocking.** `serial_wait()` drains TX then
`ppoll()`s the listen/client fds with a state-dependent timeout: idle and alarm