Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Downloading project to EPCS64

Altera_Forum
Honored Contributor II
1,039 Views

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!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
380 Views

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.
0 Kudos
Reply