Start Execution; Stop Execution; Reset Mcu - Fujitsu MB2147-01 Application Note

Emulator system
Table of Contents

Advertisement

000C01D6: 8B0D
000C01D8: 1A01
24:
000C01DA: CFF0
000C01DC: 9B0C0401
000C01E0: 16C0
25:
26:
27:
28:
000C01E2: 9B044E20
000C01E6: D7DB
29:
30:
000C01E8: 0A01
000C01EA: 8BD0
000C01EC: A410
000C01EE: 8B0D
000C01F0: 1A01
000C01F2: E0F7
31:
32: }
000C01F4: 9F90
000C01F6: 0781
000C01F8: 9720
3.3

Start Execution

To enter the run mode, click on
Now the program is being executed. If you are using a target system with LEDs on Port1, you will see the LEDs
flicker.
3.4

Stop Execution

To stop the MCU, click on
Now the system is halted, but it can be continued again by clicking on "Run continuously" or selecting "Go".
3.5

Reset MCU

To reset the MCU, clock on
FR Family MB2198-01 Emulating and Debugging Installation Guide, Doc. No. 002-05223 Rev. *A
MOV
DMOVB
DDR1=0xFF;
LDI:8
LDI:20
STB
while (1)
{
wait(20000);
LDI:20
CALL
PDR1++;
DMOVB
MOV
ADD
MOV
DMOVB
BRA
}
LEAVE
LD
RET
Stop execution
Reset MCU
R0,R13
R13,@001
#FF,R0
#00401,R12
R0,@R12
#04E20,R4
\wait
@001,R13
R13,R0
#1,R0
R0,R13
R13,@001
000C01E2
@R15+,RP
,select DebugRunGo, or press "F5".
Run continuously
or select DebugAbort.
or select DebugReset of MCU.
Debugging, First Steps
Continuation from previous page
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb2198-01

Table of Contents