Fujitsu MB2147-01 Application Note page 95

Emulator system
Table of Contents

Advertisement

Contents
1.
Introduction .................................................................................................................................................................... 5
2.
Sample Program ............................................................................................................................................................ 6
2.1
Start a new Project with Softune Workbench ......................................................................................................... 6
"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.
Breakpoints and Program Stepping ........................................................................................................................... 12
4.1
Setting Break Points ............................................................................................................................................ 12
4.2
Using a Break Point ............................................................................................................................................. 12
5.
Monitoring and Manipulating ...................................................................................................................................... 16
5.1
Monitoring and Manipulating Processor Status ................................................................................................... 16
5.2
Monitoring and Manipulating CPU Registers ....................................................................................................... 16
5.3
Monitoring and Manipulating C Variables ............................................................................................................ 17
5.3.1
Example of Manipulating Variables ......................................................................................................... 18
5.4
Monitoring and Manipulating Memory .................................................................................................................. 18
5.4.1
Example of Manipulating Memory ........................................................................................................... 19
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb2198-01

Table of Contents