Contents
1.
Introduction .................................................................................................................................................................... 5
2.
Sample Program ............................................................................................................................................................ 6
2.1
"Main.c" .................................................................................................................................................................. 6
2.2
2.2.1
Source Code ............................................................................................................................................. 7
2.3
3.
Debugging, First Steps ................................................................................................................................................. 9
3.1
Setup Hardware ..................................................................................................................................................... 9
3.2
Entering Debugger Mode ....................................................................................................................................... 9
3.2.1
Mixed Display ......................................................................................................................................... 10
3.3
Start Execution .................................................................................................................................................... 11
3.4
Stop Execution .................................................................................................................................................... 11
3.5
Reset MCU .......................................................................................................................................................... 11
4.
4.1
Setting Break Points ............................................................................................................................................ 12
4.2
Using a Break Point ............................................................................................................................................. 12
5.
Monitoring and Manipulating ...................................................................................................................................... 16
5.1
5.2
5.3
5.3.1
5.4
5.4.1
5.4.2
Realtime Memory .................................................................................................................................... 19
5.5
Symbol view ........................................................................................................................................................ 20
5.5.1
Icon Reference ....................................................................................................................................... 20
5.6
Local variables ..................................................................................................................................................... 21
6.
Trace ............................................................................................................................................................................. 22
6.1
Trace View ........................................................................................................................................................... 22
6.1.1
Instruction View ...................................................................................................................................... 22
6.1.2
Cycle View .............................................................................................................................................. 23
FR Family MB2198-01 Emulating and Debugging Installation Guide, Doc. No. 002-05223 Rev. *A
3