Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,077 Views

Flash Programmer Error

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 I
35 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 I
35 Views

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

Altera_Forum
Honored Contributor I
35 Views

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

 

-N