Altera_Forum
Honored Contributor
14 years agorun a c program using nios 2 command shell
Hi,
I am trying to run a .c file from nios 2 command shell but not able to. I know how to run .elf using nios2-download -g hello_world.elf. I also know how to convert .c to .out using nios2-elf-gcc hello_world.c But how do i get a .elf from .out or .c, so that I can use nios2-download command to run?Or is there any other command like nios2-download specific to .out or .c? Thanks for the reply, Amjad