Forum Discussion

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

Downloading project to EPCS64

Hi everyone,

i'm having some problems downloading my design in epcs (EPCS64 on Nios II development board, stratix II edition).

I want to download .sof and .elf in epcs using quartus ii programmer (in active serial mode) and epcs connector on my board.

I use this method: first, i generated sopc system with nios reset vector pointing to epcs; then i generated sof (with quartus) and elf (with ide).

Then i followed this instructions to generate .pof file http://www.altera.com/support/kdb/solution...112006_450.html (http://www.altera.com/support/kdb/solutions/rd04112006_450.html) and then i downloaded it to my board using active serial mode.

When i reboot my board, it's not loaded my project but factory design; it seems that boot loader try to load it, but it doesn't, and then it loaded factory configuration.

Any idea?

Thank you!

1 Reply

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

    I was able to download sof + elf to epcs64 on my board using epcs connector.

    In fact i set onchip mem as nios reset vector (in sopc builder) and i set onchip mem for .text, .rodata, . rwdata in IDE -> system library properties.

    Then i generated onchip_mem.hex and recompile quartus project to include .hex in .sof/.pof. I downloaded .pof to epcs using active serial and i noticed that software ran.

    But if i try to change nios reset vector to epcs_controller and if i use the method posted before, it doesn't work. After downloading .pof, hardware configuration seems to work but software doesn't run.

    Any idea about this?

    Thank you.