From 4ac65f68a87565f72afe672b36e382881bbc521c Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Sat, 27 Jul 2024 20:44:13 -0400 Subject: [PATCH] gateware.platform: Use force_fpga_offline() --- luna/gateware/platform/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/luna/gateware/platform/core.py b/luna/gateware/platform/core.py index 135f76d3..30ed26a7 100644 --- a/luna/gateware/platform/core.py +++ b/luna/gateware/platform/core.py @@ -151,9 +151,7 @@ def _ensure_unconfigured(self, debugger): from apollo_fpga.ecp5 import ECP5_JTAGProgrammer - with debugger.jtag as jtag: - programmer = ECP5_JTAGProgrammer(jtag) - programmer.unconfigure() + debugger.force_fpga_offline() def toolchain_flash(self, products, name="top"):