Apio upload¶
apio upload¶
The apio upload command builds the bitstream (like apio build) and uploads it to the FPGA board.
Examples
apio upload # Typical usage
apio upload -s /dev/cu.usbserial-1300 # Specify serial port
apio upload -n FTXYA34Z # Specify USB serial number
Options
-s, --serial-port serial-port Specify the serial port
-n, --serial-num serial-num Specify the device's USB serial number
-e, --env name Use a named environment from apio.ini
-p, --project-dir path Specify the project root directory
-h, --help Show this help message and exit
Notes
-
In most cases,
apio uploadis enough to locate and program the FPGA board. Use the--serial-portor--serial-numoptions to select a specific board if multiple matching devices are connected. -
Use
apio devicesto list connected USB and serial devices, andapio driversto install or uninstall device drivers. -
You can override the board's default programmer using the
programmer-cmdoption inapio.ini.