Files
Zynq_Flasher/config/default_config.yaml
T
Jeremy Shen 93ab224d6d feat: Xilinx Kit directory selector + multi-version scan
Configuration panel now has a 'Xilinx Kit:' row at the top with:
- Entry field showing current path
- [Browse] button using system directory dialog (cross-platform)
- Select root directory (e.g. /data/xilinx or C:/Xilinx)

vitis_checker.py now scans xilinx_root subdirectories:
  1. System PATH (shutil.which) — works on all platforms
  2. Legacy vitis_path/bin
  3. xilinx_root/Vitis/*/bin and Vivado/*/bin (all versions, newest first)
  4. Common install paths (Windows: C:/Xilinx, Linux: /data/xilinx, /opt/xilinx)

Multi-version: scans all version directories under Vitis/ and Vivado/,
picks the newest version for each tool.

Config: xilinx_path replaces vitis_path (backward compat kept)
2026-06-10 14:27:47 +08:00

56 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Default configuration for Zynq XC7Z100 Flasher
# Paths are relative to this config file's directory.
# Xilinx installation root (e.g., /data/xilinx or C:/Xilinx)
# The program scans subdirectories for Vitis/Vivado versions.
# If empty, tools are searched via system PATH.
xilinx_path: ""
# Zynq device network settings
zynq_ip: "192.168.100.11"
tftp_upload_name: "z7bin"
# Serial port settings
serial_port: ""
serial_baudrate: 115200
# File paths (relative to config file directory)
# Bootloader files (Step 3: Load Bootloader)
bootloader_bit_path: ""
bootloader_elf_path: ""
# Flash programming (Step 2: Program & Verify Flash)
# bootloader_bin_path is the bootloader image to program into QSPI flash
# fsbl_elf_path is the FSBL (First Stage Boot Loader) required by program_flash
# flash_type sets the QSPI interface mode (qspi-x4-single, qspi-x8-dual_parallel, etc.)
# erase_all: if true, erase entire flash chip; if false, only erase sectors needed
bootloader_bin_path: ""
fsbl_elf_path: ""
flash_type: "qspi-x4-single"
flash_model: "s25fl256s1"
erase_all: false
# Firmware upload (Step 4: Load Main Program via TFTP)
firmware_bin_path: ""
# Reboot settings
reboot_timeout: 30
# Ping verification settings
ping_timeout: 5
ping_count: 3
# Step timing (seconds) — used for progress bar max and timeout (experience × 2)
step_timeouts:
check_env: 30 # Step 1: tool detection + JTAG scan (~5s actual)
flash_erase: 120 # Step 2a: QSPI chip erase (~40s actual for 17MB)
flash_program: 600 # Step 2b: QSPI program+verify (~300s actual for 17MB at x4)
bitstream: 60 # Step 3a: FPGA configuration via JTAG (~16s actual)
elf_download: 60 # Step 3b: ELF download to PS via JTAG (~9s actual)
tftp_reboot: 120 # Step 4: TFTP upload + reboot + boot verify (~30s network)
# Delays (seconds)
inter_step_delay: 2
uart_delay: 3