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"):