Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

nios2-flash-programmer : elf & sof

Hi all

I have a zImage that uses SDRAM.

this Image contains an application to configure the ethernet (a default IP address 192.168.10.180) and starts a TCP server

when I use nios2 shell: nios2-download-g zImage & nios2-terminal

it works well and the application set to launch at startup is working properly (ping 192.168.10.180 => ok)

Now i need to enable the system to start from power on so

I - from quartus i use " convert programming files " to program .jic file in EPCS16 ==> OK

II - zImage into cfi flash ( base = 0x02800000 End = 0x02FFFFFF)

1- in SOPC, jtag_uart: NO_interactive_windows and nios_cpu reset vector 0x02800000

2- elf2flash - base = 0x02800000 - end = 0x02FFFFFF - reset = 0x02800000 - input = zImage - output = uc_flash.flash - boot = / cygdrive/e/01_Application/Altera/nios2eds/components/altera_nios2/boot_loader_cfi . srec

==> OK

3-nios2-flash-programmer --base=0x02800000 uc_flash.flash

==> download ok , checksum ok, leaving target processor paused

When I reboot and I ping 192.168.10.180 nothing happens.

I don't know if I missed a step!!!

thanks for help

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have to use an RS232 to debug ? There is no ethernet interface to do it?