Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12652 Discussions

Nios II flash programmer error

MGhad3
Beginner
1,635 Views

I get the error below during flash programming the elf file using the Nios II flash programmer. what is the reason?

 

Error code: 4 for command: nios2-flash-programmer "C:/CyclonV/C5_epcs_flash_controller_0.flash" --base=0x10000000 –epcs --accept-bad-sysid --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose  

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
1,297 Views
Hi, The NIOS II flash programmer tool isn't recommended any more, can you please use one of the recommended procedures? The JTAG Indirect Confoguration procedure .jic file or Parallel flash programmer procedure I am sharing an example of using these two procedures to program the serial or parallel flash device:
0 Kudos
Ahmed_H_Intel1
Employee
1,297 Views

Here is the way to create a .JIC file to program your flash:

 

0 Kudos
Ahmed_H_Intel1
Employee
1,297 Views

Here is the procedure to use the PFL in programming a parallel flash device:

 

0 Kudos
Reply