
3VoltIntel
Advanced+BootBlockFlashMemoryStacked-CSPFamily
16
Datasheet
commandiswrittentotheflashmemory,theWSMwillcontinuewiththeprogrammingprocess
andstatusregisterbitsSR.2andSR.7willautomaticallybecleared.Thedeviceautomatically
outputsstatusregisterdatawhenread(seeAppendixA,
ProgramSuspend/ResumeFlowchart
s)
aftertheProgramResumecommandiswritten.F-V
PP
mustremainatthesameF-V
PP
levelused
forprogramwhileinprogramsuspendmode.F-RP#mustalsoremainatV
IH
.
3.6
BlockErase(20h)
Toeraseablock,writetheEraseSet
-
upandEraseConfirmcommandstotheCUI,alongwithan
addressidentifyingtheblocktobeerased.ThisaddressislatchedinternallywhentheErase
Confirmcommandisissued.Blockerasureresultsinallbitswithintheblockbeingsetto“1.”O(jiān)nly
oneblockcanbeerasedatatime.TheWSMwillexecuteasequenceofinternallytimedeventsto
programallbitswithintheblockto“0,”eraseallbitswithintheblockto“1,”thenverifythatall
bitswithintheblockaresufficientlyerased.Whiletheeraseexecutes,statusbit7isa“0.”
Whenthestatusregisterindicatesthaterasureiscomplete,checktheerasestatusbittoverifythat
theeraseoperationwassuccessful.IftheEraseoperationwasunsuccessful,SR.5ofthestatus
registerwillbesettoa“1,”indicatinganerasefailure.IfF-V
PP
wasnotwithinacceptablelimits
aftertheEraseConfirmcommandwasissued,theWSMwillnotexecutetheerasesequence;
instead,SR.5ofthestatusregisterissettoindicateaneraseerror,andSR.3issettoa“1”to
identifythatF-V
PP
supplyvoltagewasnotwithinacceptablelimits.
Afteraneraseoperation,clearthestatusregister(50h)beforeattemptingthenextoperation.Any
CUIinstructioncanfollowaftererasureiscompleted;however,topreventinadvertentstatus
registerreads,itisadvisabletoplacetheflashinreadarraymodeaftertheeraseiscomplete.
3.6.1
SuspendingandResumingErase(B0h/D0h)
Aneraseoperationcantakeseveralsecondstocomplete,therefore,theEraseSuspendcommandis
providedtoallowerase
-
sequenceinterruptioninordertoreaddatafrom,orprogramdatato,
anotherblockinmemory.Onceanerasesequencehasstarted,writingtheEraseSuspendcommand
totheCUIcausesthedevicetosuspendtheerasesequenceatapredeterminedpointintheerase
algorithm.BlockeraseissuspendedwhenStatusRegisterbitsSR[7,6]areset.Suspendlatencyis
specifiedinSection5.7,“FlashEraseandProgramTimings”onpage31.
Whenaneraseoperationhasbeensuspended,aWordProgramorReadoperationcanbeperformed
withinanyblock,excepttheblockthatisinanerasesuspendstate.Aneraseoperationcannotbe
nestedwithinanothererasesuspendoperation.
Asuspendederaseoperationcannotresumeuntilthenestedprogramoperationhascompleted.
ReadArray,ReadStatusRegister,ClearStatusRegister,ReadIdentifier,CFIQuery,Erase
Resume,areallvalidcommandsduringEraseSuspend.Additionally,Program,ProgramSuspend,
ProgramResume,LockBlock,UnlockBlockandLock-DownBlockarevalidcommandsduring
EraseSuspend.
Toresumeanerasesuspendoperation,issuetheResumecommand.TheResumecommandcanbe
writtentoanydeviceaddress.WhenaprogramoperationisnestedwithinanEraseSuspend
operationandtheProgramSuspendcommandisissued,thedevicewillsuspendtheprogram
operation.Whentheresumecommandisissued,thedevicewillresumetheprogramoperation
first.Oncethenestedprogramoperationiscompleted,anadditionalResumecommandisrequired
tocompletetheblockoperation.