|
|||||||||||
Technical Support On-Line Manuals µVision3 User's Guide µVision3 Overview User Interface Creating Applications Utilities Debugging Debug Commands ASM ASSIGN BreakAccess BreakDisable BreakEnable BreakKill BreakList BreakSet COVERAGE DEFINE DIR Display Enter EVALuate EXIT Go INCLUDE KILL LOAD LOG LogicAnalyze MAP MODE Ostep PerformanceAnalyze Pstep RESET SAVE SCOPE SET SIGNAL SLOG Tstep Unassemble WatchSet WatchKill Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
LogicAnalyze
You may use the Logic Analyzer in µVision3 to record the time and value of variable changes. As your program runs, the results of the signal recording display in the Logic Analyzer window. The following commands are available for working with the Logic Analyzer. LA The LA command, when entered with no additional arguments, displays statistics about each recorded variable. The number of recorded changes is listed. LA variable_name The LA command, when followed by the name of a variable or VTREG in your target program, creates a signal that is recorded. You may record up to 256 variables or VTREG's. Signal recording is only possible for scalar variables or VTREGs of the type char, unsigned char, int, unsigned int, long, or unsigned long. Note
LA KILL * The LA KILL * command removes the recording of all variables from the Logic Analyzer. Example>LA Tone.y1 /* Start recording for y1 member of struct Tone */ >LA CC1_OUT /* Start recording for CC1_OUT which is a PWM output signal */ >LA AN0 /* Start recording for VTREG AN0 which represents a A/D input */ >LA ADC_DAT /* Start recording for ADC_DAT that represents the A/D output register */ >LA Signal /* Start recording for the variable Signal */ /* After execution of the user program ... */ >LA /* display statistics for the signal recording */ 1: ''Tone.y1' nRec=211 2: ''CC1_OUT' nRec=810 3: ''AN0' nRec=5644 4: ''ADC_DAT' nRec=400 5: ''Signal' nRec=0 >LA KILL * /* Remove all variables from signal recording */ | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.