www.德州仪器.com
MemorySelects
TMS470R1A288
16/32-bitriscflashmicrocontroller
SPNS106–SEPTEMBER2005
memoryselectsallowtheusertoaddressmemoryarrays(i.e.,flash,内存,andhetram)atuser-定义
地址.eachmemoryselecthasitsownset(lowandhigh)ofmemorybaseaddressregisters(mfbahrx
andmfbalrx)那,一起,definethearray'sstarting(根基)地址,blocksize,andprotection.
Thebaseaddressofeachmemoryselectisconfigurabletoanymemoryaddressboundarythatisamultipleof
thedecodedblocksize.formoreinformationonhowtocontrolandconfigurethesememoryselectregisters,看
thebusstructureandmemorysectionsofthe
TMS470R1xSystemModuleReferenceGuide
(literaturenumber
spnu189).
forthememoryselectionassignmentsandthememoryselected,看Table3.
table3.tms470r1a288memoryselectionassignment
MEMORYMEMORYSELECTEDMEMORYMPUMSMMEMORYBASEADDRESSREGISTERSTATICMEM
选择(allinternal)大小
(1)
CTLREGISTER
0(fine)flash/romnoyesmfbahr0andmfbalr0
288K
1(fine)flash/romnoyesmfbahr1andmfbalr1
2(fine)ramyesyesmfbahr2andmfbalr2
16K
(2)
3(fine)ramyesyesmfbahr3andmfbalr3
4(fine)hetram1knonomfbahr4andmfbalr4smcr1
128MB
5(coarse)cs[5]/gioc[3](x8)nonomcbahr2andmcbalr2smcr5
1mb(x16)
128MB
6(coarse)cs[6]/gioc[4](x8)nonomcbahr3andmcbalr3smcr6
1mb(x16)
(1)x8referstosizeofmemoryin8-位;x16referstosizeofmemoryin16-位.
(2)thestartingaddressesforbothrammemory-selectsignalscannotbeoffsetfromeachotherbyamultipleoftheuser-definedblock
sizeinthememory-baseaddressregister.
MemorySecurityModule
thea288devicealsoincludesamemorysecuritymodule(msm)toprovideadditionalsecurityandflexibilityto
thememorycontents'保护.thepasswordforunlockingthemsmislocatedinthefourwordsjustbefore
theflashprotectionkeys(seethe
FlashProtectionKeys
sectionbelow).
jtagsecuritymodule(jsm)
thea288deviceincludesajtagsecuritymoduletoprovidemaximumsecuritytothememorycontents.这
visibleunlockcodecanbechosentobeintheotpsectororinthefirstbankoftheuser-programmablememory.
forthea288,thevisibleunlockcodeisintheotpsector.
内存
thea288devicecontains16k-bytesofinternalstaticramconfigurablebythesysmoduletobeaddressed
withintherangeof0x0000_0000to0xffe0_0000.thisa288ramisimplementedinone16k-bytearray
selectedbytwomemory-selectsignals.
便条:
ThisA288configurationimposesanadditionalconstraintonthememorymapfor
内存;thestartingaddressesforbothrammemoryselectscannotbeoffsetfrom
eachotherbythemultiplesofthesizeofthephysicalram(i.e.,16kforthea288
设备).thea288ramisaddressedthroughmemoryselects2and3.
theramcanbeprotectedbythememoryprotectionunit(mpu)portionofthesysmodule,allowingtheuser
finerblocksofmemoryprotectionthanisallowedbythememoryselects.thempuisidealforprotectingan
operatingsystemwhileallowingaccesstothecurrenttask.formoredetailedinformationonthempuportionof
thesysmoduleandmemoryprotection,seethememorysectionofthe
TMS470R1xSystemModuleReference
手册
(literaturenumberspnu189).
17