Altera_Forum
Honored Contributor
12 years agoProblems with generating a flash file with elf2flash
I seem to be having issues using the Flash programmer to burn my elf and sof file into flash so it can boot from this location. I have a couple of questions. I have read and followed the documentation on how to do this, but with no success.
- When I use the elf2flash utility I get a flash file of 32 bytes. That does not seem right. I get no errors from the utility and the elf file is there, loads on the hardware and executes properly using JTAG. I know the elf file is good. I looked at the flash file and it has 2 numbers in it. The elf file is about 1.1MB.
- Also when the flash programmer attempts to program the flash files into flash, it fails when it gets to the flash file I generated from my elf file. It says it can’t program or verify empty file. I am using the utility to generate the flash files and program the flash, using the sof and elf files.
- Once these issues are resolved, what do I need to do with my reset to get the system to boot from flash on power up.