UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
4,000 Views
Registered: ‎04-10-2016

How to erase the whole QSPI Flash by XIlinx SDK?

How to erase the whole QSPI Flash by XIlinx SDK? I'd like to erase all the contents of flash at one time.

0 Kudos
2 Replies
Moderator
Moderator
3,982 Views
Registered: ‎10-06-2016

Re: How to erase the whole QSPI Flash by XIlinx SDK?

Hi @xilinx-zhaosheng

 

There is no way to erase the whole QSPI flash from the SDK as the program_flash utility only erases the size of the file that you are actually writing.

 

You have two options:

1. Use Vivado hardware manager to erase the entire flash

2. Boot up to u-boot (ej. from SD card) and erase the flash device through sf probe


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos
Adventurer
Adventurer
3,948 Views
Registered: ‎04-10-2016

Re: How to erase the whole QSPI Flash by XIlinx SDK?

Detailed step method using vivado hardware manager to erase the entire flash?

0 Kudos