Forum Discussion

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

how to erase my flash

i can't download my program to my flash! someone told me ,the flash needs to be erased using a program wrote by user! But how to write the program ? is there any other way to erase my flash!

thanks[B]

5 Replies

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

    Hi icesword,

    > But how to write the program ?

    Use nios2-flash-programmer

    > is there any other way to erase my flash!

    If you want to completely erase your flash use the --erase option.

    Try: nios2-flash-programmer --help for a description of the options.

    Regards,

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

    I am a beginner.I don't know where and how to use the instruction you said.whether you can give some details?

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

    Hi icesword,

    > I am a beginner.

    Welcome! :-)

    > I don't know where and how to use the instruction you said.

    > whether you can give some details?

    The documentation for flash programming can provide you with many

    details ... you should read this first. Then, if you have any questions you

    will be able to get more answers on this forum.

    Best Regards,

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

    Ooops ... sorry, the document is:

    Nios II Flash Programmer User Guide (ug_nios2_flash_programmer.pdf in the

    altera/kits/nios2/documentation directory).

    --Scott