Forum Discussion
Altera_Forum
Honored Contributor
19 years agoRight. The .flash format is really just SREC minus a few of the S<n> types. I would probably use nios2-elf-objcopy to convert a .flash (SREC) file into a binary file.
It would be better still if you could write an SREC parser to convert (and store) the contents of these SRECs (.flash files) on the fly. The HAL flash abstraction makes writing to CFI or EPCS transparent. Cheers, - slacker