Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Flash Programmer Error

Altera_Forum
Honored Contributor II
1,161 Views

Hi, 

 

I'm currently using the Flash Programmer included in the Nios II SBD Tools for Eclipse. When I try to generate and program flash files to my DE2-115 board from a .elf file (the code already works in 'Run' mode), I get error code 4: program failed at offset 0. 

 

I've seen a couple of other threads saying to set a flash offset of 0x20000, but this doesn't work when you're generating from .elf files. 

 

Any thoughts on this problem? 

 

-N
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
119 Views

Hello, 

 

What Quartus version are you using? 

 

There's a link here to program from EPCS/EPCQ device using the Quartus programmer- 

 

https://www.altera.com/support/support-resources/knowledge-base/solutions/rd11192013_118.html
Altera_Forum
Honored Contributor II
119 Views

Any more error code displayed? could you place the complete error text?

Altera_Forum
Honored Contributor II
119 Views

I used the EPCS programmer, we're all good! 

 

-N
Reply