`a2) Patent Application Publication (10) Pub. No.: US 2004/0133734 Al
`Jul. 8, 2004
`(43) Pub. Date:
`Jordan et al.
`
`US 20040133734A1
`
`(54)
`
`(76)
`
`USE OF NAND FLASH FOR HIDDEN
`MEMORYBLOCKSTO STORE AN
`OPERATING SYSTEM PROGRAM
`
`Inventors: Marc Kevin Jordan, Austin, TX (US);
`Antonio Torrini, Austin, TX (US);
`i
`.
`Jean Charles Pina, Austin, TX (US)
`
`Correspondence Address:
`GARLICK HARRISON & MARKISON LLP
`P.O. BOX 160727
`
`AUSTIN, TX 78716-0727 (US)
`
`(21)
`
`Appl. No.:
`
`10/723,909
`
`(22)
`
`Filed:
`
`Nov. 26, 2003
`
`Related U.S. Application Data
`
`(60) Provisional application No. 60/429,941, filed on Nov.
`29, 2002.
`
`Publication Classification
`
`Inte C1? cecssnsnsnnemnennnnnnnniee GO6F 12/00
`(51)
`(52) U.S. Cle cassessnesnssnisitnsnsnteie
`11/103; 711/163
`
`
`(57)
`
`ABSTRACT
`
`A memorydevice has a plurality of memoryblocks utilized
`to store data. Oneof the blocks is used as a hidden memory
`blockto store an operating system program,instead ofdata.
`The hidden memory block is designated as a bad block so
`that data will not be written into the hidden memory block,
`but a tag associated with the hidden memory blockidentifies
`that the hidden memory block contains the operating system
`program.
`
`
`
`low loss
`2
`pot
`multiple
`o.
`go
`output
`Vv
`os
`stage 62
`oO
`
`processing
`module 20
`
`Vv
`
`Dp2
`
`
`
`hostinterface18
`
`CLK
`
`clock
`generator
`56
`
`
` memory
`interface22
`
` digital
`
`text&/orvideo
`
`
`digitaloutputport76
`
`digitalaudio,
`inputport74
`
`
`
`analogoutputport70
`
`analogaudio&/or
` analoginputport66
`
`video
`
`battery 14
`
`algorithms 30
`
`=
`o
`
`c2 a
`
`
`
`powerenable
`
`digitalaudio&/
`
`orvideo
`
`analogaudio&/or
`video
`
`multimedia module 24
`
`integrated circuit 12-2
`
`APPLE 1104
`APPLE1104
`
`1
`
`
`
`QLD)|Arowew
`
`Zzsoepaju!ArowewOSSwYyWoBe
`0099av2ajnpoul
`
`gzsnq
`
`aq,
`
`
`
`reBJepelpatuninw
`
`eeWWY
`
`elpaunyjnu
`
`BJEPXYPYXL
`
`SOU/MZE
`
`Bulsssooid
`
`OzS/Npow
`
`8} soepejul jsoy
`
`—~eeeeX-
`
`QzJ@HWaAU0a
`
`vy.Aiayeq
`
`
`
`yndjnopaapusi
`
`9¢B}ep
`
`.
`
`on
`
`
`
`VW@olAapjsoy
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 1 of 25
`
`US 2004/0133734 Al
`
`||ii||||||||l|||||L
`
`
`
`
`
`OL8d!NappjeypueYUONoUNy-NiNW
`
`LSid
`
`
`
`OS9lABPysOY
`
`2
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 2 of 25
`
`US 2004/0133734 Al
`
`
`
`
`
`|L-ZLpINSsIOpayesBoyul
`
`Zpeounos
`
`
`
`yndjnopoispuerPOTToat~
`
`éOld
`
`
`
`
`
`OFeS1A9pPjeypueyUoRHounj-Hynuw
`
`
`
`
`
`ceWdainpowBulssacoid
`
`QLOls|Sagzesnaq|2|SAJOWA9UD<_—_—_——_——_———>»=>3a|ySOU/MZeByepxyBXLo58“|4NOo
`
`
`
`aunjdeoospiapedhay9ST©)suoydpesy
` yoojojeysAio|nensnsa~TY9¢|Joye1oueb|yaojo|$Za]Npow|eIpowiynw3W119
`
`Buiwoou=~Ea===-----4-----=?@geerep|diet
`
`
`
` )gseyepeipounynuy=|ef_,&
`PrysolAap-~GCY3}X9}JOPYOSPIAeo2gyore!
`
`oO=>323s
`
`Vf9
`
`a‘Jayeads
`3.gpAejdsip
`
`
`pyLAayeq
`
`009}Da
`
`9ZJeYaAUOD
`
`aa,GeNOYLU
`
`
`
`O€SuuYyWObe
`
`3
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 3 of 25
`
`US 2004/0133734 Al
`
`Zz aoeajui Asowaw
`
`|
`al
`IT
`lyy
`|
`|
`
`|
`l
`|
`ty
`man
`
`é|f isEi|'s
`ZIT
`1s
`9 | |
`£
`E
`gi
`fle
`BIPle
`03 |B
`Xl
`ay
`>»
`
`2
`2
`©
`
`lo
`=
`O
`ag
`
`O@PIA JOPY 1X9}
`‘olpne jeyi6ip
`
`OBpIA Jorg
`olpne Bojeue
`
`
`
`92 od
`yndyno jeyB:p
`
`OZ Hod
`indyno Hojeue
`
`_—
`
`23
`2°
`=
`£
`2
`
`oO
`
`a
`3
`3
`&
`&
`Bs
`g
`3
`E
`
`
`
`
`
`eD
`
`8
`©
`
`<
`O
`
`nN
`6
`8
`> 7
`
`
`
`Ss
`
`©
`
`QO
`
`g2~8| o
`2FBoel
`fe
`g228|
`2
`8
`Oo
`a
`¢9 sebieuo |2
`Aayeq
`IS}
`||
`
`
`
`
`
`
`
`
`pL vod
`yndui jey6ip
`
`
`
`gg yod
`indui Bojeue
`
`
`O@PpIA JO
`PQ olpne jeyiBip
`
`OAPIA JOPY
`oipne Boyeue
`
`|
`| w
`ln
`| 32
`
`§
`®
`
`2
`o
`c
`©
`
`BO
`® @
`83
`ge
`aft
`
`ao
`
`E
`eU
`oD
`©
`
`2
`>
`Oo
`2
`oO
`a
`
`8) SoBLS}U! ySOY
`
`jeuBis
`a)qeua samod
`
`4
`
`
`
`Patent Application Publication
`
`auoydpeay
`
`v6oe!
`
`26 JOAp
`3|qewweJbod
`
`pLAuayeq
`
`0d939d
`
`9zJaWeAUOS
`
`US 2004/0133734 Al
`
`ul O1W
`
`auoydosoiw
`
`ul WS
`
`>|fs.lf.1fe1fza5eo2.=qoaaooeoieDDof°ofoOOoo=oso2@@©oooocooo
`oOcoODBRnN
`
`
`
`08(Old)ind}jno”nduasodindjesaush
`
`Buissaoo0id
`
`0Z3iNpow
`
`jouos qa
`
`Jul. 8, 2004 Sheet 4 of 25
`
`ul dul 96Selig
`
`juswebeuew
`
`
`
`OOLeINpowW
`
`901snqAuoweLw
`
`5
`
`
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 5 of 25
`
`US 2004/0133734 Al
`
`
`
`Je}siBos
`
`
`
`ZE)Je}siIBeu
`
`OFJe}s16e1
`
`
`
`ve]Jaysibas
`
` @zu°& OE)
`
`SZLNodpayesHaqul
`
`
`
`GLLynow9payesbayur
`
`
`
`9160]ajqewuuesbold
`
`OZLBWqey
`
`OLLOldD
`
`jeuonouny
`
`SLLSjnpow
`
`SLL ajnpow
`jeuciouny
`
`0g} Suge}
`2160]314
`ewuwesBod
`
`OLLOldS
`
`jeuoiouny
`
`SLLajnpow
`
`8i1 sinpow
`yeuonouny
`
`ZLL Old
`
`uleyep
`
`ynoejep
`
`jndyno
`
`g1qeue
`
`6
`
`
`
`
`
`
`
`Patent Application Publication
`
`US 2004/0133734 Al
`
`Jul. 8, 2004 Sheet 6 of 25
`
`ndjno Boyeue
`
`yndu! je}!61p
`
`7
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 7 of 25
`
`US 2004/0133734 Al
`
`yndjno Bojeue 0
`
`=] Ww
`3
`|
`‘] 0
`| ~
`®
`2
`Ho
`| &
`a
`
`“
`
`SJ 00
`3| 7Vi
`as
`oO]
`iO
`Q]
`x
`2 2
`aq] 6
`x
`(3 Zi E
`N
`Oo
`
`°
`S
`~
`
`vt
`Ss
`
`3
`—
`Oo
`
`>
`8
`ec
`O
`
`8
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 8 of 25
`
`US 2004/0133734 Al
`
`(-)*°A
`
`8g}JO}SISUBL
`
`@AUIP
`
`SOW
`
`deo
`
`P6LSOI
`
`
`c8labeysjndyno
`0S}duredoOlSid
`
`SoYIYS[2A9}
`oS
`y8Lainpow
`9gainpow
`
`YIUS[ara]
`
`(+)“A
`
`
`
`OGLJojsisued
`
`@ALIP
`
`puegpaxy
`
`BOUsIOJOI
`
`de6
`
`S6l
`
`
`
`deppuegsqenen
`
`96}9/Npow
`
`9
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 9 of 25
`
`US 2004/0133734 Al
`
`ISL
`
`jeuBis vOJOAUP
`
`9Lz
`
`
`
`26JOALIpojqeululeibol
`
`Lt“Sis
`
`<j
`
`902JOAUPCNZ
`
`ZLjeuBisaap
`
`802aInpow
`
`weJbod
`
`
`
`VLZ}S00qJBAUP
`
`yndjno
`
`
`
`OLda1qeus
`
`10
`
`10
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 10 of 25
`
`US 2004/0133734 Al
`
`
`
`ICpin
`
`2©
`
`?+o
`
`O on-chipR
`
` unitygainamplifier
`220
`
`
`11
`
`oO
`Do
`oO
`
`~O
`
`77
`> 68
`poea
`
`a3”
`
`11
`
`
`
`Patent Application Publication
`
`0Zainpow
`
`
`
`Burssasoudvezainpow
`
`
`
`PPZJUSAAjNduI
`
`
`
`
`~~LeJindulpayoajyapyndul
`
`
`
`BuiddewsnjnunsCbeSNINUYSOveSNINUNS
`
`
`
`
`
`L-cE?
`
`
`
`
`
`
`
`
`
`
`
`rTTTTaiqewiwesBoide:O€ZSOepa}u!CoS
`
`Jul. 8, 2004 Sheet 11 of 25
`
`US 2004/0133734 Al
`
`
`
`06SdesIo}UlyNdui
`
`€b-Sid
`
`
`
`jndutajqewiwes6ojdal
`
`
`
`SezWuwobjeBuiddewaounosyndu!
`
`
`
`
`
`o-CES
`
`yunBuissesoid
`
`9EC
`
`
`
`12
`
`
`
`
`
`c-082DIES!
`L-O€2BOBS!
`ueosyndul
`
`ueos}ndul
`
`
`
`
`
`
`CS”
`(jeuondo)
`(jeuoldo)
`
`goinosjndul
`
`
`
`ueosjndul[Lssogginosindul
`
`Po ididT_T CS”SCS” ddTT CCS”PCCCS ididCS”i SCSC~*SCS—~S
`
`12
`
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 12 of 25
`
`US 2004/0133734 Al
`
`
`
`SUWIBIJENA
`
`pSzJayng
`
`Aejdsip
`
`zSewyobje
`
`79zsjoalgo
`
`
`
`OLDO]Alowew Buissaooid weeaeee——eee
`
`Agouwau
`
`ceSORA
`
`aeaaaeeeeeeeeERHeeeeeeee
`
`Oza1InNpow
`
`Aejdsip
`
`ZSZWiyyobje
`
`¢€--------------------
`
`yunAejdsip
`
`BSc
`
`aweyAejdsip
`
`9SzJoyng
`
`08Old
`
`Ae|dsip
`
`98SOBHayUul!
`
`Aejdsip
`
`Z9ZpuewWwOos
`
`13
`
`13
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`
`
`wywobjes1weuAp
`
`ay|a}es
`
`QLZWYWobje
`
`
`
`OLeswiyobje
`
`
`
`pzues08zJuewBbeuewAioweWw
`
`Jul. 8, 2004 Sheet 13 of 25
`
`US 2004/0133734 Al
`
`eeWV
`
`SL‘“Sla
`
`OLD|Alowew
`
`
`
`wiujwobjeoe}s
`
`
`
`ogzeBeuewAjowew
`
`c8eeyep
`
`14
`
`14
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 14 of 25
`
`US 2004/0133734 Al
`
`
`
`wyyobjes1weuAp
`
`bizUOlOesS
`
`
`
`wuwosd§eo17e}s
`
`
`
`cZzéUdl}DES
`
`AejdsipGO1
`
`06ZWyyobje
`
`nusw
`
`Z6zWwyyobje
`>>
`
`
`
`‘uonnoexeBuunp
`
`psysauJoysijeo
`
`
`
`suuywobjeayjayes
`
`{nme
`
`JOxIlW
`
`
`
`geezwiYyWobye
`
`
`
`SASII}9I‘paleoJI
`
`
`
`wia}sASLUO
`
`Asowau
`
`ceWd
`
`JaposapVM,
`
`9gzWYyWobje
`
`JapooapEdW
`
`p8zwyWobje
`
`
`
`ogzeBeuewAjowaw
`
`
`
`‘uonnoexaBuiinp
`
`
`
`9}[[9]}ESJO}S1yeO
`
`swywobje
`
`15
`
`15
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 15 of 25
`
`US 2004/0133734 Al
`
`clOVG
`
`89DGV
`
`Aejdsip
`
`98Soepeju!
`
`ZtSis
`
`90€OdldDAV
`
`80€OdlsaOVA
`
`|
`
`coeVIG
`
`O¢ainpow|Bursseooid
`
`
`
`oo¢e1eBeueWAJoWWeLU
`
`seNOY
`
`gz.snq
`
`16
`
`16
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 16 of 25
`
`US 2004/0133734 Al
`
`
`
`[Jampueayeb39s‘uOSI41I‘200y0}Z1JOOHEYOAJOMPueaj]eBJas‘uOSIE{pukeYosi1]J‘+000}Z1JOBHe}OA
`
`
`
`
`
`AO0}ZLJOB6e}0A|]aMpuea}e6js‘uOSIZ|pueYosi11JI
`
`9¢Ja}IBAUOD5QOFDG
`
`8b“Sls
`
`
`
`
`
`UOHOUN;S[NnpoulSIboO|aye
`
`
`
`Z9aBe}jsjndjno
`
`adnsso]Mo]
`
`uone;nBa
`
`ainpow
`
`piAiayeq
`
`re
`
`KR
`
`17
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 17 of 25
`
`US 2004/0133734 Al
`
`Ainp
`
`ajoAo
`
`_nomeal+A-PPA)
`ysyoHulpeo}+Od0
`PAICAPA)
`
`0c*
`3)F
`
`7i
`
`n
`
`
`BuniusJuaNDou
`
`eBsnidajoAoAynpBuipeo|
`
`
`OJ9ZBY}Sp9soxeajoAO
`
`
`
`Buipeo]ajoAoAynp
`
`quauno
`
`
`
`AinpBuipeo;
`
`18
`
`
`
`0}yNdjnoauyyoajoAoAynpput
`
`
`
`
`
`snidajaAoAynpGulpeo|asezau}
`
`
`
`JesyoBuipeo|sjoAoAinpeu}
`
`6b“Dla
`
`peo0
`
`Burpeo)o19zeBYIMajoAoAynp
`8y)}JOINdjnoueJoajoAoAynp
`
`20
`
`yuauno
`
`HU]|
`
`
`
`Bulpeo]jusiinoesUuluJa}op
`
`
`
`JaveaAu0d9Q-0}-9d
`
`
`
`Bulpeo|jusiNoau}aredwo0s
`
`
`
`yndynoay}joajoAoAjnp
`
`18
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 18 of 25
`
`US 2004/0133734 Al
`
`CKEWNIIS
`
`ZEEBINpowUoHDa}01dGSJISL
`
`
`
`fTSSSTSSSS,TTTTTTT
`
`
`SaPpue
`
`uolNdaj}oid
`
`veeainpow
`
`Gsq$1
`
`uolajold
`
`ceesINnpow
`
`TzSid“Old
`
`Ama3)mon”.
`
`qsist
`
`
`
`(s)uideywin”,
`
`OSspug
`
`(s)uld9}
`
`dweyjo
`
`ajqeusdues
`
`
`
`Ovejeubis
`
`
`
`yoye|paw
`
`Beeainpow
`
`(s)uid1|
`
`meeeeeeeeeeee—_~-4J
`
`yeesinpow
`
`abeyon
`
`esuas
`
`PPEWNIIND
`
`esuesSg
`
`9Ceynoulo
`
`19
`
`19
`
`
`
`
`
`
`
`
`
`
`
`
`eynoexe vSe
`
`OL-vSE
`
`L
`
`SE
`
`LuyoBbjeJoogau;
`
`
`
`WO}LUU}UOBje}00g&BAaII}OI
`DI-DOS347J0WOU
`
`DI-DOSa4}JOUOHEANOEyoOa}ep
`
`OS
`
`C8)
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 19 of 25
`
`US 2004/0133734 Al
`
`9-PSE
`
`S-ySe
`
`v-PSE
`
`$3.
`A
`
`
`
`wuiyyob\eau}aynoaxe
`
`e-¥Ge
`
`soak
`
`Jo}AiowawJoUODaSS|BeSSa00e
`
`
`
`
`
`wuywWobyejeuoiounyjs}.e
`
`
`
`JEuORoUNSJBU}peojuMOp
`
`9IGeINVExeSI
`
`
`
`
`
`a|GejnIexeJEyEUMsUIWE]ap
`
`SdlAapysoy&WOWUYWobe
`
`
`
`1S}SY}UlPSVO]SUOISIBA
`
`SIlUYyWObjeUOVoUNYJS|JOUOISIOA
`
`
`
`UOIO9S}SJ1JSY}O}UI
`
`guojoes
`
`UOI}O8SJS]By}Ulpal0}s
`
`
`
`uywobieauyajnoaxa
`
`ee‘Old
`
`PUZBU}U!PS10}SUOISIBA
`
`
`wyWwobyejeuojounspuz
`
`JOUOISJOABIGe}NIEexe
`
`JEUla}x9JSuyEUlBdIASp
`
`jeuonounypuzey}peojumMOp
`
`
`
`SOIA@PJSOYBWOdWyWObje
`
`
`
`UOdHOasSPUuZdU}OUI
`
`aiqeynoaxasi
`
`£uonses
`
`8-PSE
`
`
`
`JOYJOUMsUIJa}Ep
`
`ou
`
`pjeypueysi
`
`a
`vSE
`
`
`
`UOIPIPUOdjeUJe}xXeUBSUILUA}Ep
`
`
`
`ajdijnwpjaypueyay)joaye}s
`
`
`
`aolAapuoHoUNy
`
`
`
`uoHoasSPUzZEU!PAJO}sSI
`
`Zayeis
`
`20
`
`20
`
`
`
`
`
`
`
`
`
`
`
`€
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 20 of 25
`
`US 2004/0133734 Al
`
`€-P9E
`
`
`jooqwajsAsay}a}]NDAax9
`-YOueWOdAS}SIOFLUYOByje
`
`joog|eyajJaysBeAowaUwAjUO
`
`wiyyWwobje
`
`eAlowawssaooeWopueldiyo
`
`
`SU}JOUOHHEAIORUBYMWYWobye
`
`
`
`wyywobyejooqwajsAs
`
`Psy}a}EPSIDI-OOS
`
`joo|e}JajayxSau}s}Ndexa
`
`
`pea.diyo-uoueWodyaAatyjal
`
`c-¥9E
`
`L-P9e
`
`
`uy}ulBBueYoe&104JOPUOW
`
`UONIPUODSjeUIa}xa
`‘UdI}IPUOD|eUsa}xeBy}UGpaseq
`
`
`
`ay}Woldsuu4yWOBje|euoVoUN,
`joAyyeinjd&yoBuOBAa}aI
`
`UOI}IPUOD|BUJa}XaUBBUIUA]ap
`
`gidiyinppaypueyau}jo
`
`
`
`Asowawdiyo-yo
`
`
`
`Sd1AS8pUOHOUN,
`
`
`
`pabueysau}uopeseq‘aaeujel
`
`uoHeoynuap!anbiuneaAaiijas
`
`
`
`JOYJOUB‘UOHIPUODJEUII}Xe
`
`JO}SDIASPPjeypueYau}JOapoa
`
`SORLSJUISOUBSABI
`
`Oy}WOWYWobyejeuoijouny
`
`ymUuoHOUN[UCSUlesn
`
`
`Aiowawdiyo-yo
`
`SOeL9}U!SOYBU}JOUOINIEXxa
`
`
`
`diyo-yoou}WoyWuwobe
`
`Auowaw
`
`wywobye
`
`veSls
`
`épaypajap
`
`
`
`Aiowswdiyo-yo
`
`Su}WoyLUyWIOBjeBurssaooid
`
`
`
` é}S0Yye0}pajdnosaolasp
`
`
`UONIPUOSD|BUJ9}X9OU}UI
`
`
`
`
`}X9}JO/PUR‘PJODSIOSPIA'piooa
`pleypuey=UOHIPucd
`
`aBueyo
`
`
`
`olpne‘yoeqgAe|d&anidujel
`
`jJBUlayxe
`
`21
`
`21
`
`
`
`
`
`
`
`
`
`
`
`
`
`PSE
`
`Jo}Auayequy}joaBelonJOpIUOW
`
`
`uol}puocdabeyoamo]Auayege
`
`
`MO]Wa}SASBJO}JOWBAUOD9Q-0}-9qGeBAqpeonpoid
`
`aBeyonwayshseJOWUOW
`
`Indjnoauo}sea]7eJOPUOW
`
`UOHIPUODPEOL@AOUBJO}
`
`
`
`uoIppuosSHeyoa
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 21 of 25
`
`S¢‘SlaA
`
`
`
`jleyyoAypeinjdeByoauoajqeua
`
`‘peopiaao
`
`94}UOpasegqsUUWObjeayes
`
`
`
`Mo}fuayeqJo‘abeyYoAMo]Wa}SAs
`
`UOdI}|pudS
`
`
`
`épeyejepabeyon
`
`US 2004/0133734 Al
`
`
`ssa0aud100q&Jase
`yeJOUOIINDEXxe0}Huilpuodsasioo
`
`‘wuJOpouadpaulusjspaid
`
`WYWobyejeuoyoun)auosea]
`
`
`
`
`yndjnoauojseg|yeBy}ajqeua
`
`VEE
`
`82“Sid
`
`
`
`SdIAOpUOHOUNY
`
`aidanpjaypueyau)umopynys
`
`
`
`yeau}joBuoyuowWauuNnsal
`
`
`OU}JO}JNdjNoBuOyse9|
`
`
`
`UONIPUODPEO|JeAO
`
`Ze“Sld
`
`9¢“Sis
`
`zov
`
`
`
`ayesje}AqAiapyeq
`
`
`
`ayesle}A]wayshs
`
`
`
`
`
`WiyWobye|euciounyauo}se9}
`
`yeJOUNIINDaxa0}Builpuodsas0D
`suesJuaiNojeljUasse9J0}S
`
`
`
`
`
`QUOjSe9]JEBU}BIGesIp
`
`indjno
`
`
`
`
`
`sBunjes}UelINoa10}s
`
`O6E
`
`Qyes12}PROLJaAo
`
`c6E
`
`
`
`SuUO}SBd]JeSy}ajqesip
`
`PeulLUajepaldeJoyJNdjno
`
`ow}JOpoued
`
`
`
`8}JOUONeuldxaJaye
`
`22
`
`22
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 22 of 25
`
`US 2004/0133734 Al
`
`LbS
`
`OLS
`
`avdAOO1d*0OV1dSNLVLSHNO018
`
`
`d009M9018«44
`JINGY}—WiVd_}ONOLS
`
`ssSALASCLS$0S
`jLNGY|—WL¥d
`
`
`OV1L49078NSQCIH
`ONiddVW
`
`
`
`6c‘Slad
`
`00s
`
`L0S
`
`COS@40018
`
`‘COS|HOO1a
`
`‘COSéMOOTd
`
`€WOOT"
`
`‘COS
`
`
`
`23
`
`23
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 23 of 25
`
`US 2004/0133734 Al
`
`920
`
`FILE SYSTEM
`DATA AREA
`
`(FONTS, BITMAP, CODE, ETC.)
`
`SYSTEM 4
`BOOT MANAGER
`
`SYSTEM 2
`USB FIRMWARE
`
`SYSTEM 3
`AUDIO PLAYER
`
`SYSTEM 4
`RESERVED FOR
`RESOURCES
`
`FIG. 30
`
`24
`
`24
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 24 of 25
`
`US 2004/0133734 Al
`
` 16D
`
`
`(INSTRUCTIONTOBOOTFROMNAND FLASH)
`
`~ 35D
`
`FIG.31
`
`12D
`
`GPIO ORHARDWIRE
`
`25
`
`
`
`Patent Application Publication
`
`Jul. 8, 2004 Sheet 25 of 25
`
`US 2004/0133734 Al
`
`600
`
`ant
`
`START UP
`
`GPIO (OR HARDWIRED)
`INSTRUCTION TO START
`BOOT MODE
`
`601
`
`602
`
`603
`
`CHIP POWERS UP
`
`
`
`ACCESS ROM FOR BOOT
`
`SEQUENCE
`
`READ FLASH BLOCK(S)
`604
`FOR BAD BLOCK
`
`LOOK FORTAGIN BAD
`605
`BLOCK(S)
`
`
`
`LOAD BOOT MANAGER
`WHEN TAG IS FOUND
`
`606
`
`
`
`FOLLOW BOOT SEQUENCE
`SET BY BOOT MANAGER
`
`607
`
`FIG. 32
`
`26
`
`26
`
`
`
`US 2004/0133734 Al
`
`Jul. 8, 2004
`
`boot program from a memory device, such as a read only
`memory (ROM). In some instances the boot program is
`stored on a writable memory device, so that
`the boot
`program may be updatedor reloaded with different versions
`of the booting program. In some instances, a NORtypeflash
`memorydevice may be employed to store the boot program,
`since NOR flash memories are more suited for this type of
`[0001] This application claims the benefit of U.S. Provi-
`operation. Accordingly,it is a typical practice to employ a
`sional Patent Application entitled MULTI-FUNCTION
`ROM or a NORflash memoryfor booting when the device
`HANDHELD DEVICE,having a Serial No. of 60/429,941
`is initialized. The advantageof the use of a flash memoryis
`andafiling date of Nov. 29, 2002, which is incorporated
`that the boot program may be customized. Furthermore, the
`herein byreference.
`flash device may be updated with newer or different boot
`programs.
`
`USE OF NAND FLASH FOR HIDDEN MEMORY
`BLOCKS TO STORE AN OPERATING SYSTEM
`PROGRAM
`
`CROSS REFERENCE TO RELATED
`APPLICATION
`
`BACKGROUND OF THE INVENTION
`
`
`
`[0002]
`
`1. Technical Field of the Invention
`
`[0003] This invention relates generally to portable elec-
`ronic equipment, and moreparticularly to a multi-function
`handheld device that employs a memory having hidden
`memory blocks to store operating system programs.
`
`[0004]
`
`2. Description of Related Art
`
`[0005] As is known,integrated circuits are used in a wide
`variety of electronic equipment, including portable, or hand-
`held, devices. Such handheld devices include personal digi-
`al assistants (PDA), CD players, MP3 players, DVD play-
`ers, AM/FM radio, a pager, cellular telephones, computer
`memory extension (commonlyreferred to as a thumb drive),
`etc. Each of these handheld devices include one or more
`
`integrated circuits to provide the functionality of the device.
`For example, a thumb drive may include an integrated
`circuit for interfacing with a computer(e.g., personal com-
`puter, laptop, server, workstation, etc.) via one of the ports
`of the computer (e.g., Universal Serial Bus, parallel port,
`etc.) and at least one other memoryintegrated circuit (¢.g.,
`flash memory). As such, when the thumbdrive is coupled to
`a computer, data can be read from and written to the memory
`of the thumb drive. Accordingly, a user may store person-
`alized information (e.g., presentations,
`Internet access
`account information, etc.) on his/her thumb drive and use
`any computer to access the information.
`
`[0006] As another example, an MP3 player may include
`multiple integrated circuits to support the storage and play-
`back of digitally formatted audio (i.e., formatted in accor-
`dance with the MP3 specification). As is known, one inte-
`grated circuit may be used for interfacing with a computer,
`another integrated circuit for generating a power supply
`voltage, another for processing the storage and/or playback
`of the digitally formatted audio data, and still another for
`rendering the playback of the digitally formatted audio data
`audible.
`
`Integrated circuits have enabled the creation of a
`[0007]
`plethora of handheld devices, however,
`to be “wired” in
`today’s electronic world, a person may need to posses
`multiple handheld devices. For example, one may own a
`cellular telephone for cellular telephone service, a PDA for
`scheduling, address book, etc., one or more thumb drives for
`extended memory functionality, an MP3 player for storage
`and/or playback of digitally recorded music, a radio, etc.
`Thus, even though a single handheld device may be rela-
`tively small, carrying multiple handheld devices on one’s
`person can become quite burdensome.
`
`[0009] Even though a ROM or a NOR flash memory
`device is employed with a processor, the actual data storage
`is performed utilizing other
`types of memorystorage
`devices. For example, if the flash technology is employed,
`typical practice is to employ a NAND type flash memory
`device for mass storage of data, since NAND flashes are
`more suited for mass data storage. Therefore, prior art
`practice has been to employ a ROM or NORtype flash
`memoryforstorage of booting programs, while NAND type
`flash storage devices are utilized for the storing of data.
`Accordingly,
`embodiments of
`the present
`invention
`addresses a scheme in which both a boot program is stored
`on the same storage media as data, so that one type of
`storage device may be utilized to store both the boot
`program and data.
`BRIEF SUMMARY OF THE INVENTION
`
`[0010] The multi-function handheld device of the present
`invention substantially meets these needs and others. An
`embodiment of the device includes a host interface, a bus, a
`processing module, a memoryinterface, a multimedia mod-
`ule, and a DC-to-DC converter. The host interface is oper-
`able to receive or transmit data with a host device (e.g.,
`personal computer, laptop computer, etc.) when the multi-
`function handheld device is operably coupled to the host
`device. The bus provides a medium for transmitting and/or
`receiving data between the host interface,
`the processing
`module, and the memory interface. The processing module
`functions to place the multi-function handheld device in a
`first functional mode when the host interface is operably
`coupled to the host device and places the multi-function
`handheld device in a second functional mode whenthe host
`interface is not operably coupled to the host device.
`[0011] The memoryinterface is operably coupled to, when
`the multi-function handheld device is in the first functional
`
`mode, provide data received from the host device to memory
`coupled to the integrated circuit for storage. The memory
`interface also provides data retrieved from the memoryto
`the host interface for transmission to the host device. The
`
`multimedia module is operably coupled to, when the multi-
`function handheld device is in the second functional mode,
`to convert data stored in the memoryinto rendered output
`data (e.g., prepares the data to be heard or seen). The DC to
`DC converter is operably coupled to provide at least a first
`supply voltage to at least one of the host interface,
`the
`processing module, the memoryinterface, and the multime-
`dia module. With such an integrated circuit, a handheld
`device may provide multiple functions, thus reducing the
`burdens of handheld device users.
`
`Ina typical hand-held device, an integrated circuit
`[0008]
`that contains a processor or a controller generally loads a
`
`[0012] An embodiment of a handheld device includesthe
`integrated circuit, a battery, and memory, which is coupled
`
`27
`
`27
`
`
`
`US 2004/0133734 Al
`
`to the integrated circuit via the memory interface. The
`battery is operably coupled to the DC-to-DC converter,
`which produces therefrom the supply voltage(s) for the
`integrated circuit. The handheld device may further include
`a clock source, a speaker, a headphonejack, a microphone,
`a display, a video capture device, and/or an user input
`module (e.g., key pad).
`
`[0013] An embodimentof the invention uses an external
`memory thatstores both operating system program and data.
`The operating system program is stored in an external
`memory along with data. In order to separate the operating
`system program from data, the operating system program is
`stored in a hidden block designated as a bad block. A unique
`tag in the designated block identifies the block as a hidden
`block holding the operating system program.In one embodi-
`ment, the external memoryis a NANDflash memory.
`
`Jul. 8, 2004
`
`FIG.14 is a schematic block diagram ofa display
`[0027]
`interface system in accordance with one embodimentofthe
`present invention.
`
`[0028] FIG. 15 is a diagram of a memory system in
`accordance with one embodimentof the present invention.
`
`[0029] FIG. 16 is a diagram of a program random access
`memoryin accordance with one embodiment ofthe present
`invention.
`
`[0030] FIG. 17 is a schematic block diagram of another
`memorysystem in accordance with one embodimentof the
`present invention.
`
`[0031] FIG. 18 is a schematic block diagram of a DC-to-
`DC converter in accordance with one embodiment of the
`
`present invention.
`
`[0032] FIG. 19 is a logic diagram of a method for pro-
`viding current limit in a DC-to-DC converter in accordance
`with one embodiment of the present invention.
`[0014] FIG.1is a schematic block diagram ofa handheld
`[0033] FIG. 20 is a diagram corresponding to providing
`device and corresponding integrated circuit in accordance
`current limit in a DC-to-DC converter in accordance with
`with one embodiment of the present invention.
`
`BRIEF DESCRIPTION OF THE SEVERAL
`VIEWS OF THE DRAWINGS
`
`[0015] FIG. 2 is a schematic block diagram of another
`handheld device and corresponding integrated circuit
`in
`accordance with one embodimentof the present invention.
`
`[0016] FIG. 3 is a schematic block diagram of another
`integrated circuit in accordance with one embodimentof the
`present invention.
`
`FIG.4 is a schematic block diagram ofyet another
`[0017]
`integrated circuit in accordance with one embodimentof the
`present invention.
`
`
`
`
`
`
`
`
`
`one embodimentof the present invention.
`
`FIG.21 is a schematic block diagram of an elec-
`[0034]
`trostatic protection circuit in accordance with one embodi-
`mentof the present invention.
`
`[0035] FIG. 22 is a schematic block diagram of another
`electrostatic protection circuit
`in accordance with one
`embodimentof the present invention.
`
`FIG.23 is a logic diagram of a method forloading
`[0036]
`and/or programming a system on a chip in accordance with
`one embodimentof the present invention.
`
`[0037] FIG. 24is a logic diagram of a method for booting
`up a system on a chip in accordance with one embodiment
`of the present invention.
`
`[0038] FIG. 25 is a logic diagram of a method for pro-
`viding efficient battery use in accordance with one embodi-
`mentof the present invention.
`
`FIGS. 26 is a logic diagram of a method for
`[0039]
`providing an overload fail-safe algorithm in accordance with
`one embodimentof the present invention.
`
`FIGS. 27is logic diagram of a method for provid-
`[0040]
`ing a system lowvoltage fail-safe algorithm in accordance
`with one embodiment of the present invention.
`
`FIGS. 28 is logic diagram of a method for provid-
`[0041]
`ing a battery lowvoltage fail-safe algorithm in accordance
`with one embodiment of the present invention.
`
`FIGS. 29 is a diagram of an embodiment of a
`[0042]
`memorysystem in which a hidden memoryblock of a data
`storage medium is used to store a boot program.
`
`FIG.30 is a diagram ofa portion of the memoryof
`[0043]
`FIG. 29 showing the storing of several boot routines.
`
`[0044] FIG. 31 is a block schematic diagram showing a
`use of a NANDfiash memoryto store a boot program which
`is used to boot an integrated circuit.
`
`[0045] FIG. 32 is a flow diagram for booting the inte-
`grated circuit of FIG. 31.
`
`28
`
`
`
`[0018] FIG. 5isa schematic block diagram ofstill another
`integrated circuit in accordance with one embodimentof the
`present invention.
`
`[0019] FIG. 6 is a schematic block diagram of a further
`integrated circuit in accordance with one embodimentof the
`present invention.
`
`FIG.7 is a schematic block diagram of a cell of a
`[0020]
`general purpose input output interface in accordance with
`one embodiment of the present invention.
`
`FIG.8 is a schematic block diagram ofa digital to
`[0021]
`analog converterin accordance with one embodimentofthe
`present invention.
`
`[0022] FIG. 9 is a schematic block diagram ofa digital to
`analog converterin accordance with one embodimentofthe
`present invention.
`
`[0023] FIG. 10 is a schematic block diagram of an opera-
`ional amplifier in accordance with one embodimentof the
`present invention.
`
`[0024] FIG. 11 is a schematic block diagram of a pro-
`grammable driver in accordance with one embodiment of
`he present invention.
`
`[0025] FIG. 12 is a schematic block diagram of a micro-
`phonebiascircuit in accordance with one embodimentof the
`present invention.
`
`[0026] FIG. 13 is a schematic block diagram of an input
`interface system in accordance with one embodimentofthe
`present invention.
`
`28
`
`
`
`US 2004/0133734 Al
`
`Jul. 8, 2004
`
`DETAILED DESCRIPTION OF THE
`EMBODIMENTS OF THE INVENTION
`
`circuit 12 will be described in greater detail with reference
`to FIGS. 15-17 and FIGS. 29-32.
`
`[0046] FIG. 1 is a schematic block diagram of a multi-
`function handheld device 10 and corresponding integrated
`circuit 12 operably coupled to a host device A, B, or C. The
`multi-function handheld device 10 also includes memory
`integrated circuit (IC) 16 and a battery 14. The integrated
`circuit 12 includes a host interface 18, a processing module
`20, a memory interface 22, a multimedia module 24, a
`DC-to-DC converter 26, and a bus 28. The multimedia
`module 24 alone or in combination with the processing
`module 20 provides the functional circuitry for the inte-
`grated circuit 12. The DC-to-DC converter 26, which may be
`constructed in accordance with the teaching of U.S. Pat. No.
`6,204,651, entitled METHOD AND APPARATUS FOR
`REGULATING A DC VOLTAGE,provides at least a first
`supply voltage to one or more of the hostinterface 18, the
`processing module 20, the multimedia module 24, and the
`memoryinterface 22. The DC-to-DC converter 26 mayalso
`provide V,,, to one or more of the other components ofthe
`handheld device 10.
`
`[0047] When the multi-function handheld device 10 is
`operably coupled to a host device A, B, or C, which may be
`a personal computer, workstation, server (which are repre-
`sented by host device A), a laptop computer (host device B),
`a personaldigital assistant (host device C), and/or any other
`device that may transceive data with the multi-function
`handheld device, the processing module 20 performsatleast
`one algorithm 30, which will be described in greater detail
`with reference to FIGS. 15-17 and 23-28, where the corre-
`sponding operational instructions of the algorithm 30 are
`stored in memory16 and/or in memory incorporated in the
`processing module 20.
`
`[0048] The processing module 20 may be a single pro-
`cessing device or a plurality of processing devices. Such a
`processing device may be a microprocessor, micro-control-
`ler, digital signal processor, microcomputer, central process-
`ing unit, field programmable gate array, programmable logic
`device, state machine, logic circuitry, analog circuitry, digi-
`tal circuitry, and/or any device that manipulates signals
`(analog and/or digital) based on operational instructions.
`The associated memory maybe a single memory device or
`a plurality of memory devices. Such a memory device may
`be a read-only memory, random access memory, volatile
`memory, non-volatile memory, static memory, dynamic
`memory,flash memory, and/or any devicethat stores digital
`information. Note that when the processing module 20
`implements one or moreofits functions via a state machine,
`analog circuitry, digital circuitry, and/or logic circuitry, the
`associated memory storing the corresponding operational
`instructions is embedded with the circuitry comprising the
`state machine, analog circuitry, digital circuitry, and/or logic
`circuitry.
`
`[0049] With the multi-function handheld device 10 in the
`first functional mode, the integrated circuit 12 facilitates the
`transfer of data between the host device A, B, or C and
`memory 16, which may be non-volatile memory(e.g., flash
`memory, disk memory, SDRAM) and/or volatile memory
`(e.g., DRAM). In one embodiment, the memory IC 16 is a
`NANDflash memory that stores both data and the opera-
`tional instructionsof at least some of the algorithms 30. The
`interoperability of the memory IC 16 and the integrated
`
`In this mode, the processing module 30retrieves a
`[0050]
`first set of operational instructions(e.g., a file system algo-
`rithm, which is known in the art) from the memory 16 to
`coordinate the transfer of data. For example, data received
`from the host device A, B, or C (e.g., Rx data) is first
`received via the host interface module 18. Depending on the
`type of coupling between the host device and the handheld
`device 10, the received data maybe formatted in a particular
`manner. For example,if the handheld device 10 is coupled
`to the host device via a USB cable, the received data may be
`in accordance with the format proscribed by the USB
`specification. The host interface module 18 converts the
`formatof the received data (e.g., USB format) into a desired
`format by removing overhead data that corresponds to the
`format of the received data and storing the remaining data as
`data words. Under the control of the processing module 20,
`the data words are provided, via the memoryinterface 22, to
`memory16 for storage. In this mode, the handheld device 10
`is functioning as extended memory ofthe host device (e.g.,
`like a thumb drive).
`
`In furtheranceofthe first functional mode, the host
`[0051]
`device mayretrieve data (e.g., Tx data) from memory 16 as
`if the memory were part of the computer. Accordingly, the
`host device provides a read command to the handheld
`device, which is received via the host interface 18. The host
`interface 18 converts the read request into a generic format
`and provides the request to the processing module 20. The
`processing module 20 interprets the read request and coor-
`dinates the retrieval of the requested data from memory 16
`via the memory interface 22. The retrieved data (e.g., Tx
`data) is provided to the hostinterface 18, which converts the
`format of the retrieved data from the generic format of the
`handheld device into the formatof the coupling between the
`handheld device and the host device. The host interface 18
`then provides the formatted data to the host device via the
`coupling.
`
`[0052] The coupling between the host device and the
`handheld device may be a wireless connection or a wired
`connection. For instance, a wireless connection may be in
`accordance with Bluetooth, IEEE 802.11(a), (b) or (g),
`and/or any other wireless LAN (local area network) proto-
`col, IrDA,etc. The wired connection may be in accordance
`with one or more Ethernet protocols, Firewire, USB, etc.
`Depending on the particular type of connection, the host
`interface module 18 includes a corresponding encoder and
`decoder. For example, when the handheld device 10 is
`coupled to the host device via a USB cable, the host interface
`module 18 includes a USB encoder and a USB decoder.
`
`It is to be noted that the data stored in memory 16,
`[0053]
`which may have 64 Mbytes or greater of storage capacity,
`maybe text files, presentationfiles, user profile information
`for access to varies computer services (e.g., Internet access,
`email, etc.), digital audio files (e.g, MP3 files, WMA—
`Windows Media Architecture—, MP3 PRO, Ogg Vorbis,
`AAC—Advanced Audio Coding), digital video files [e.g.,
`still images or motion video such as MPEG (motion picture
`expert group) files, JPEG (joint photographic expert group)
`files, etc.], address book information, and/or any other type
`of information that may be stored in a digital format.It is to
`be noted that when the handheld device 10 is coupled to the
`
`29
`
`29
`
`
`
`US 2004/0133734 Al
`
`Jul. 8, 2004
`
`host device A, B, or C, the host device may power the
`handheld device 10 such that the battery is unused.
`[0054] When the handheld device 10 is not coupled to the
`host device, the processing module 20 executesan algorithm
`30 to detect the disconnection and to place the handheld
`device in a second operational mode. In the second opera-
`tional mode, the processing module 20 retrieves, and sub-
`sequently executes, a second set of operationalinstructions
`from memory 16 to support the second operational mode.
`For example, the second operational mode may correspond
`to MP3file playback, digital dictaphone recording, MPEG
`file playback, JPEG file playback, text messaging display,
`cellular telephone functionality, and/or AM/FM radio recep-
`tion. Since these functions may be knownin the art, no
`further discussion of the particular implementationof these
`functions will be provided except to further illustrate the
`concepts of the present invention.
`[0055]
`In