Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Hi, Really need to know how you're calling elf2flash. What's the command like you're using? Mark. --- Quote End --- Mark, Originally I was letting the Flash Programmer determine that given my BSP, sof, and elf file, but I tried a simple version in the Nios Shell. elf2flash --input=ICETest.elf --output=ICETest.flash --base=0x4000000 --end=0x6000000. The base and end were taken from what the Flash Programmer was using. I just wanted to see if a .flash file was being generated based on my elf. The flash files were generated, but they were only 32 bytes. This is consistent with the Flash Programmer generated files.