Intel Computer Hardware I/O Processor Manuel d'utilisateur Page 63 : B.7.4 Using Breakpoints
Evaluation Platform Board Manual
63
Intel
®
IQ80332 I/O Processor
Getting Started and Debugger
B.7.3
Displaying Source Code
1. Launch the Code|Lab EDE Debugger and open the “Tester1LED” ELF program.
Note:
Use the File/Recent Programs menu for quick access.
2. Select the “Files” view in the lower tab of the WorkSpace window.
3. Bring up “blink.c” and “led.c” source code by double-clicking each filename.
4. Use the “Windows” Menu to arrange the windows, or maximize, minimize, and resize
manually as desired.
5. Press the “Mixed” tab at the bottom of the “blink.c” window. Notice that the assembly along
with each C statement.
6. Press the “Source” tab to revert back to C code only.
B.7.4
Using Breakpoints
Note the small gray circles on the sidebar beside each line of source code. Single-click any of these
gray circles and a red dot appears. The red dot represents a break point. Single-click the red dot to
remove it, or click the “Remove all breakpoints” icon.
Place a breakpoint on the following lines of code in “blink.c”:
displayLED(leds[8],leds[0]); /* LED display '80' */
displayLED(leds[0],leds[3]); /* LED display '03' */
displayLED(leds[3],leds[2]); /* LED Display '32' */
displayLED(leds[2],leds[1]); /* LED display '21' */
displayLED(leds[16],leds[16]); /* LED display ' ' */
1. Click the “Go” icon.
The yellow arrow stops at the first break point and the HEX display does not change.
2. Click the “Go” icon again.
The last instruction has now been executed and an “80” is displayed.
3. Continue on in this fashion, watching the lines execute only as they are called, while the
yellow arrow shows exactly what line is up next in execution.
4. Click the “Remove all breakpoints” icon.
5. Press “Go” again and notice that the program loop is infinite.
6. Press the “Halt” icon to stop execution.
7. Close the debugger and cycle power to the board.
Fichier PDF · ·
Questions sur Intel Computer Hardware I/O Processor
Pas encore de questions sur ce manuel. Posez la première.
Produits connexes et manuels pour Serveurs Intel Computer Hardware I/O Processor
- Serveurs Intel SR1520ML Manuel d'utilisateur


(156 pages) - Serveurs Intel SRPL8 Manuel d'utilisateur
(228 pages) - Serveurs Intel S845WD1-E Manuel d'utilisateur
(98 pages) - Serveurs Intel Server S3000PT Manuel d'utilisateur
(2 pages) - Serveurs Intel TIGH2U Manuel d'utilisateur
(20 pages) - Serveurs Intel Sx220 Manuel d'utilisateur
(150 pages) - Serveurs Intel SR2500AL Manuel d'utilisateur

(210 pages) - Serveurs Intel SR1680MV Manuel d'utilisateur

(196 pages) - Serveurs Intel S3000AH Manuel d'utilisateur
(22 pages) - Serveurs Intel SSR212PP Manuel d'utilisateur
(196 pages) - Serveurs Intel 320014-003US Manuel d'utilisateur
(10 pages) - Serveurs Intel SKA4 Manuel d'utilisateur
(136 pages) - Serveurs Intel Board SE7520BB2 Manuel d'utilisateur
(17 pages) - Serveurs Intel SR6850HW4 Manuel d'utilisateur
(119 pages) - Serveurs Intel R1208WT2GS Spécifications
(104 pages) - Serveurs Intel SDS2 Fiche technique
(6 pages) - Serveurs Intel SE7320SP2 Fiche technique
(6 pages) - Serveurs Intel R2224GZ4GC4 Spécifications
(32 pages)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68