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++

Flash Programmer Error

Altera_Forum
Honored Contributor II
925 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
0 Replies
Reply