Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI don't know if this will solve your problem, but I already experienced a similar issue. While the file was supposed to be small enough to fit to our flash memory.
The problem was while invoking elf2flash through our scripting environment. The --end option was set to a value lower than the physical final code location in flash, generating a .flash file that would not program afterward when using nios2-flash-programmer. If I recall, the error was similar to what you are experiencing. Hope this will help a bit. At least, that's something to look at. Good luck, --M