|
|||||||||||
Technical Support On-Line Manuals µVision3 User's Guide µVision3 Overview User Interface Creating Applications Utilities Debugging Using the Debugger CPU Simulation Start Debugging Application Program Execution Debug Windows and Dialogs Breakpoints Code Coverage CPU Registers Disassembly Window Logic Analyzer Setup Setup in Detail Restrictions Memory Window Memory Map Output Window - Command Debug Commands Variables and Registers Debug Functions Execution Profiler Performance Analyzer Serial Window Symbol Window Toolbox Watch Window Expressions Constants System Variables Peripheral Variables I/O Ports Serial Ports Program Variables (Symbols) Line Numbers Bit Addresses Type Specifications Operators Differences Between µVision3 and C Expression Examples Tips and Tricks Review Peripherals and CPU Configuration Simulate I/O Ports Simulate Interrupts and Clock Inputs Simulate external I/O Devices Assign Serial I/O to a PC COM Port Check Illegal Memory Accesses Command Input from File Preset I/O Ports or Memory Contents Write Debug Output to a File Keyboard Shortcuts Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
Setup in DetailUsing the Logic Analyzer requires that you configure the signals to be recorded. The following section provides detailed information and shows input examples to the dialog Debug — Setup Logic Analyzer. Analog SignalsThe Display Type Analog is typically used for A/D or D/A converter VTREGs, but is also very useful to display variables ("tone.y1", "AIN0", and "Signal" under Logic Analyzer are configured with Display Type Analog).
Input Examples with Display Type Analog: Variable "tone.y1", Min Value: -32000, Max Value: 32000 Variable "Signal", Min Value: 0, Max Value: 0x2E0, Mask: 0xFFF00, Shift Right: 8 Bit SignalsThe Display Type Bit reduces a value to false (= 0) or true (= 1) and is typically used for a single digital I/O pin but may be applied also to variables. ("CC1..." under Logic Analyzer is configured with Display Type Bit). For efficient entry the Setup dialog converts inputs in the format Identifier.Bitpos to the Display Type bit with corresponding Mask and Shift Right value.
Input Examples with Display Type Bit: Variable "PORT0.2" Variable "PORT2", Mask: 0x10, Shift Right: 4 (Note input is identical to PORT2.4) Variable "flag", Mask: 0xFF, Shift Right: 0 State Diagrams The Display Type State shows the signal transitions shows value changes and is typical used to show BUS signals ("ADC..." under Logic Analyzer is configured with Display Type State).
Input Examples with Display Type Bit: Variable "DTMF_Input", Mask: 0xF0, Shift Right: 4 Variable "Keys", Mask: 0xFF, Shift Right: 0 Note
| ||||||||||
|
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.