RunninganApplicationfromInternalFlashMemoryontheTMS320F28xxxDSPDavidM.AlterDSPApplications-SemiconductorGroupABSTRACTSeveralspecialrequirementsexistforrunninganapplicationfromon-chipflashmemoryontheTMS320F28xxxDSP.TheserequirementsgenerallydonotmanifestthemselvesduringdevelopmentinRAMsincetheCodeComposerStudio™debuggercanmaskproblemsassociatedwithinitializedsectionsandhowtheyarelinkedtomemory.Thisapplicationreportcoverstherequirementsneededtoproperlyconfigureapplicationsoftwareforexecutionfromon-chipflashmemory.RequirementsforbothDSP/BIOS™andnon-DSP/BIOSprojectsarepresented.Someperformanceconsiderationsandtechniquesarealsodiscussed.Examplecodeprojectsareincludedthatrunfromon-chipflashontheeZdspF2812™,eZdspF2808,andeZdspF28335developmentboards.CodeexamplesthatrunfrominternalRAMarealsoprovidedforcompleteness.Thesecodeexamplesprovideastartingpointforcodedevelopment,ifdesired.ProjectcollateralandsourcecodediscussedinthisapplicationreportcanbedownloadedfromthefollowingURL:http://www-s.ti.com/sc/techlit/spra958.zip.NotethattheissuesdiscussedinthisapplicationreportapplydirectlytocurrentmembersoftheTMS320F28xxxDSPfamily,specifically:F2810,F2811,F2812,F2801,F2801-60,F2802,F2802-60,F2806,F2808,F2809,F28015,F28016,F28044,F28232,F28234,F28235,F28332,F28334,andF28335devices.ApplicabilitytofuturedevicesintheTMS320F28xxxfamily,althoughquitelikely,isnotguaranteed.Inaddition,thecodeandtechniquespresentedinthisapplicationreportforDSP/BIOSprojectsweredevelopedonCodeComposerStudiov3.3.81.5usingC-compilerv5.1.0andDSP/BIOSv5.33.Itisalwayssuggestedthatthereaderupgradetothelatestversion.However,keepinmindthatfutureversionsofDSP/BIOSmayhavedifferencesthatmakesomeoftheitemsdiscussedinthisreportunnecessary(althoughinalllikelihoodbackwardscompatibilitywillbemaintained,sothatthetechniquesdiscussedhereshouldstillwork).Finally,thisapplicationreportdoesnotprovideatutorialonwritingandbuildingcodefortheF28xxxDSP.Itisassumedthatthereaderalreadyhasatleastthemainframeworkoftheirapplicationcoderun...