TOOLSTICK342DC Silicon Laboratories Inc, TOOLSTICK342DC Datasheet - Page 10

DAUGHTER CARD TOOLSTCK C8051F342

TOOLSTICK342DC

Manufacturer Part Number
TOOLSTICK342DC
Description
DAUGHTER CARD TOOLSTCK C8051F342
Manufacturer
Silicon Laboratories Inc
Series
ToolStickr
Type
MCUr
Datasheet

Specifications of TOOLSTICK342DC

Contents
Board, Cable
Processor To Be Evaluated
C8051F342
Interface Type
USB
Operating Supply Voltage
2.7 V to 3.6 V
Lead Free Status / RoHS Status
Lead free / RoHS non-compliant
For Use With/related Products
C8051F342
For Use With
336-1345 - TOOLSTICK BASE ADAPTER
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1482
To olSt ick-F 34 2DC
6.6. Setting and Running to Breakpoints
The Silicon Laboratories microcontroller devices support up to four hardware breakpoints. A breakpoint is
associated with a specific line of code. When the processor reaches a hardware breakpoint, the code execution
stops, and the IDE refreshes all debug and watch windows. The on-chip debug hardware allows for breakpoints to
be placed on any line of executable code, including code in Interrupt Service Routines. This section provides steps
to set a breakpoint on the line of source code that increments the Num_LED_Flashes variable.
1. If the device is running, stop execution using the "Stop" button or use the Debug→Stop menu option.
2. Scroll to the ADC0_ISR function and right-click on the variable "Num_LED_Flashes". In the context menu that
3. Click the "Go" button or select the Debug→Go menu option.
4. After a short time, the IDE will show that the device is halted. A blue line will be placed in the editor window to
5. Start and stop the processor a few more times. Notice that the LED blinks once for every time the processor is
10
appears, select "Insert/Remove Breakpoint." On the left side of the line in the editor window, a red circle is
added to indicate a breakpoint is placed on the source line.
indicate where the code execution has stopped.
started and the Num_LED_Flashes variable also increments by one.
Rev. 0.1

Related parts for TOOLSTICK342DC