EE319_lecture4 - 4-1EE 319KIntroduction to...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4-1EE 319KIntroduction to MicrocontrollersLecture 4: Debugging, Arithmetic Operations, Condition Code Bits4-2Ramesh YerraballiDebuggingAka,Testing, Diagnostics, VerificationDebugging ActionsFunctional debugging, input/output valuesPerformance debugging, input/output values with timeTracing, measure sequence of operationsProfiling, o measure percentage for tasks, o time relationship between tasksPerformance measurement, how fast it executesOptimization, make tradeoffs for overall good oimprove speed,oimprove accuracy,o reduce memory,o reduce power,oreduce size,oreduce cost4-3Ramesh YerraballiDebugging IntrusivenessIntrusive Debuggingdegree of perturbation caused by the debugging itselfhow much the debugging slows down executionNon-intrusive Debuggingcharacteristic or quality of a debuggerallows system to operate as if debugger did not existe.g., logic analyzer, ICE, BDMMinimally intrusivenegligible effect on the system being debuggede.g., dumps(ScanPoint) and monitorsHighly intrusiveprint statements, breakpoints and single-stepping4-4Ramesh YerraballiDebugging Aids in TExasInterfaceuc – ViewBox, BreakPointsstk – StackField, MemoryBoxModesFollowPCCycleViewInstructionViewLogRecordSingle Step, Few, StepOver, StepOut, RunBreakpoint versus ScanPointRun time errorsRead from un-programmed ROMWrite to ROMRead from un-initialized RAMRead/write unimplemented I/O4-5Ramesh Yerraballi… DebuggingInstrumentation: Code we add to the system that aids in debuggingE.g., print statementsGood practice: Define instruments with specific pattern in their namesUse instruments that test a run time global flagoleaves a permanent copy of the debugging codeo causing it to suffer a runtime overheado simplifies “on-site” customer support....
View Full Document

This note was uploaded on 02/18/2011 for the course EE 319K taught by Professor Bard during the Spring '08 term at University of Texas at Austin.

Page1 / 23

EE319_lecture4 - 4-1EE 319KIntroduction to...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online