ST62GP-EMU2 STMicroelectronics, ST62GP-EMU2 Datasheet - Page 29

no-image

ST62GP-EMU2

Manufacturer Part Number
ST62GP-EMU2
Description
KIT EMULATOR FOR ST6 MCU SER
Manufacturer
STMicroelectronics
Series
ST6-EMU2r
Type
Microcontrollerr
Datasheet

Specifications of ST62GP-EMU2

Contents
Emulator, Set of Probes, Power Supply, Parallel Cable, and ST6-RIDE Software
For Use With/related Products
ST62x
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ST62GP-EMU2 Emulator User Manual
Note:
Note:
3
4
5
6
You can also type the names of the registers directly in the Watch window.
7
8
The highlighted instruction is the next one to be executed.
Scroll through the symbols to find DDRB, click it once to highlight it and then
click Add To Watch. This causes the Watch window (see
displays the contents of DDRB to pop up.
In the Watch window, click on DDRB and then Display, Base, Hexadecimal.
This changes the DDRB register (because it is highlighted) from decimal to
hexadecimal notation. Then click Display, Prefs and Hexa - this will make any
new register that is added to the Watch window be displayed in hexadecimal
format.
Make the Watch window smaller and move the Watch, Browser, tutorial.asm
and Control Bar windows to a location on the screen where they can all be
easily read.
In the Browser window, add the following registers to the Watch window in the
same way that you added DDRB: ORB, DRB, drbcopy, IOR, TSCR and TCR.
Close the Browser window.
In the Control Bar, click Commands, then Reset. This resets the
microcontroller and places the Program Counter at the Reset vector.
In the Control Bar, click Step. This executes only one instruction and since the
instruction at the Reset vector is jp reset, it will jump to where the label
reset is located. After the jp
DDRB,01h instruction will be highlighted.
Results: The Watch window shows the DRB value to be FFh in hexadecimal
as shown in
Figure 14
Figure 13: Watch window
. This is due to the Port B configuration: all the Port B I/
reset instruction is executed, the ldi
Figure 13
4 - Tutorial
) which
29/57

Related parts for ST62GP-EMU2