Forum Discussion

AAlas3's avatar
AAlas3
Icon for Occasional Contributor rankOccasional Contributor
6 years ago

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 advance

2 Replies

  • Ahmed_H_Intel1's avatar
    Ahmed_H_Intel1
    Icon for Frequent Contributor rankFrequent Contributor
    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,
  • AReuv's avatar
    AReuv
    Icon for New Contributor rankNew Contributor

    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