Using Winbond's SPI Flash as EPCs curing Nios II software error and solution

Source: Internet
Author: User

Altera devices have EPCs series configuration devices, in fact, these configuration devices are our usual general spiflash, according to Alterafae description: "EPCs device is also selected a company's Spiflash, only in the middle through Altera company's rigorous testing, So stability and durability are more than the general Spiflash ". In my opinion, most of the stability of semiconductor is caused by its own design flaws, and the mature manufacturing process will not cause product instability, and now Altera's device can read the configuration data error, the data inside the Spiflash may be re-read, Therefore, the stability of the process and the reliability of the design of the double guarantee, by choosing a common spiflash to reduce the cost of the product pressure.

Assuming that we are using a normal spiflash, open the Nios II Command shell window and download the ***.flash file using the Nios2-flash-programmer commands, the following error occurs:
No EPCS Layout Data---Looking for section [epcs-1c2017]

The spiflash of different companies have different IDs, and the sector size and number of Flash are different, so we need to create a new document to illustrate the data:

1, first in the <nios2_install>/bin folder under the new Nios2-flash-override.txt file;

2, enter the following code, the devices described below are Altera EPCs devices, sector_size represents sector size, Sector_count represents the number of sector;

[EPCS-202011] # epcs1n (lead-free)
Sector_size = 32768
Sector_count = 4
[EPCS-202013] # epcs4n (lead-free)
Sector_size = 65536
Sector_count = 8
[EPCS-202015] # epcs16n (lead-free)
Sector_size = 65536
Sector_count = 32
[EPCS-202017] # epcs64n (lead-free)
Sector_size = 65536
Sector_count = 128

3. Add the generic Spiflash of your choice in the code above, for example:
[epcs-ef4015] # epcs16n (lead-free)
Sector_size = 65536
Sector_count = 32

4, then use the Nios2-flash-programmer command to download the ***.flash file, you can download the Spiflash.

Using Winbond's SPI Flash as EPCs curing Nios II software error and solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.