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++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.

Flash Programmer Error

Altera_Forum
Honored Contributor II
1,457 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
415 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
0 Kudos
Altera_Forum
Honored Contributor II
415 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
415 Views

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

 

-N
0 Kudos
Reply