Forum Discussion

AReuv's avatar
AReuv
Icon for New Contributor rankNew Contributor
5 years ago

Hi, Is anyone know how to convert .srec file to .flash ? I tried to work with Nios II command shell with several command lines without success. Thanks, Avi

1 Reply

  • Hi Areuv,

    Which command lines did you running exactly?

    Did you have any error running those lines?

    Here is an example of the srec2flash utility.

    The command syntax for the srec2flash utility is:

    srec2flash <my-program>.srec

    The utility outputs the file .flash, which you can download into the Nios development board using the command:

    nios-run <my-program>.flash

    Generating S-Records for Use with the srec2flash utility.

    Can you try this? Let me know if it works!

    Here is the original file where I found this info - http://extras.springer.com/2004/978-3-662-06730-7/literature/wp/wp_srec_to_flash.pdf

    Best regards.

    Isaac.