Forum Discussion

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

Utility to Retrieve User Configuration?

Is it possible to retrieve the code flashed into the user configuration from one development board and download onto a second board? I am using Nios 2 stratix 1s10 development boards.

It's a long story but I no longer have the source files for the code that has been flashed and running on a development board. And now I need to run the code on a second development board.

Any help would be appreciated.

1 Reply

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

    You should be able to read the entire contents of your flash into a file, convert the received SREC into a binary, use bin2flash to create a ".flash" file, and then use the programmer to program it into your other board.

    The Flash Programmer User's Guide has the details for usage of the "--read" or "--read-bytes" option. You can choose whether to read only a section of the flash or the whole thing.

    Good luck!

    - slacker