On my Zynq UltraScale+ MPSoC, I am trying to program the FPGA using the fpga command from XSDB immediately after 'rst -srst' command.
However, FPGA configuration fails with the error "fpga initialization failed".
How can I resolve this?
This occurs because Zynq UltraScale+ MPSoC needs TMS to be held high for 5 cycles of TCK.
The issue can be resolved by adding a delay after rst -srst'. During this delay, the debugger holds TMS high for 5 cycles, while polling the JTAG devices.