Distributor of STMicroelectronics: Excellent Integrated System Limited
Datasheet of ST62GP-EMU2 - KIT EMULATOR FOR ST6 MCU SER
Contact us: [email protected] Website: www.integrated-circuit.com
ST62GP-EMU2 Emulator User Manual
4 - Tutorial
37/57
4.8
Using the tutorial with ST62 devices other than the ST6265
You can easily modify the tutorial program to target a device other than the
ST6265. You need only take into account the interrupt channel to which the timer is
connected. Any other I/O port can be used for outputting signals.
To do so, proceed as follows:
1
In the
tutorial.asm
file find the following line of code and modify the device
version to reflect the new target device:
.vers “ST6265” ; Optional
2
In the
tutorial.asm
file find the following line of code and modify the
romsize
parameter as appropriate:
.romsize 4 ; Optional
3
Change the hardware register definition file (
*.INI
) to that associated with the
device you want to target. These files can be found in the following directory:
D:\Program Files\Stm\ST6toolchain\soft\6x-emu2\inc_file.
4
If necessary, refer to the device datasheet in order to remap the microcontroller
device vector.
5
Refer to the device data sheet in order to check the ST6 memory mapping,
modify the
tutorial.asm
file as appropriate (
.org
and
block
instructions).
6
Select the appropriate device name in the debugger.
38 / 58
38 / 58