Bug Fixes
lager debug ... flashand the DA1469x flash loader now quote the firmware path before handing it to OpenOCD. OpenOCD parses its TCL commands word-by-word, so aprogramorload_imageargument with a space in it was being chopped into two TCL words and the underlying flash op either failed loudly withwrong # argsor hit the wrong file. In practice the path comes fromtempfile.NamedTemporaryFile()or the fixed~/third_party/customer-binaries/openocd/flash-loaders/da1469x/tree (no spaces), so the bug never bit in normal operation; the fix is defensive and alignsbox/lager/debug/openocd.py’sOpenOcdRpc.program()andOpenOcdRpc.load_image()with the existing quoting pattern inOpenOcdRpc.rtt_setup(). Notable for operators who relocate the flash-loader tree viaLAGER_FLASH_LOADERS_DIR=/path/with spaces/.- DA1469x flash_loader ELF parser now reports a clear error on a truncated symbol-table name instead of a Python
ValueErrortraceback.box/lager/debug/da1469x_loader.py’s ELF32 symbol walker usedbytes.index(b'\x00', ...)to locate the null terminator for each name in the string table, which raised an unwrappedValueErrorif the strtab itself was truncated. Switched tobytes.find()with an explicit error message that names the offending offset;_resolve_loader_symbols()still rewraps it asDa1469xLoaderErrorso the call site error type is unchanged.

