Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

NIOS II - srec file

How create srec file for NIOS II application? From elf file or other? How?

Thank you for help

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi leszekd,

    Use objcopy and tell it to generate S-Record output, e.g.:

    $ nios2-elf-objcopy -O srec myapp.elf myapp.srec

    Regards,

    --Scott