Altera Boot Nios2 from EPCS16 using cyclon3

Status
Not open for further replies.

ashraf123

Newbie level 3
Joined
Nov 17, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
33
I know that this question may have been asked a lot but I spent a lot of time trying in making the NIOS boot from the EPCS.
The QSYS project picture is attached.

I tried using the commands
sof2flash --input=output_files/TEST.sof --output=hw.flash --epcs --verbose ;
elf2flash --input=software/count/binary.elf --output=sw.flash --epcs --after=hw.flash –verbose;
nios2-elf-objcopy --input-target srec --output-target ihex sw.flash sw.hex;

Then the sw.hex is used with TEST.sof to generate the JIC file.

After programming, the NIOS does not start.
I can run the code from eclipse by
Run As -> Nios II Hardware.

Thanks.
 

Attachments

  • Untitled.png
    71 KB · Views: 48


Thanks for your reply.
I have already searched a lot in this topic but tried several times but with no luck.

Another question, assume I could run the program from eclipse, can I read EPCS hex file that I put with the SOF? Here I don't mean load the program but reading data.

Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…