ab7264d5c7726874a80a218dfc886f035b4de208
Root cause: fpga -file breaks the DAP unless PS is initialized first. Solution: source ps7_init.tcl + ps7_init + targets 1 BEFORE fpga -file. Changes: - _program_with_xsct: init PS (clocks/DDR/MIO) before fpga -file → DAP stays alive, subsequent ELF download works - _run_elf_with_xsct: simplified - no reconnect needed, DAP is healthy (kept ps7_init fallback for recovery) - program_bitstream: auto-detects ps7_init.tcl from BIT file directory Verified on hardware: Session 1 (BIT): connect → ps7_init → fpga → exit (13s) ✓ Session 2 (ELF): connect → targets 2 → dow → con (9s) ✓
Description
Zynq Bootloader下载验证工具
1.1 MiB
Languages
Python
99.4%
Batchfile
0.6%