Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

5.3.7.6. Running the Small Boot Copier Example

To run the small boot copier example on your development board:

  1. After the flash programmer completes, in a Nios® II command shell, type the following command to reset the Nios® II processor:
    nios2-download -r -g 
    
    //Press ENTER

    The boot copier should now boot the test application.

  2. To test that the test application actually loads and executes, run the nios2-terminal utility in the Nios® II command shell by typing the following command:
    nios2-terminal 
    
    //Press ENTER
If the boot copier runs successfully, you see output from nios2-terminal, as shown in the "Small Boot Copier Output" figure.
Figure 229. Small Boot Copier Output
Note: If nios2-terminal cannot connect to the JTAG UART with the default settings, run it with the --help option for a listing of the command line switches that might be needed.