
III
Contents
1BackgroundKnowledge.......................................................................................................................1
1.1TheIntroductionofEmbeddedSystem........................................................................................1
1.2TheIntroductionofRealTimeOperatingSystem........................................................................1
1.2.1TheMainCharacteristicsofRTOSes......................................................................................2
1.2.2IntroductionofSeveralPopularRTOSProductsOnTheMarket........................................2
1.3TheIntroductionoftheMulti‐CoreSystems...............................................................................3
1.4DebuggingTechnology.................................................................................................................3
1.4.1TheSoftwareDevelopmentEnvironmentinEmbeddedSystem........................................3
1.4.2IntegratedDevelopmentEnvironmentinEmbeddedSoftware.........................................3
1.4.3CommunicationPortsforCrossDebugging.........................................................................4
1.5TheCategroriesofDebuggingStrategies...................................................................................5
1.5.1Software‐basedDebugging...................................................................................................5
1.5.2Hardware‐basedDebugging..................................................................................................7
1.5.3TheComparisonoftheDebuggingTechnologies...............................................................10
2IntroductionoftheSoftwareandHardwarePlatform....................................................................12
2.1IntroductionoftheSoftwarePlatform.......................................................................................12
2.1.1IntroductionofTAToolSuite................................................................................................12
2.1.2IntroductionofOSEK............................................................................................................12
2.1.3IntroductionofErikaOS.......................................................................................................13
2.2IntroductionoftheHardwarePlatform.....................................................................................15
2.2.1IntroductionofExperimentalBoard....................................................................................15
2.2.2IntroductionoftheOn‐chipAnalyzer..................................................................................16
2.3TheComparisonofOn‐chipAnalyzers.......................................................................................19
3DataTracingResearch........................................................................................................................22
3.1DataTracingConfigurationinOS................................................................................................22
3.2IntroductionoftheContextSwitchinginRTOS........................................................................23
3.2.1TheDefinitionofContextSwitching...................................................................................24
3.3DataHandlinginTAInspector....................................................................................................27
3.4SingleTask..................................................................................................................................30
3.4.1RelatedKnowledgeinErikaOS...........................................................................................30
3.4.2CaseStudy.............................................................................................................................31
3.4.3TheComparisonandConclusion........................................................................................33
3.5MultitaskinginNonPre‐emptiveKernel...................................................................................34
3.5.1DataHandling.......................................................................................................................34
3.5.2CaseStudy.............................................................................................................................37
3.5.3TheComparisonandConclusion........................................................................................43
3.6InterruptHandling......................................................................................................................43
3.6.1RelatedKnowledgeinErikaOS...........................................................................................43
3.6.2CaseStudy............................................................................................................................44
3.6.3TheComparisonandConclusion........................................................................................48
3.7TasksinMulti‐coreCondition.....................................................................................................49
3.7.1TaskSchedulingPrincipleinErikaOS..................................................................................49
3.7.2CaseStudy............................................................................................................................49
4ZeloS³Cycle.........................................................................................................................................51