From 4da03e97d85ba5acedf5f67b6799a3e40fa6cf0b Mon Sep 17 00:00:00 2001 From: Jeremy Shen Date: Fri, 12 Jun 2026 17:37:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20open=5Fhw=5Fmanager=E2=86=92open=5Fhw=20?= =?UTF-8?q?for=202018.3=20batch=20mode=20compat;=20revert=20console=3DTrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZynqFlasher.spec | 2 +- src/bitstream_programmer.py | 2 +- src/zynq_checker.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZynqFlasher.spec b/ZynqFlasher.spec index 6ccdca4..b93644e 100644 --- a/ZynqFlasher.spec +++ b/ZynqFlasher.spec @@ -54,7 +54,7 @@ exe = EXE( upx=True, upx_exclude=[], runtime_tmpdir=None, - console=False, # GUI only, no terminal window + console=True, # show console for terminal log output disable_windowed_traceback=False, argv_emulation=False, target_arch=None, diff --git a/src/bitstream_programmer.py b/src/bitstream_programmer.py index 0b3c09a..4a3464c 100644 --- a/src/bitstream_programmer.py +++ b/src/bitstream_programmer.py @@ -271,7 +271,7 @@ def _program_with_vivado( callback("progress", "Using Vivado Hardware Manager...") tcl_content = f""" -open_hw_manager +open_hw connect_hw_server open_hw_target current_hw_device [lindex [get_hw_devices] 0] diff --git a/src/zynq_checker.py b/src/zynq_checker.py index 7dbd5b5..991291c 100644 --- a/src/zynq_checker.py +++ b/src/zynq_checker.py @@ -257,7 +257,7 @@ def _extract_relevant(output: str) -> str: def _build_jtag_query_tcl() -> str: """Build Vivado TCL script file for JTAG device enumeration.""" content = """\ -open_hw_manager +open_hw connect_hw_server open_hw_target puts "===JTAG_START==="