![Freescale Semiconductor CMB2103 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/freescale-semiconductor/cmb2103/cmb2103_user-manual_2330593033.webp)
MMCCMB2103UM/D
User’s Manual
33
Debugging Embedded Code
8.
To set a breakpoint at address 0x8080B0AA, enter this address as part of the Breakpoint (br)
command:
The Picobug prompt reappears, confirming that the system set the breakpoint:
9.
To see the list of breakpoints, enter the Breakpoint (br) command without any address value:
The system responds with the addresses of breakpoints, in this case only the breakpoint set
in step 8:
10.
To start program execution, enter the Go (g) command:
In this instance, the breakpoint set during step 8 stops code execution. The system responds
with this new display of register values:
11.
To remove all breakpoints, enter the No Breakpoint (nobr) command, without any address
value:
The Picobug prompt reappears, confirming that the system has removed the breakpoints:
12.
To see the list of breakpoints again, once more enter the Breakpoint (br) command without
any address value:
As there are no longer any breakpoints, the system responds with the Picobug prompt:
13.
To continue with this example session, enter another appropriate command. For example,
to resume program execution, enter the Go (g) command.
picobug>
br
0x8080b0aa
picobug>
picobug>
br
8080B0AA
picobug>
g
At breakpoint!!
pc 8080b0aa
epc 8080b0aa
fpc 00000000
psr 80000100
epsr 80000100
fpsr 00000000
ss0-ss4 bad0beef
80010000
00000000
00000000
00000000
vbr 80805c00
r0-r7 8080e460
00000000
80010000
00efff34
00000000
8080d458
8080d457
8080d460
r8-r15 8080e460
80010040
0000000f
00000000
00000000
00000000
00000000
8080b0aa
8080B0AA:
00CF
rts
picobug>
nobr
picobug>
picobug>
br
picobug>
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..