Forum Discussion

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

Fail to restart program after poweroff and poweron

Best wishes and happy new year for all!!

I have a problem on rebooting my project.

The program runs ok when flashed on my nios ii system board (is a custom board consist of an cyclone ii fpga, sdram, epcs flash device and an lcd), but when I power off and then power on the board the program does not start any more!

I use an EPCS4 4Mbit flash connected to my NIOS II.

On SOPC builder I put 0x0 as starting address of my EPCS4 flash device connected and the reset vector on cpu also to starts on 0x0 and the exception vector is on sdram with offset 0x20.

I flashed the system and the program (sof and elf files) using flash programmer from Eclipse Ganymede menu!

I do not know if that is enough or have to do more actions?

Do I have to add more files? (.pof for example)?

Can you please help ?

Thanks in advance!

20 Replies