Texas Instruments TMS320DM646x Computer Hardware User Manual


 
10.3.3Maximum(Max)Reset
10.3.4SystemReset
10.3.5ModuleReset
10.3.6DSPLocalReset
TypesofReset
www.ti.com
AMaximum(Max)resetisinitiatedbytheemulatororthewatchdogtimer(Timer2).Theeffectsarethe
sameasaWarmreset,exceptthedevicebootandconfigurationpinsarenotrelatched.Theemulator
initiatesaMaxresetviatheICEPICKmodule.ThisICEPICK-initiatedresetisnonmaskable.Whenthe
watchdogtimercounterreacheszero,thisalsoinitiatesaMaxresettorecoverfromarunawaycondition.
Fordebug,Maxresetallowsanemulatortoinitiatechipresetusinganemulationcommand,while
remainingactiveduringandaftertheresetsequence.ToinvoketheMaxresetviatheICEPICKmodule,
youcanperformthefollowingfromtheCodeComposerStudio™IDEmenu:DebugAdvanced
ResetsSystemReset.
ThefollowingstepsdescribetheMaxresetsequence:
1.ToinitiateMaxreset,thewatchdogtimerexpires(indicatingarunawaycondition),ortheemulator
initiatesaMaxresetcommandviatheICEPICKmodule.
2.Hardwareresetsallofthemodulesincludingmemories,butnottheemulationcircuitry.Thedevice
bootandconfigurationpinsarenotrelatched.
3.Warmresetfinishes,allofthemodulesexceptemulationlogicareintheirdefaultconfigurations,and
hardwarebeginsthebootprocess.
Note:Maxresetmaybeblockedbyanemulatorcommand.Thisallowsanemulatortoblocka
watchdogtimer-initiatedMaxresetfordebugpurposes.
SeetheTMS320DM646xDMSoC64-BitTimerUser'sGuide(SPRUER5)forinformationonthewatchdog
timer.
TheemulatorinitiatesSystemresetviaspecialDSPemulationorICECrusher.Systemresetisconsidered
asoftreset(memorycontentsaremaintained,clocklogicandpowercontrollogicarenotaffected).None
ofthefollowingmodulesarereset:DDR2MemoryController,PLLController(PLLC),PowerandSleep
Controller(PSC),andemulationcircuitry.
ThefollowingstepsdescribetheSystemresetsequence:
1.TheemulatorinitiatesSystemreset.
2.Thepropermodulesarereset.
3.TheSystemresetfinishes,thepropermodulesarereset,andtheCPUisoutofreset.
Moduleresetallowsthesoftwaretoindependentlyresetamodule.Moduleresetcanbeusedtoreturna
moduletoitsdefaultstate(thatis,itsstateasseenafterPOR,Warmreset,andMaxreset).Modulereset
isintendedasadebugtool;ratherthanforgeneraluse,becauseifcareisnottakenarbitrarilysettinga
modulecanresultintheswitchfabriclockingup.
TheproceduresforassertinganddeassertingmoduleresetarefullydescribedinChapter6.Furthermore,
specialconsiderationsforDSPmoduleresetaredescribedinChapter12.
YoucanuseDSPlocalresettoresettheDSPCPU.WhentheDSPlocalresetisasserted,theDSP
internalmemories(L1P,L1D,andL2)arestillaccessible.UnlikeModulereset,localresetonlyresetsthe
DSPCPU.TheARMuseslocalresettoresettheDSPduringtheDSPbootprocess.
Note:Moduleresetsupersedeslocalreset,soyoucanexecuteamoduleresetwhenlocalresetis
assertedordeasserted.
TheproceduresforassertinganddeassertingDSPlocalresetarefullydescribedintheChapter12and
Chapter6.
Reset 114SPRUEP9AMay2008
SubmitDocumentationFeedback