ROMꢀCODEꢀCHECKLIST
ꢀ
Project Nameꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ DATE:ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ
ꢀ
ITEM
CHECK
NOTE
1. CheckꢀtheꢀresistorꢀofꢀRꢁOSCꢀmatchesꢀtheꢀdesiredꢀfrequencyꢀandꢀVCCꢀ
2. Checkꢀandꢀuseꢀtheꢀupdatedꢀversionꢀofꢀdataꢀsheetꢀ
3. Afterꢀpowerꢀon,ꢀenterꢀwaitꢁ1ꢀmodeꢀforꢀ1.5ꢀsecondꢀbeforeꢀnormalꢀoperationꢀ
4. Afterꢀstartingꢀoperation,ꢀswitchꢀOSCXꢀtoꢀnormalꢀloadꢀmodeꢀ
5. InitializeꢀuserꢀRAMꢀandꢀeveryꢀrelatedꢀcontrolꢀregisterꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ConfirmꢀVOP,ꢀcontrastꢀlevel,ꢀduty,ꢀbias,ꢀframeꢀrate,ꢀalternatingꢀrateꢀandꢀtheꢀdisplayꢀ
qualityꢀofꢀLCDꢀ
Beforeꢀenteringꢀpowerꢀdownꢀmode,ꢀturnꢀoffꢀunusedꢀperipheralꢀsuchꢀasꢀLCDꢀ
controller,ꢀPSG,ꢀandꢀLVDꢀ
6.
ꢀ
ꢀ
ꢀ
ꢀ
7.
ConfirmꢀI/Oꢀdirection,ꢀdefaultꢀstate,ꢀandꢀfunctionꢀenableꢀbits.ꢀEnableꢀpullꢁupꢀforꢀ
unusedꢀinputꢀpinsꢀ
Readꢀfromꢀanꢀinputꢀportꢀafterꢀtheꢀsignalsꢀareꢀstable.ꢀEx.ꢀwhenꢀdoingꢀkeyꢀscan,ꢀ
delayꢀ12ꢀusꢀfromꢀaꢀnewꢀscanꢀvalueꢀthenꢀreadꢀtheꢀreturnꢀlines.ꢀ
IfꢀanꢀinputꢀconnectsꢀtoꢀVCCꢀorꢀGNDꢀdirectly,ꢀmakeꢀsureꢀtoꢀremoveꢀanyꢀDCꢀcurrentꢀ
fromꢀinternalꢀpullꢁup/downꢀresistorꢀafterꢀtheꢀstatusꢀisꢀbeingꢀread.ꢀ
Doꢀnotꢀuseꢀbitꢀinstructionsꢀtoꢀregistersꢀthatꢀareꢀreadꢁonly,ꢀwriteꢁonlyꢀorꢀhaveꢀ
differentꢀfunctionsꢀforꢀreadꢀandꢀwrite.ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
8.
9.
10.
11.
Disableꢀunusedꢀfunctionsꢀandꢀreserveꢀ“RTI”ꢀinstructionꢀforꢀunusedꢀinterruptꢀvectorsꢀ
Checkꢀstackꢀmemoryꢀisꢀlimitedꢀwithinꢀ256ꢀbytes.ꢀ
Designꢀaꢀtestꢀmodeꢀtoꢀcheckꢀeveryꢀpossibleꢀfunctionꢀ
UseꢀaꢀST2202ꢀrealꢀchip,ꢀtogetherꢀwithꢀtheꢀemulationꢀmode,ꢀtoꢀdevelopmentꢀtheꢀ
wholeꢀsystem.ꢀTestꢀandꢀverifyꢀeveryꢀconditionꢀ
SettingsꢀofꢀPortꢁLꢀforꢀLCDꢀcontrolꢀsignalsꢀmustꢀincludeꢀlinesꢀbelow:ꢀ
:ꢀ
12.
13.
14.
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
15.
ꢀ
ꢀ
STZ
LDA
STA
<PLꢀ
#FFhꢀ
<PCLꢀ
16.
ꢀ ꢀ ꢀ ꢀ :ꢀ
ꢀ
ꢀ
Ifꢀhighꢀfrequencyꢀwasꢀoptionedꢀtoꢀcrystalꢀmodeꢀ(notꢀRCꢀoscillator),ꢀsystemꢀclockꢀneedꢀtoꢀbeꢀ
switchedꢀtoꢀlowꢀfrequencyꢀ(32768Hz)ꢀbeforeꢀintoꢀWAI1ꢀmode.ꢀ
17.
Example:ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ smb7ꢀ ꢀ ꢀ ꢀ <SYSꢀ ꢀ ꢀ ꢀ ;;ꢀChangeꢀtoꢀOSCXꢀ
ꢀ
ꢀ
ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ bbr7ꢀ ꢀ ꢀ ꢀ <SYS,$ꢀ ꢀ ;;ꢀWaitꢀOSCXꢀstable.ꢀ
ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ smb6ꢀ ꢀ ꢀ ꢀ <SYSꢀ ꢀ ꢀ ꢀ ;;ꢀOSCꢀOFF
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Engineer
ꢀ ꢀ
Manager
ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Verꢀ2.5ꢀ
73
/75
ꢀ
9/16/2008ꢀ