English
Language : 

AN910 Datasheet, PDF (18/51 Pages) STMicroelectronics – ST7 AND ST9 PERFORMANCE BENCHMARKING
ST7 AND ST9 PERFORMANCE BENCHMARKING
5.4 ST9+ MCU TOOLS
Hardware tools
Software tools
ST90R192 chip
Circuit Real Time Emulation System ST9+ HDS2 (Hardware Development System 2)
The PLL clock has been used (see configuration in assembly codes)
The GNU C Toolchain (GCC9) for the ST9+ is used to assemble the code sources (in assembler
language). The command line with its options is:
gcc9 -v -g -c -o 'name'.o 'name'.st9
Then it is linked with the linker LD9:
ld9 -I -i -m -Tdata 0x10000300 -o 'name'.u 'name'.o
To debug the program, the Windows Debugger WGDB9xxx for ST9+ is used together with the
emulator. Here, the configuration file hardware.gdb is the following one:
clear_map
map 0x000000 32 sw
map 0x008000 16 sr
5.5 ST9 MCU TOOLS
Hardware tools
Software tools
ST90R50 chip
Circuit Real Time Emulation System ST9 HDS2 (Hardware Development System 2)
The GNU C Toolchain for ST9 is used. The options are the following ones:
gcc9 -v -g -c -o 'name'.o 'name'.st9
ld9 -I -i -m -Tdata 0x10000300 -o 'name'.u 'name'.o
The Windows Debugger WGDB9xxx is used with the configuration file hardware.gdb :
bankswitch off
pd_signal used
sdb sr ea 3<<2
sdb sr fc 08
sdb sr fd 08
sdb sr fe 00
# Mapping of memory
map p:0x0000 0x7FFF SR
map D:0x0000 0x7FFF SW
5.6 H8/300 MCU TOOLS
Hardware tools
Software tools
H8/330 chip
LEV8330 evaluation board
Default jumpers’ settings have been kept.
Note that the code was placed on external memory (the size of internal RAM is limited to 512
bytes). As the access to external memory is 3 times longer than the access to internal memory,
the measured execution time results have been corrected. For each test, a value, equals to
(200ns x number of bytes executed), has been subtracted (200ns for each byte of code).
Actually, only the instruction fetch was wrong, and it lasted 300ns instead of 100ns for each byte.
The Eurodesc H-series Interface Software (INTFC3) allows the user to communicate with the
Hitachi's Executive Monitor System (EMS) located on the development board. It uses a DOS
environment.
18/51