3VoltIntel®Advanced+BootBlockFlashMemoryStacked-CSPFamily
16 Datasheet
commandiswrittentotheflashmemory,theWSMwillcontinuewiththeprogrammingprocess
andstatusregisterbitsSR.2andSR.7willautomaticallybecleared.Thedeviceautomatically
outputsstatusregisterdatawhenread(seeAppendixA,ProgramSuspend/ResumeFlowcharts)
aftertheProgramResumecommandiswritten.F-VPPmustremainatthesameF-VPPlevelused
forprogramwhileinprogramsuspendmode.F-RP#mustalsoremainatVIH.
3.6 BlockErase(20h)
Toeraseablock,writetheEraseSet-upandEraseConfirmcommandstotheCUI,alongwithan
addressidentifyingtheblocktobeerased.ThisaddressislatchedinternallywhentheErase
Confirmcommandisissued.Blockerasureresultsinallbitswithintheblockbeingsetto“1.”Only
oneblockcanbeerasedatatime.TheWSMwillexecuteasequenceofinternallytimedeventsto
programallbitswithintheblockto“0,”eraseallbitswithintheblockto“1,”thenverifythatall
bitswithintheblockaresufficientlyerased.Whiletheeraseexecutes,statusbit7isa“0.”
Whenthestatusregisterindicatesthaterasureiscomplete,checktheerasestatusbittoverifythat
theeraseoperationwassuccessful.IftheEraseoperationwasunsuccessful,SR.5ofthestatus
registerwillbesettoa“1,”indicatinganerasefailure.IfF-VPPwasnotwithinacceptablelimits
aftertheEraseConfirmcommandwasissued,theWSMwillnotexecutetheerasesequence;
instead,SR.5ofthestatusregisterissettoindicateaneraseerror,andSR.3issettoa“1”to
identifythatF-VPPsupplyvoltagewasnotwithinacceptablelimits.
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.