Forum Discussion

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

CIII/EPCS design configures and programs but does not start

Hi,

I have a design with EP3C40 and EPCS64. I create flash files with:

sof2flash --epcs --compress --input=logic.sof --output=logic.srec

elf2flash --epcs --after=logic.srec --input=software.elf --output=software.srec

cat logic.srec software.srec > all.srec

I then program the EPCS64 with:

nios2-flash-programmer --epcs --base=0x40000800 all.srec

It all programs and verifies fine. I power cycle the board and the processor doesn't come up. However, if I do:

nios2-flash-programmer --epcs --base=0x40000800 --go

then it starts, so obviously it programmed the EPCS correctly, the FPGA configured at start and it loaded the software. It just didn't start.

My reset vector points to the base of the EPCS device. Tools are Quartus 10.1 SP1 and NIOS IDE 10.1 SP1.

I've done exactly the above on other devices before with no problem but this is my first CIII design. Any clues?

Thanks,

Mark.

14 Replies