Figure 8. Flash Erase Operations - Wiznet W7500 Reference Manual

Internet offload processor
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

Block Erase
To erase a block, set BER bit in FACTRLR to 1. All other procedures are the same as the
sector erase sequence.
Chip Erase ( All main Flash memory erase )
To erase chip (Main Flash memory), Set CER bit in FACTRLR to 1. All other procedures are the
same as the sector erase sequence.
Mass Erase ( All main Flash memory erase + Data block erase )
To erase mass (Main Flash memory + Data block), Set MER bit in FACTRLR to 1. All other
procedures are the same as the sector erase sequence.
W7500 Datasheet Version1.0.0
Write FKEY
FKEYR0 = 0x52537175
FKEYR1 = 0xA91875FC
FACCR[FEN] = 1
FACCR[CTRL] = 1
FADDR = Main Flash Address
Or
FADDR = Data Block Address
FCTRLR[SER] = 1
RDY bit in FSTATR
= 1
Yes
Write FKEY
FKEYR0 = 0x52537175
FKEYR1 = 0xA91875FC
FACCR[FEN] = 0
FACCR[CTRL] = 0
Check value

Figure 8. Flash erase operations

No
89 / 512

Advertisement

Table of Contents
loading

Table of Contents