TR5-Lite User Manual
52
June 20, 2018
HELLO_NIOS.elf
Software design file for Hello Demo
To apply the batch file to users’ .sof and .elf file, users can change the .sof and .elf filename in the
flash_program_bashrc_ub2
file
as shown in
Figure 4-1 Change to usrs
’ .sof and .elf filename
If your design does not contain a NIOS II processor, users can add “#” to comment (disable) the
elf2flash and nios-flash-programmer commands in the
flash_program_bashrc_ub2
file as shown in
Figure 4-2 Disable .elf translation and programming
If your design includes a NIOS II processor and the NIOS II program is stored on external memory,
users must to perform following items so the NIOS II program can be boot from flash successfully:
1.
QSYS should include a Flash controller for the CFI Flash on the development board. Please
ensure that the base address of the controller is 0x00, as shown in
2.
In NIOS II processor options, select FLASH as reset vector memory and specify
0x04940000 as reset vector, as shown in