- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the DE0-Nano board and I'm trying to program my Nios II application code via the EPCS flash and run it from SDRAM.
Here is what I've done:
1. Qsys:
I've set the reset vector of Nios CPU to the epcs flash.
2. After I've compiled my .sof and .elf file, I opened the Nios II command shell and typed the following command lines:
- sof2flash --input=hw.sof --output=hw.flash --epcq --verbose
- elf2flash --input=sw.elf --output=sw.flash --epcs --after=hw.flash -verbose
- nios2-elf-objcopy --input-target srec --output-target ihex sw.flash sw.hex
3. Finally, I've compiled all of those files to a general .jic file to load into my EPCS.
However, after programming the .jic file, the Nios II program still not ran. Could anyone tell me how to solve this issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You may check on this similar previous case https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Can-t-get-DE0-nano-board-to-boot-from-EPCS-with-NIOSII-code/m-p/698479 probably can help you out.
Thanks,
Best regards,
Sheng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You may check on this similar previous case https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Can-t-get-DE0-nano-board-to-boot-from-EPCS-with-NIOSII-code/m-p/698479 probably can help you out.
Thanks,
Best regards,
Sheng

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page