CY3215-DK PSoC 1 In-Circuit Emulator Development Kit Guide, Doc. # 001-66514 Rev. *B
36
Code Examples
27.On successful connection, the status bar at the bottom of the PSoC Designer IDE shows the sta-
tus as 'Connected'.
Figure 4-15. ICE-Cube Connected
28.If there is an error, ensure that the Debugger settings in Project > Settings match the following
figure.
Figure 4-16. Debugger Settings
Note The pod may be powered by the ICE-Cube or through external power. If external power is
used, ensure that the power is on for the ICE to get connected.
29.Click on Debug > Execute Program or the keyboard shortcut F4. The project starts compiling; it
is downloaded to the pod and starts running.
4.1.3
Verify Output
Verify the output as follows:
1. Two LEDs connected to P2[0] and P2[1] start blinking.
2. Right-click on any line in the while(1) loop in the code and select Insert/Delete Breakpoint to
include a breakpoint at that point. The execution of the code stops at the point where breakpoint
is inserted. The line is highlighted in yellow when the code execution stops.
3. At this point, you may either continue running the code by selecting Debug > Run (keyboard
shortcut F5) or step through the code by selecting either Debug > Step Over (keyboard shortcut
F8) or Debug > Step Into (keyboard shortcut F11).
Note The Step Over command executes statement one by one and does not enter into the func-
tion calls whereas the Step Into command enters the function calls as well.
For more details on debugging, debug menu options, and debug strategies, see Help > Help Topics
> Debugger.
Содержание CY3215-DK
Страница 4: ...4 CY3215 DK PSoC 1 In Circuit Emulator Development Kit Guide Doc 001 66514 Rev B Contents...
Страница 8: ...7 CY3215 DK PSoC 1 In Circuit Emulator Development Kit Guide Doc 001 66514 Rev B Introduction...
Страница 28: ...27 CY3215 DK PSoC 1 In Circuit Emulator Development Kit Guide Doc 001 66514 Rev B Using ICE Cube Connector...
Страница 38: ...37 CY3215 DK PSoC 1 In Circuit Emulator Development Kit Guide Doc 001 66514 Rev B Code Examples...