Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou've told objcopy the input file is 'S-records' - not surprising it doesn't DTRT!
Your elf file probably contains multiple sections (depending on what is in the linker script) that get loaded to different addresses. You'll need to extract these separately. 'objdump -p' will list the program sections (which are the ones you probably want), use the -j parameter to objcopy to select the section.