Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

how to erase my flash

Altera_Forum
Honored Contributor II
917 Views

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
Altera_Forum
Honored Contributor II
243 Views

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
Altera_Forum
Honored Contributor II
243 Views

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
Altera_Forum
Honored Contributor II
243 Views

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
Altera_Forum
Honored Contributor II
243 Views

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
Altera_Forum
Honored Contributor II
243 Views

thanks!

0 Kudos
Reply