Altera_Forum
Honored Contributor
15 years agohow to program the .elf file into the flash
use jtag to download the .elf into the ssram and run, use the command:
nios2-download -g *.elf , succeed. but if i want to download the .elf file into the flash and run , use this command , system generates message: downloaded 62kb in 1.4s(44.2kb/s) verifying 0c000000 (0%) verify failed between address 0xc000000 and 0x c00f54b leaving target processor paused. i have to use nios2 IDE. import the project, tools/flash programming/. this is too troublesome. who can tell me how to download the .elf file into the flash using command line method. thanks.