doc: add kcu105 dual qspi command examples

This commit is contained in:
bma 2025-03-20 20:33:17 +01:00
parent 1c78344ca5
commit e6d20ab6d5
2 changed files with 31 additions and 2 deletions

View File

@ -494,7 +494,7 @@
URL: https://www.xilinx.com/products/boards-and-kits/kcu105.html
FPGA: Kintex UltraScale xcku040-ffva1156
Memory: OK
Flash: OK
Flash: OK (primary and secondary)
- ID: kcu116
Description: Xilinx KCU116

View File

@ -34,7 +34,7 @@ Reading the bitstream from STDIN
.. code-block:: bash
# FPGA side
nc -lp port | openFPGALoader --file-type xxx [option
nc -lp port | openFPGALoader --file-type xxx [option]
# Bitstream side
nc -q 0 host port < /path/to/bitstream.ext
@ -83,6 +83,35 @@ Writing to an arbitrary address in flash memory
With FPGA using an external SPI flash (*xilinx*, *lattice ECP5/nexus/ice40*, *anlogic*, *efinix*) option ``-o`` allows
one to write raw binary file to an arbitrary adress in FLASH.
Detect/read/write on primary/secondary flash memories
=====================================================
With FPGA using two external SPI flash (some *xilinx* boards) option ``--target-flash`` allows to select the QSPI chip.
To detect:
.. code-block:: bash
openFPGALoader -b kcu105 -f --target-flash {primary,secondary} --detect
To read the primary flash memory:
.. code-block:: bash
openFPGALoader -b kcu105 -f --target-flash primary --dump-flash --file-size N_BYTES mydump.bin
and the second flash memory:
.. code-block:: bash
openFPGALoader -b kcu105 -f --target-flash secondary --dump-flash --file-size N_BYTES --secondary-bitstream mydump.bin
To write on secondary flash memory:
.. code-block:: bash
openFPGALoader -b kcu105 -f --target-flash secondary --secondary-bitstream mySecondaryBitstream.bin
Using an alternative directory for *spiOverJtag*
================================================