Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
316 Views

EPCS64 and Nios II SBT, Error code: 3

Hey

I am using DE2-115 board and I would like to flash my board through flash programmer inside Nios II SBT for eclipse, I followed the instructions provided in the flash programmer user guide and I get Error code :3

what I did:

  1. I built my Qsys system with Legacy EPCS controller and payed attention to the reset port and made sure that Nios reset vector is set to the EPCS controller core base address, exported EPCS signals to the top level entity, then I generated the system.
  2. Hooked up EPCS pins through Pin Planer and made sure that all EPCS pins are set to regular I/O pins.
  3. Complied the system and install it through quartus programmer.
  4. In Nios SBT I launched flash programmer and added the .sopcinfo file then I added the .sof file, as a summary I did exactly as described in the user guide.

attached are screen shots of my Qsys system and Flash programmer.

Thanks in advance1.pngUntitled.png

0 Kudos
2 Replies
Highlighted
Employee
8 Views

Hi Ahmad, I don't recommend you to use the NIOS II flash programmer any more. I recommend to generate a .jic file that can program your flash without any issue. I will share with you the required flow to generate the JTAG Indirect Configuration file .jic for your design. Regards,
0 Kudos
Highlighted
Beginner
8 Views

HI,

I faced the same issue while using FLASH programmer tool, I got error code 3 (sof2flash command).

can you instruct how to generate JIC and program the flash.

Thanks,

Avi

0 Kudos