The Nios II IDE generates a Motorola S Record file with the name "FLASH memory name.flash" at build time, but the Nios II Software Build Tool for Eclipse ends up generating an elf file, resulting in a Motorola S Record file. No file is generated. Please tell me how to generate it.
The GNU compilation flow only generates an elf file.
When converting from an elf file to a ROMized file such as an Intel HEX file or a Motorola S-Record file, it is common to use the binary utility "objcopy".
You can use the "elf2flash" utility provided with the Nios II Flash Programmer from the Nios II Commad Shell to convert it to a Motorola S Record file.
For information on how to use the elf2flash command, search for the keyword "elf2flash" in the document "Nios II Flash Programmer User Guide" at the URL link below.
https://www.altera.com/en_US/pdfs/literature/ug/ug_nios2_flash_programmer.pdf
Experienced FAE
Free consultation is available.
From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.