Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
674 Views

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]
0 Kudos
5 Replies
Highlighted
Valued Contributor III

Re: how to erase my flash

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
0 Kudos
Highlighted
Valued Contributor III

Re: how to erase my flash

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

0 Kudos
Highlighted
Valued Contributor III

Re: how to erase my flash

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
0 Kudos
Highlighted
Valued Contributor III

Re: how to erase my flash

Ooops ... sorry, the document is: 

 

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

altera/kits/nios2/documentation directory). 

 

--Scott
0 Kudos
Highlighted
Valued Contributor III

Re: how to erase my flash

thanks!

0 Kudos