User`s guide

AN0821
24 Rev. 0.1
Once an MCU project builds, start a debug session. If a single USB Debug Adapter or ToolStick Debug Adapter is
available, the IDE will automatically download the code to the MCU. If more than one debug adapter is available,
the IDE will prompt the user to select a debugger. The Silicon Labs 8051 products support non-intrusive, on-chip
debug that provides hardware breakpoints, single stepping, and register/memory view.
1. Start a new debug session:
a. Select F85x_PWM_LED from the Project Explorer.
b. Click the Debug button. The IDE will automatically switch to the Debug perspective. This perspective
can be used to set breakpoints, run/halt the CPU, single step, view/modify register values, and display
the disassembly viewer.
c. The Debug view in the top-left corner displays any active debug sessions. A debug adapter can only
support a single debug session at a time. An active debug session must be disconnected before code
can be recompiled and a new debug session started.
2. Press the Resume button in the IDE. This will start the code running, and rotating the potentiometer will
brighten and dim the P1.0 LED.
1a
1c
1b