HS2339EPI61H-U Renesas Electronics America, HS2339EPI61H-U Datasheet - Page 241

no-image

HS2339EPI61H-U

Manufacturer Part Number
HS2339EPI61H-U
Description
EMULATOR BASE UNIT H8S/2339 FAM
Manufacturer
Renesas Electronics America
Type
Microcontrollerr
Datasheet

Specifications of HS2339EPI61H-U

Contents
E6000 Emulator and CD-ROM
For Use With/related Products
H8S/2339
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
5.11
This section describes how you can execute your program's code. You will learn how to do this by either running
your program continuously or stepping single or multiple instructions at a time.
5.11.1
To reset your user system and run your program from the reset vector address, choose [Debug->Reset Go], or
click the [Go Reset] toolbar button (
The program will run until it hits a breakpoint or a break condition is met. You can stop the program manually
by choosing [Debug->Halt], or by clicking the [Stop] toolbar button (
Note: The program will start running from whatever address is stored in the Reset Vector location. Therefore it
5.11.2
When your program is stopped, the HEW will display an yellow arrow mark in the gutter of the line in the editor
and [Disassembly] windows that correspond to the CPU's current program counter (PC) address value. This will
be the next instruction to be executed if you perform a step or continue running.
To continue running from the current PC address, click the [Go] toolbar button (
To continue running from a specified address which is not the stop address, change the PC value in one of the
following ways, and click the [Go] toolbar button (
5.11.3
Sometimes as you are going through your application you may want to run only a small section of code, that
would require many single steps to execute. You can do this using the Go To Cursor feature.
1. Make sure that a [Source] or [Disassembly] window is open showing the address at which you wish to stop.
2. Position the text cursor on the address at which you wish to stop by either clicking in the [Address] field or
3. Choose [Go To Cursor] from the popup menu.
The debugging platform will run your code from the current PC value until it reaches the address indicated by
the cursor's position.
Notes: 1. If your program never executes the code at this address, the program will not stop. If this happens,
How to use the Go To Cursor
Change the PC value in the [Register] window. Refer to section 5.4.3, Modifying Register Contents.
Place the text cursor (not the mouse cursor) to a target line in the [Source] or [Disassembly] window, and
choose [Set PC Here] from the popup menu.
using the cursor keys.
2. The Go To Cursor feature requires a PC breakpoint - if you have already used all those available, then
is important to make sure that this location contains the address of your startup code.
Executing Your Program
Running from Reset
Continuing Run
Running to the Cursor
code execution can be stopped by pressing the Esc key, choosing [Debug->Halt], or clicking on the
[Stop] toolbar button (
the feature will not work.
).
).
) or choose [Debug->Go].
).
), or choose [Debug->Go].
213

Related parts for HS2339EPI61H-U