Upgrade Notes
- On a Mac Lager Box, a debug probe’s GDB server accepts connections from
that Mac only. Before, the J-Link and OpenOCD GDB servers listened on every
interface. Now they listen on 127.0.0.1, as the host agent does. Run
gdbon the Mac itself. A Lager Box installed on another Mac withlager install --ipis unchanged, and so is a Linux Lager Box.
Features
-
OpenOCD debug probes work on a Mac Lager Box.
lager installandlager updateinstall OpenOCD with Homebrew and report it as “OpenOCD debugging”. A debug net with an OpenOCD probe runs as it does on a Linux Lager Box. -
Serial-port supplies and the DexArm work on a Mac Lager Box. Rigol DP700
and EA PSB nets, including the EA as a solar simulator, open their port on a
Mac. DexArm nets (
lager arm) do too. A savedserial://,/dev/ttyUSB0or/dev/ttyACM0address works unchanged. -
/dev/serial/by-idnets work on a Mac Lager Box. A net saved on a Linux Lager Box with a by-id port opens unchanged on a Mac. The Mac also has/dev/serial/by-path/platform-macos-...names of its own. A by-path name from a Linux Lager Box names that machine’s USB socket. A Mac refuses it with an error that says to use the by-id name. -
lager install --version <branch>works on a Mac. The installer downloads the branch or full commit SHA. Its Box code runs on the published image of the release that it is based on. A--versionon the command line now installs even when the CLI runs from a checkout.
Bug Fixes
-
lager nets tuimakes FTDI nets on channel A only. On an FT2232H or FT4232H, the Add list now shows each pin once per FTDI channel. GPIO rows run fromA:0toD:7on an FT4232H, and I2C and SPI rows are on A and B. The TUI saves the channel asparams.interface, aslager nets add --interfacedoes. The Net Manager lists these nets with their channel, for exampleC:1. -
A PicoScope scanned right after it is plugged in lists two channels on a
four-channel unit. The scope daemon takes a few seconds to open a unit.
lager instrumentsand thelager netsTUI now wait up to 8 s for it. A Lager Box with no PicoScope or no daemon does not wait. -
A LabJack U3 that is plugged in again needs a manual restart. The Lager
Box’s hardware service now restarts itself when the kernel lists the U3 but
the service cannot see it. That request answers “restarting”, and the next
lager gpi,gpo,adcordaccall works. -
An FTDI part that is plugged in again on a Mac Lager Box fails with “No
such device”. pyftdi kept the old device in its cache. Lager now clears that
cache when it disagrees with libusb, so the next
lager gpi,gpo,i2corspicall works. A Linux Lager Box is unchanged. -
On a Mac Lager Box, a
lager pythonscript drives the wrong pin of a shared instrument. GPIO, ADC, DAC, SPI and I2C nets with the same address all went through the net that the host agent opened first. Each net now reaches its own pin, as thelagercommands already did. -
On a Mac Lager Box,
lager nets statereports a serial net as “not connected”. A net with a/dev/ttyUSB*or/dev/ttyACM*address now shows as connected while its adapter is plugged in. -
A Mac Lager Box install skips PicoScope after its app was deleted.
Homebrew can keep its record of the PicoScope cask after the app is gone.
lager installnow reinstalls the cask in that case. -
On a Mac Lager Box, the host agent’s debug flash call accepts extra
fields. It now accepts only the firmware and
flash_address. It refuses an unsupported firmware type before it writes a temporary file.lager debug <net> flashandDebugNet.flash()are unchanged.
Improvements
POST /nets/power-upandlager nets apply-power-up --jsonnow report how each device holds its levels. Each device entry carriesbackend,storageandcoverage.
Known Limitations
- OpenOCD probes on a Mac Lager Box are not yet tested on hardware. macOS’s own FTDI serial driver can hold an FTDI chip, so an FTDI-based OpenOCD probe can fail to open.
- The Mac Lager Box does not support Rigol oscilloscopes, webcams or BLE yet. See Setting Up a Lager Box on a Mac for the full list.

