The following information is for me to make a later use.
==================================================
Manual removal of EPCs information in the following steps:
1. Start Nios II 1X. X Command Shell
2. Next instruction
nios2-flash-programmer-e--base=0x1800--erase-all--override=c:/nios2-flash-override.txt
The parameters say:
-E: This action is only used for EPCS Flash
--base:epcs base location (base address)
--erase-all: Clear All information
--override: Specifies the type of epcs and the size of the magnetic area
-----------Nios2-flash-override.txt are as follows-----------
[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
[EPCS-010215] #EPCS32N (lead-free)
Sector_size = 65536
Sector_count = 64
[EPCS-010216] # epcs64n (lead-free)
Sector_size = 65536
Sector_count = 128
[Epcs-ff] # epcs64n (lead-free)
Sector_size = 65536
Sector_count = 128
[EPCS-012018] #EPCS128N (lead-free)
Sector_size = 262144
Sector_count = 64
-----------Nios2-flash-override.txt End-----------
[NIOS] How to erase EPCS Flash content