From 30dbddc294df663f2c1b90b2b4eea4453f9e01f9 Mon Sep 17 00:00:00 2001 From: Douglas Reis Date: Fri, 26 Jun 2026 16:04:28 +0100 Subject: [PATCH] [fpga-loader] Skip erase on loading binaries Speed up binaries load from 1.8Mibps to 2.1Mibps. Signed-off-by: Douglas Reis --- util/fpga_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/fpga_runner.py b/util/fpga_runner.py index 31642e04f..47ddda77a 100755 --- a/util/fpga_runner.py +++ b/util/fpga_runner.py @@ -90,7 +90,7 @@ async def load_elf(path: Path) -> None: async def load_binary(path: Path, address: int) -> None: command = ftditool_command("load-file") - command.extend([str(path), "--addr", hex(address)]) + command.extend(["--skip-erase", str(path), "--addr", hex(address)]) p = await asyncio.create_subprocess_exec(*command) if await p.wait() != 0: