www.德州仪器.com
ADVance informaTION
memoryselects
TMS470R1A64
16/32-bitriscflashmicrocontroller
SPNS099–NOVEMBER2004
memoryselectsallowtheusertoaddressmemoryarrays(i.e.,flash,内存,andhetram)atuser-定义
地址.eachmemoryselecthasitsownset(lowandhigh)ofmemorybaseaddressregisters(mfbahrx
andmfbalrx)那,一起,definethearray'sstarting(根基)地址,blocksize,andprotection.
Thebaseaddressofeachmemoryselectisconfigurabletoanymemoryaddressboundarythatisamultipleof
thedecodedblocksize.formoreinformationonhowtocontrolandconfigurethesememoryselectregisters,看
thebusstructureandmemorysectionsofthe
TMS470R1xSystemModuleReferenceGuide
(literaturenumber
spnu189).
forthememoryselectionassignmentsandthememoryselected,seetable3.
table3.memoryselectionassignment
MEMORYMEMORYSELECTEDMEMORYMEMORYBASESTATICMEM
MPU
选择(allinternal)sizeaddressregisterctlregister
0(fine)flashnomfbahr0andmfbalr0
64K
1(fine)flashnomfbahr1andmfbalr1
2(fine)ramyesmfbahr2andmfbalr2
4K
(1)
3(fine)ramyesmfbahr3andmfbalr3
4(fine)hetram1kmfbahr4andmfbalr4smcr1
(1)thestartingaddressesforbothrammemory-selectsignals
不能
beoffsetfromeachotherbyamultipleoftheuser-definedblock
sizeinthememory-baseaddressregister.
内存
TheA64devicecontains4KbytesofinternalstaticRAMconfigurablebytheSYSmoduletobeaddressedwithin
therangeof0x0000_0000to0xffe0_0000.thisa64ramisimplementedinone4karrayselectedbytwo
记忆-selectsignals.thisa64configurationimposesanadditionalconstraintonthememorymapforram;
thestartingaddressesforbothRAMmemoryselectscannotbeoffsetfromeachotherbythemultiplesofthe
sizeofthephysicalram(i.e.,4kforthea64device).thea64ramisaddressedthroughmemoryselects2and
3.
theramcanbeprotectedbythememoryprotectionunit(mpu)portionofthesysmodule,allowingtheuser
finerblocksofmemoryprotectionthanisallowedbythememoryselects.thempuisidealforprotectingan
operatingsystemwhileallowingaccesstothecurrenttask.formoredetailedinformationonthempuportionof
thesysmoduleandmemoryprotection,seethememorysectionofthe
TMS470R1xSystemModuleReference
手册
(literaturenumberspnu189).
F05Flash
TheF05Flashmemoryisanonvolatileelectricallyerasableandprogrammablememoryimplementedwitha
32-位-widedatabusinterface.thef05flashhasanexternalstatemachineforprogramminganderase
功能.seethe
Flashread
和
Flashprogramanderase
sectionsbelow.
Flashprotectionkeys
thea64devicesprovideflashprotectionkeys.thesefour32-bitprotectionkeyspreventpro-
gram/擦掉/compactionoperationsfromoccurringuntilafterthefourprotectionkeyshavebeenmatchedbythe
cpuloadingthecorrectuserkeysintothefmpkeycontrolregister.theprotectionkeysonthea64arelocated
inthelast4wordsofthefirst8ksector.formoredetailedinformationontheflashprotectionkeysandthe
fmpkeycontrolregister,seetheprotectionkeysportionsofthe
TMS470R1xF05FlashReferenceGuide
(literaturenumberspnu213).
11