There are two ways to generate S19 files:

  • By using the m6811-elf-objcopy tool.
    If you have an ELF file file.elf, you can translate it into S19 using the following command:

    m6811-elf-objcopy --output-target=srec --only-section=.text \
    		  --only-section=.rodata --only-section=.vectors \
    		   file.elf file.s19
    	

  • By using the --oformat=srec linker option. This later option is however not recommended.