Upgrade Notes
- Update your boxes with the new CLI.
lager updatenow installs BlueZ on the box host when it is missing, solager bleandlager blufiwork on a box running Ubuntu Server. That step runs from the CLI, so upgrade the CLI first, then runlager update --box <box-name>. It needs no password. - The next
lager installon each box asks for the sudo password once. The install’s privileged session now also installs BlueZ, so its fingerprint changed. DebugNet.flash()andDebugNet.erase()can now raise on J-Link. They raiseRuntimeErrorwhen J-Link did nothing, as they already did on OpenOCD. A script that treated the returned output as success will now stop at the real failure.DebugNet.connect(halt=True)raisesValueErroron a J-Link net. J-Link has no halt-on-connect, and the argument was ignored. Attach a halt-first.JLinkScriptwithconnect(script=...)instead.
Features
- Read-only commands run on a box that someone else has locked.
lager nets,nets show,nets show-script,lager hello,lager binaries list,lager debug <net> healthand the net listings of each command group print one note naming the holder and continue, for a user lock and a CI lock. Every other command still refuses. See the read-only list on the Box Locking page.
Bug Fixes
- BLE and BluFi failed on a box running Ubuntu Server. The box host had no BlueZ, and every
lager bleandlager bluficommand failed withThe name org.bluez was not provided by any .service files.lager installandlager updatenow install BlueZ and enablebluetooth.service. lager bleandlager blufinow say how to fix a box host without BlueZ, instead of printing the raw D-Bus error.lager netsignored the box lock for an IP address and the default box. Only a saved box name was checked, sonets delete,rename,add-all,set-scriptand the other changing subcommands ran under another holder’s lock.lager debug <net> flashprintedFlashed!on a J-Link read-back compare failure. It now fails onVerification failed @ address ...andERROR: Verify failed.. On a DA1469x, whose cached compare can report a false failure, only the box’s uncached read-back (LAGER_DA1469_UNCACHED_VERIFY=1) fails it (issue #617).- A
lager netschange did not reach the nextlager debugcommand.set-script,remove-script,add,rename,deleteand the Net Manager now drop the CLI’s cached debug nets for the box, soflashanderaseno longer send the old J-Link script for up to five minutes. - A
DebugNet.connect()OpenOCD config override did not last untildisconnect(). A relaunch withforce=True, or the self-heal’s reconnect, used the net’s own cfg instead.

