Skip to main content

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 gdb on the Mac itself. A Lager Box installed on another Mac with lager install --ip is unchanged, and so is a Linux Lager Box.

Features

  • OpenOCD debug probes work on a Mac Lager Box. lager install and lager update install 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 saved serial://, /dev/ttyUSB0 or /dev/ttyACM0 address works unchanged.
  • /dev/serial/by-id nets 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 --version on the command line now installs even when the CLI runs from a checkout.

Bug Fixes

  • lager nets tui makes 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 from A:0 to D:7 on an FT4232H, and I2C and SPI rows are on A and B. The TUI saves the channel as params.interface, as lager nets add --interface does. The Net Manager lists these nets with their channel, for example C: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 instruments and the lager nets TUI 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, adc or dac call 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, i2c or spi call works. A Linux Lager Box is unchanged.
  • On a Mac Lager Box, a lager python script 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 the lager commands already did.
  • On a Mac Lager Box, lager nets state reports 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 install now 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> flash and DebugNet.flash() are unchanged.

Improvements

  • POST /nets/power-up and lager nets apply-power-up --json now report how each device holds its levels. Each device entry carries backend, storage and coverage.

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.

Installation

To install this version:
To upgrade from a previous version:
Then update your boxes: