Forum Discussion
Altera_Forum
Honored Contributor
13 years agofrom the command line, use (once the FPGA is configured with the correct .sof image)
nios2-download -g -i 0 your_elf_file.elfThe -g flag tells to start the CPU after the download. The -i 0 flag means to download the elf file to the first CPU in the FPGA. Similarly, you can send the elf file to the second CPU withnios2-download -g -i 1 your_other_elf_file.elfetc. If you also want to open a terminal and connect to the JTAG uart, you can use (in a second window, before you start the download)nios2-terminal -i 0and similarly if you have several JTAG UARTs, each connected to a different CPU, use -i 1, -i 2... to connect to the others.