STMicroelectronics ST40 Micro Toolset GDB command scripts User Manual
विज्ञापन
विज्ञापन
UM1250
User manual
ST40 Micro Toolset GDB command scripts
Note:
Introduction
There are two methods to connect and configure a target through an ST Micro Connect
(a)
.
●
ST TargetPacks – the recommended method for configuring a target connected to an
STMC1, STMC2 or STMCLite.
● GDB command scripts – for configuring targets connected to an STMC1 or STMCLite.
GDB command scripts are also the only method for connecting and configuring simulated targets.
This document provides information for users who wish to use GDB commands to configure a target. It also provides information about the GDB commands for connecting to targets with ST TargetPacks.
●
●
●
The STMC software and ST TargetPacks, together known as the ST Micro Connection
Package, are available as a separate release to the ST40 Micro Toolset and are described in:
ST Micro Connect 2 datasheet (7912386)
ST TargetPack user manual (8020851)
Developing with an ST Micro Connect and ST TargetPacks application note (8174498)
Chapter 1: Target configuration
provides general information on using GDB command
scripts for connecting to and configuring a target.
provides reference information on the GDB commands supplied by the ST40 Micro Toolset.
provides information concerning the JTAG interface.
For backwards compatibility, a target connected to an STMC2 may still be configured using a GDB command script. The command script must, however, be modified to make the
for more information.
a.
The original ST Micro Connect product was named the ST Micro Connect. With the introduction of ST Micro
Connect 2 and the ST Micro Connect Lite, the original product is now known as ST Micro Connect 1 and the generic term ST Micro Connect refers to the family of ST Micro Connect devices. In some instances, the names are abbreviated to STMC, STMC1, STMC2 and STMCLite.
November 2012 8045872 Rev 9 1/87
www.st.com
Contents
Contents
UM1250
ST Micro Connection Package documentation suite . . . . . . . . . . . . . . . . . . . . . . . 7
Target connection overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Connection commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Commands to connect to a target through an STMC . . . . . . . . . . . . . . 14
Commands to connect to a simulated target . . . . . . . . . . . . . . . . . . . . . 20
Target configuration commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Global target configuration variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Commands to connect to a target using an ST TargetPack . . . . . . . . . . . 24
STMC2 target configuration using GDB command scripts . . . . . . . . . . . . 26
Connecting to a running target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Migrating from ST Micro Connect 1 to ST Micro Connect 2 . . . . . . . . . . . 28
GDB command files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2/87 8045872 Rev 9
UM1250 Contents
8045872 Rev 9 3/87
Contents UM1250
4/87 8045872 Rev 9
UM1250 Contents
sh4targets.cmd, sh4targets-board.cmd . . . . . . . . . . . . . . . . . . . . . . . . . . 67
sh4targets-attach-debug.cmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
sh4commands.cmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
sh4targets-targetpack.cmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Using the jtag command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
8045872 Rev 9 5/87
Preface
Preface
UM1250
Comments on this manual should be made by contacting your local STMicroelectronics sales office or distributor.
Document identification and control
Each book carries a unique identifier of the form:
nnnnnnn Rev x where nnnnnnn is the document number, and x is the revision.
Whenever making comments on this document, quote the complete identification
nnnnnnn Rev x.
License information
The ST40 Micro Toolset is based on a number of open source packages. Details of the licenses that cover all these packages can be found on the CD in the file license.htm.
This file is located in the doc subdirectory and can be accessed from index.htm.
ST40 documentation suite
The ST40 documentation suite comprises the following volumes:
ST40 Micro Toolset user manual (7379953)
This manual describes the ST40 Micro Toolset and provides an introduction to OS21. It covers the various code and cross development tools that are provided in the ST40 Micro
Toolset, how to boot OS21 applications from ROM and how to port applications which use
STMicroelectronics OS20 operating systems. Information is also given on how to build the open source packages that provide the compiler tools, base run-time libraries and debug tools and how to set up an ST Micro Connect.
SH-4 generic and C specific ABI (7839242)
The SH-4 application binary interface (ABI) defines a system interface for application programs on SH-4 systems using the ELF executable and linking file format.
OS21 user manual (7358306)
This manual describes the generic use of OS21 across the supported platforms. It describes all the core features of OS21 and their use and details the OS21 function definitions. It also explains how OS21 differs from OS20, the API targeted at ST20 platforms.
OS21 for ST40 user manual (7358673)
This manual describes the use of OS21 on ST40 platforms. It describes how specific ST40 facilities are exploited by the OS21 API. It also describes the OS21 board support packages for ST40 platforms.
6/87 8045872 Rev 9
UM1250 Preface
ST40 Micro Toolset GDB command scripts (8045872)
This document describes using GDB command scripts to configure an ST Micro Connect 1
(STMC1) or a ST Micro Connect Lite (STMCLite) to connect to a target board for loading and debugging programs through sh4gdb or sh4xrun.
32-Bit RISC series, ST40 Core architecture manual (7182230)
This manual describes the architecture and instruction set of the ST40 core as used by
STMicroelectronics.
ST40 core support peripherals manual (7988763)
This manual describes the ST40 core support peripheral (CSP) package that give the optional peripherals for use in ST40-based System On Chips (SoCs).
ST Micro Connection Package documentation suite
The following documents are not distributed with the ST40 Micro Toolset, but can be obtained from your ST FAE or ST support center.
ST TargetPack user manual (8020851)
This manual describes the ST TargetPack, which is a method of describing target systems based upon ST system-on-chip devices.
Developing with an ST Micro Connect and ST TargetPacks application note
(8174498)
This application note describes various aspects of using an ST Micro Connect host-target interface for system development.
Conventions used in this guide
General notation
●
●
●
●
●
The notation in this document uses the following conventions: sample code
, keyboard input and file names
variables, code variables and code comments equations
and math
screens, windows, dialog boxes and tool names
instructions
Hardware notation
The following conventions are used for hardware notation:
●
●
REGISTER NAMES and FIELD NAMES
PIN NAMES and SIGNAL NAMES
8045872 Rev 9 7/87
Preface UM1250
Software notation
●
●
●
Syntax definitions are presented in a modified Backus-Naur Form (BNF) unless otherwise specified.
● Terminal strings of the language, that is those not built up by rules of the language, are printed in teletype font. For example, void.
●
●
Non-terminal strings of the language, that is those built up by rules of the language, are printed in italic teletype font. For example, name.
If a non-terminal string of the language is prefixed with a non-italicized part, it is equivalent to the same non-terminal string without that non-italicized part. For example, vspace-name
.
●
Each phrase definition is built up using a double colon and an equals sign to separate the two sides (‘::=’).
Alternatives are separated by vertical bars (‘|’).
Optional sequences are enclosed in square brackets (‘[’ and ‘]’).
Items which may be repeated appear in braces (‘{’ and ‘}’).
Terminology
The original ST Micro Connect product was named the “ST Micro Connect”. With the introduction of the ST Micro Connect 2 and ST Micro Connect Lite, the original product is now known as the “ST Micro Connect 1” and the term “ST Micro Connect” refers to the family of ST Micro Connect devices. These names can be abbreviated to “STMC”, “STMC1”,
“STMC2” and “STMCLite”.
Acknowledgements
SuperH
®
is a registered trademark for products originally developed by Hitachi, Ltd. and is owned by Renesas Technology Corp.
Microsoft
®
, MS-DOS
®
and Windows
®
are registered trademarks of Microsoft Corporation in the United States and other countries.
8/87 8045872 Rev 9
UM1250 Target configuration
Note:
Note:
The GDB command scripts define user commands for connecting to ST40 targets that are either simulated or attached to an ST Micro Connect 1 (STMC1) or an ST Micro Connect
Lite (STMCLite), referred to collectively as ST Micro Connect (STMC). These files are located in the release installation subdirectory sh-superh-elf/stdcmd.
The ST40 Micro Toolset has been validated using the supplied versions of the GDB command script files. As only the latest silicon revision is supported and new developments are continually being made, please contact an ST Field Applications Engineer (FAE) to obtain the latest versions.
This document does not attempt to list all the user commands for all the targets. Instead, the command name format is described so the user can derive the specific name for their target.
Refer to the GDB command script files for further information on the commands. Additional information can be provided using the GDB help command, for example help mb448 displays the help for the mb448 command.
●
●
●
A GDB command script typically:
● performs JTAG operations that set-up communication between the host and a specific core creates GDB convenience variables for the addresses of memory mapped registers configures the clock and system peripherals configures the memory interfaces
The name of the GDB connection command is passed as a parameter to the tool that is used to load the program (sh4gdb, sh4xrun, sh4insight, STWorkbench). For example: sh4xrun -t stmc -c mb448bypass -e a.out
The GDB connection command is mb448bypass and is defined in the GDB command script file sh4targets-mb448.cmd. The bypass variant is used to configure the TAPmux settings for direct access to the ST40 core (as the STB7109E-Ref board (MB448) is a
STb7109 target that supports multicore debug). The name of the STMC in this example is stmc
.
The equivalent connection command using an ST TargetPack: sh4xrun -t stmc:mb448:st40 -e a.out
The -c sh4tp option is not required in this connection command as the -t option specified with a valid target definition implies -c sh4tp by default. See ST40 Micro Toolset user
manual (7379953) for more information.
The target connection command must be compatible with the target specified by the GCC
-mboard
option used when linking the program.
8045872 Rev 9 9/87
Target configuration UM1250
Note:
For each supported target the ST40 Micro Toolset supplies a GDB command script file of the form: sh4targets-board.cmd
where board is the target name, for example, sh4targets-mb448.cmd for an
STb7109E-Ref board.
Each sh4targets-board.cmd GDB command script file defines connection commands derived from the name board with suffixes that reflect the function of the command.
The commands for connecting to a target through an STMC have the following format:
board [ se-mode ] [ tmx-mode ] [ endian ] and take the following arguments:
$arg0 specifies the name (or IP address) of the STMC (see
Section 1.3.1: Commands to connect to a target through an STMC on page 14
)
$arg1
(optional) specifies configuration commands for the STMC (see
STMC configuration commands on page 15
The commands for connecting to a simulated target have the following format:
board [ sim-mode ] [ se-mode ] [ endian ] and take the following argument:
$arg0
(optional) specifies configuration commands for the simulator (see
Simulator configuration commands on page 21
)
lists the STMC and simulator connection command variants.
Some command suffix variants that are valid for connecting to a silicon target are not valid
for use on a simulator.
Table 1.
GDB command suffixes
Suffix Description Value
GCC -mboard variant
Valid for simulator
se-mode
Space enhancement mode (32-bit physical addressing). P1 and P2 memory regions are combined.
Default: with no
se-mode
suffix, physical addresses are 29-bit with P1 region cached,
P2 uncached.
se seuc se29
All external RAM is cached.
All external RAM is uncached.
29 bit compatibility mode; external
RAM is mapped cached in P1 and uncached in P2.
se se29p1 se29p2
✔
10/87 8045872 Rev 9
UM1250
Note:
Target configuration
Table 1.
GDB command suffixes (continued)
Suffix Description Value
GCC -mboard variant
Valid for simulator
tmx-mode endian sim-mode
ST MultiCore/MUX device mode.
Configure the STMC1 for a connection to the ST40
CPU using an
ST MultiCore/MUX device.
This enables simultaneous access to the ST40 and other cores on the SoC for multicore debug.
stmmx bypass
Big or little endian mode.
Default: little endian.
le
(1) be
Simulator target.
Default: with no
sim-mode
suffix connect to a silicon target.
sim psim
Connect to the
ST40 on a multicore SoC through an
ST MultiCore/MUX device connected to the STMC1.
Connect to the
ST40 on a multicore SoC without using an
ST MultiCore/MUX device.
Little endian.
Big endian.
Functional simulator.
Performance simulator.
N/A
N/A
N/A sim
✖
✖
✔
✔
1.
The le suffix is optional and is only present for those targets that may be used in both big and little endian modes.
GDB commands that are used with the ST MultiCore/MUX (that is, those with an stmmx suffix) are supported only by the STMC1.
As an example, the connection commands in sh4targets-mb448.cmd are listed in
. The STb7109 on this board is little endian only and so no connection commands
with endian suffixes are defined.
Table 2.
Command
mb448
(1) mb448se
(1) mb448seuc
(1) mb448se29
(1)
Commands in sh4targets-mb448.cmd
Description
Default
Space enhanced, P1 and P2 cached.
Space enhanced, P1 and P2 uncached.
Space enhanced, P1 cached and P2 uncached.
mb448bypass mb448sebypass mb448seucbypass mb448se29bypass mb448stmmx
(2)
ST40 in the multicore SoC.
Space enhanced, P1 and P2 cached.
ST40 in the multicore SoC.
Space enhanced, P1 and P2 uncached.
ST40 in the multicore SoC.
Space enhanced, P1 cached and P2 uncached.
ST40 in the multicore SoC.
ST40 in the multicore SoC through an ST MultiCore/MUX.
8045872 Rev 9 11/87
Target configuration
Table 2.
Command
Commands in sh4targets-mb448.cmd (continued)
Description
mb448sestmmx
mb448seucstmmx mb448se29stmmx
Space enhanced, P1 and P2 cached.
ST40 in the multicore SoC through an ST MultiCore/MUX.
Space enhanced, P1 and P2 uncached.
ST40 in the multicore SoC through an ST MultiCore/MUX.
Space enhanced, P1 cached and P2 uncached.
ST40 in the multicore SoC through an ST MultiCore/MUX.
mb448sim mb448simse mb448simseuc mb448simse29
Functional simulator connections.
mb448psim mb448psimse mb448psimseuc mb448psimse29
Performance simulator connections.
1.
Not used. Must connect using tmx-mode variants.
2.
Only supported by the STMC1.
UM1250
12/87
lists the supported primary targets that use GDB command scripts for configuration.
In the future, targets are expected to be configured using ST TargetPacks instead of GDB command scripts.
Table 3.
Primary targets
Prefix
sh4 st40300 adi7105 adi7108 b2000stih415 cab5197 eud7141 fldb_gpd201 fli7610hdk fudb_gpd201 hdk5189
Board
Generic SH-4 target
Generic ST40-300 target
STi7105-ADI board
STi7108-ADI board
(2)
STiH415-HVK board
STi5197-CAB board
STi7141-EUD board
FLi7510 development board
FLi7610-HDK board
FLi7540 development board
STi5189-HDK board
✔
✔
✔
✔
✔
✔
✖
✖
✔
✔
✔
se-mode variants tmx-mode variants simulator support only
(1)
✖
✖
✖
✖
✖
✖
✖
✖
✖
✖
✖
✔
✔
✔
✔
✔
✔
✖
✖
✔
✔
✔
8045872 Rev 9
UM1250 Target configuration
Table 3.
Primary targets (continued)
Prefix Board se-mode variants tmx-mode variants simulator support only
(1)
hdk5289sti5206 hdk5289sti5289 hdk7105 hdk7106 hdk7108 hdk7111 mb411stb7100 mb411stb7109 mb427 mb442stb7100 mb442stb7109 mb448 mb519 mb521 mb548 mb602 mb618 mb625 mb628 mb671 mb676sti5189 mb676sti5197 mb680sti7105 mb680sti7106 mb704 mb796sti5206 mb796sti5289 mb837 sat5189 sat7111
STi5206-HDK board
STi5289-HDK board
STi7105-HDK board
STi7106-HDK board
STi7111-HDK board
STi5189-SAT board
STi7111-SAT board
STb7100-MBoard Validation Platform
STb7109-Ref Reference Platform
ST40-300 FPGA STEMU2-PCI Board
STb7100-Ref Reference Platform
STb7109-Ref Reference Platform
STb7109E-Ref Reference Platform
STi7200-MBoard Validation Platform
STV0498-MBoard Validation Platform
DTV150-DB Development Platforms
STi5202-MBoard Validation Platform
STi7111-MBoard Validation Platform
STV0498-Ref Reference Platform
STi7141-MBoard Validation Platform
STi7200-MBoard Validation Platform
STi5189/97-MBoard Validation Platform
STi5189/97-MBoard Validation Platform
STi7105-MBoard Validation Platform
STi7106-MBoard Validation Platform
STi5197-MBoard Validation Platform
STi5206-MBoard Validation Platform
STi5289-MBoard Validation Platform
STi7108-MBoard Validation Platform
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✖
✔
✔
✔
✖
✖
✔
✔
✖
✔
✔
✔
✔
✖
✔
✔
✔
✔
✔
✖
✖
✖
✖
✖
✖
✖
✖
✖
✖
✖
✔
✖
✔
✖
✔
✖
✔
✔
✔
✔
✔
✖
✖
✔
✖
✖
✖
✖
✖
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✖
✔
✖
✔
✖
✖
✖
✖
✖
✖
✖
✖
✔
✖
✔
✔
✔
✔
✔
1.
For targets with “simulator support only”, GDB scripts are not provided for connecting to silicon targets. An
ST TargetPack must be used instead.
2.
These targets only provide se-mode variants.
8045872 Rev 9 13/87
Target configuration
Note:
UM1250
All targets support both Ethernet and USB connections. Only the sh4 and st40300 commands have both big and little endian variants (default is little if no endian suffix is specified).
lists the legacy targets supported by the ST40 Micro Toolset with GDB command
scripts.
Table 4.
Prefix
db457 espresso mb293 mb317 mb360 mb374 mb376 mb379 mb388 mb392 mb422 mediaref
Legacy targets
Board
ST40RA Overdrive Board
STi5528 Espresso Reference Platform
ST40RA Software Development Boards (MB293 and MB350)
ST40GX1 Evaluation Board
ST40RA Evaluation Board
ST40RA-Starter Board
STi5528-MBoard Validation Platform
STm8000-Demo Development Platform
ST40-300 FPGA ST230EMU-PCI Board
ST220 Evaluation Board
DTV100-DB Development Platform
ST40GX1+ST5512 MediaRef Platform
1.3.1
There are four standard types of connection supported.
●
Connect to and configure a target using GDB command scripts through an STMC (see
Section 1.3.1: Commands to connect to a target through an STMC
● Connect to and configure a target using an ST TargetPack through an STMC. See
ST40 Micro Toolset user manual (7379953).
●
●
Connect to a running target through an STMC. See ST40 Micro Toolset user manual
(7379953).
Connect to and configure a simulated target (see
Section 1.3.2: Commands to connect to a simulated target on page 20
Commands to connect to a target through an STMC
Targets that are attached to an STMC can use target-specific GDB connection commands.
To configure the target, a connect command is invoked that takes the GDB command script as a parameter (see
Section 1.1: Target connection overview on page 10
connect
command is: connect arch-type endian
The endian suffixes are the same as in
Table 1: GDB command suffixes on page 10
(except that in this case they are not optional) and there is an additional suffix, arch-type, which is described in
14/87 8045872 Rev 9
UM1250
Note:
Target configuration
Table 5.
Suffix
arch-type
GDB connect command suffixes
Description Value
Architecture type of the ST40 CPU.
Required by GDB to support SH-4 variations, such as instruction set.
st40300
ST40-300 core.
sh4
All other SH-4 cores.
lists the connect user commands defined by the GDB command script file
sh4connect.cmd
for connecting to a target attached to an STMC.
Table 6.
Command
STMC connect commands
Description
connectsh4le connectsh4be connectst40300le connectst40300be
Connect to generic SH-4 little endian target through an STMC.
Connect to generic SH-4 big endian target through an STMC.
As above but for a target with an ST40-300 core.
The connect commands listed in
$arg0 specifies the name (or IP address) of the STMC
$arg1 specifies the command to be invoked after connecting to the STMC in order to configure the target
$arg2 specifies the configuration commands for the STMC (see
)
The se-mode suffix of a target connection command (see
configuration command for $arg1 and the tmx-mode suffix of a target connection command determines the parameters for $arg2.
The configuration commands for configuring any STMC are listed in
Table 7.
Common STMC configuration commands
Command Description
breaktype=pin|udi
-inicommand
command[,arg]
Set breaktype to pin to use the #ASEBRK pin to interrupt a running target, or set breaktype to udi to use the UDI to interrupt the target.
The default is udi.
(1)
Execute the GDB command command to initialize the target (see
Appendix A: JTAG control on page 73
) before connecting to the ST40.
command
may take optional arguments by appending them to the command name using a comma as a separator without spaces.
Note that command is normally a user defined GDB command.
8045872 Rev 9 15/87
Target configuration UM1250
Table 7.
Common STMC configuration commands (continued)
Command Description
debuginterrupt=pulse
|wait
Causes the STMC to write the UDI-Interrupt command into the UDI
SDIR register and raises the SH-4 INTC UDI interrupt. This command accepts one of the following modes:
– pulse instructs the STMC to raise the interrupt but does not check if the ST40 has cleared it. This mode is supported by GDB only when the target is stopped.
– wait instructs the STMC to raise the interrupt and then wait for the
ST40 to clear the interrupt. This mode requires the target to be running, and is intended for ST internal use only.
endian=big|little
Specify the endian of the target. The default is little.
jtaginitialise=on|off
Enable or disable the initialization of the target JTAG interface. If disabled the STMC does not perform an automatic reset of the target
JTAG state machine. Also, the STMC does not assume a default pinout style or link speed. These must bet set explicitly using the jtagpinout
and linkspeed configuration commands.
The default is on.
linkspeed=speed linktimeout=
time[units]
Set the debug link speed to speed.
This is the same as the linkspeed user command.
(2)
Set the debug link timeout period to time seconds or time milliseconds. If units is ms then time is in milliseconds. If units is omitted or is s then time is in seconds. The default is 1 second.
This is the same as the linktimeout user command.
(2) l2cache=address
Base address for the level 2 cache configuration registers. Setting this configuration command enables L2 cache coherency by the STMC.
The default is 0 (L2 cache coherency is disabled).
msglevel=none|warning
|info|debug|all
Set the reporting level of diagnostic messages displayed by the STMC on its console (which on the STMC1 are sent to its console and on the
STMC2 are sent to its log files)
(3)
. The default is none.
This is the same as the stmcmsglevel user command.
(2) ondisconnect=none
|reset|restart resetdelay=
time[units]
Set the action to perform on disconnecting from the target. The default is none.
– none does nothing when disconnecting.
– reset resets the target before disconnecting. This is not compatible with the STMC2.
– restart restarts the target from where it was last stopped.
This is the same as the ondisconnect user command.
(2)
Set the delay, in time seconds or time milliseconds, used when performing a softreset or hardreset of the target. The delay is performed during each transition of the reset sequence and should be set to the longest delay required. If units is omitted or is ms then
time
is in milliseconds. If units is s then time is in seconds. The default is 20 milliseconds.
16/87 8045872 Rev 9
UM1250 Target configuration
Table 7.
Common STMC configuration commands (continued)
Command Description
resettype=soft|hard
|jtag|break|none softreset hardreset jtagreset on|off breakreset tdotimingchange= useaccesssize=size
Set the reset type when connecting to the target.
– soft performs a UDI reset. This is the same as the softreset configuration command.
– hard performs a board level reset. This is the same as the hardreset
configuration command.
– jtag does not perform a reset of the target; instead reset should be performed explicitly using a jtag command sequence (see
Appendix A: JTAG control on page 73
) through a target initialization command (see -inicommand configuration command). This is the same as the jtagreset configuration command.
– break attaches to a running target without performing a reset and therefore leaves the target state intact. This is the same as the breakreset
configuration command. This configuration command should be used in conjunction with the ondisconnect=restart configuration command to ensure that the target is restarted on disconnecting and so allowing the target to be re-attached to in the future.
– none allows connections to previously connected targets that were disconnected with the ondisconnect=none configuration command set (which leaves the ST40 in debug mode).
The default is soft.
If set to on, change the TCK clock edge on which the UDI TDO signal is activated from the TCK negative edge to the TCK positive edge.
Default is off.
Specify whether the access size is checked when matching watchpoints.
This is the same as the use-watchpoint-access-size user command.
(2)
1.
The STMC2 currently does not support breaktype=pin. Also, the combination of an STMC1 with an ST
MultiCore/MUX is incapable of supporting breaktype=pin as the #ASEBRK signal is managed indirectly by the ST Microcore/Mux through its JTAG interface, which is not supported by the STMC1 software.
2.
See
Section 2.80: sh4commands.cmd on page 70
3.
The STMC1 console is accessed by connecting to the STMC1 over Telnet or by serial line and the log files of the STMC2 are accessed using the stmcconfig tool of the ST Micro Connection Package (see
for information about the ST Micro Connection Package).
8045872 Rev 9 17/87
Target configuration
Note:
UM1250
The configuration commands that only apply to the STMC2 when it is connected to an ST40
.
Table 8.
Configuration commands for STMC2 when connected using JTAG
Command Description
udisync=mode udisyncdelay=delay udisynclimit=limit
Where mode is one of the following:
– autopoll: use hardware acceleration to check the handshake status automatically after every 32-bit transfer until it signals ready or the limit specified by udisynclimit is reached. This is the default if supported by the ST Micro Connection Package.
– poll: check the handshake status after every 32-bit transfer and poll until it signals ready or a timeout occurs. This is the default if autopoll
is not supported by the ST Micro Connection Package.
– nopoll: read the handshake status after every 32-bit transfer but only check if it signalled ready after the transfer of the entire payload (up to 16KB).
(1)
– nopollnocheck: similar to nopoll, except that the handshake status is ignored. This mode provides the best transfer rates but can only be used if reliability is assured.
Where delay specifies the number of TCK clock ticks to delay before reading the handshake status. delay can be any value between 0 and 59
(2)
TCK clock ticks. Use this option to tune the transfer rates, or improve reliability of the udisync modes, or both. The default is 0.
When using hardware acceleration (udisync=autopoll), set a limit to the number of times the handshake is checked automatically before reporting an error. limit can be any value between 0 and 256 where a limit of 0 specifies the maximum. The default is 0.
1.
This mode is potentially unreliable if the CPU or peripheral bus frequency is not fast enough. If this is the case, then use udisync=poll until udisync=nopoll can safely be used. Alternatively, the udisyncdelay=delay
configuration command can be used to improve reliability.
2.
If using R1.6.0 or earlier of the ST Micro Connection Package, then the maximum delay is 27 TCK clock cycles.
The configuration commands listed in Table 8
are not available when connected to an ST40 through a TapMux.
18/87 8045872 Rev 9
UM1250 Target configuration
The configuration commands that apply only to the STMC1 are listed in
.
Table 9.
STMC1 configuration commands
Command Description
jtagclk=internal
|external jtagpinout=default
|hitachi
|st40
|stmmx
|STMC_Type_A
|STMC_Type_B tdidelay=delay
Set the reference clock source for the JTAG TCK signal. The default is internal
.
Set the style of pinout from the STMC1 to the target board JTAG connector.
(1)
Note: default and hitachi are synonyms for STMC_Type_B. st40
is a synonym for STMC_Type_A.
– The STMC_Type_B pinout style is used by legacy ST40 targets
(such as ST40RA, ST40GX1, STi5528 and STm8000 boards).
– STMC_Type_A is the standard ST Microelectronics pinout style for current ST40 targets.
– stmmx is the pinout style used for connections to the ST
MultiCore/MUX device.
The default is default.
Set the delay in TCK clock cycles for the JTAG TDI signal (STMC1 perspective). The default is 0.
1.
The jtagpinout configuration command, if specified, is ignored by the STMCLite. This is because the pinout style of the STMCLite is fixed.
The configuration commands that apply only to the STMCLite are listed in
Table 10.
STMCLite configuration commands
Command Description
deviceid=name udisync=mode udisyncdelay=delay
name
is the USB identifier for the STMCLite. For convenience, any spaces in the name can be replaced by underscores (_) or hyphens
(-).
Where mode is one of the following:
– poll: check the handshake status after every 32 bit transfer and poll until it signals ready or a timeout occurs. This is the default.
– nopoll: read the handshake status after every 32 bit transfer but only check if it signalled ready after the transfer of the entire payload (up to 64KB).
(1)
– nopollnocheck: similar to nopoll, except that the handshake status is ignored. This mode provides the best transfer rates but can only be used if reliability is assured.
Where delay specifies the number of TCK clock ticks to delay before reading the handshake status. delay can be any value between 0 and 256 K TCK clock ticks. Use this option to tune the transfer rates, or improve reliability of the udisync modes, or both. The default is 0.
1.
This mode is potentially unreliable if the CPU or peripheral bus frequency is not fast enough. If this is the case, then use udisync=poll until udisync=nopoll can safely be used. Alternatively, the udisyncdelay=delay
configuration command can be used to improve reliability.
The configuration commands in tables
must be specified as a string (that is,
enclosed within double quotes if they contain spaces) and may be combined using a space to separate each command (see the examples in
).
8045872 Rev 9 19/87
Target configuration
1.3.2
UM1250
As an example, the STMC connection commands for the STb7109E-Ref board are listed in
.
Table 11.
STb7109E-Ref board STMC connection commands
Command Definition
mb448
(1) mb448bypass mb448stmmx mb448se
(1) mb448sebypass mb448sestmmx mb448seuc
(1) connectsh4le $arg0 mb448_setup
"jtagpinout=st40 hardreset" mb448 $arg0 "jtagpinout=st40 jtagreset
-inicommand mb448bypass_setup" mb448 $arg0 "jtagpinout=stmmx jtagreset tdidelay=1
-inicommand mb448stmmx_setup" connectsh4le $arg0 mb448se_setup
"jtagpinout=st40 hardreset" mb448se $arg0 "jtagpinout=st40 jtagreset
-inicommand mb448bypass_setup" mb448se $arg0 "jtagpinout=stmmx jtagreset tdidelay=1
-inicommand mb448stmmx_setup" connectsh4le $arg0 mb448seuc_setup
"jtagpinout=st40 hardreset" mb448seuc $arg0 "jtagpinout=st40 jtagreset
-inicommand mb448bypass_setup" mb448seucbypass mb448seucstmmx mb448se29
(1) mb448seuc $arg0 "jtagpinout=stmmx jtagreset tdidelay=1
-inicommand mb448stmmx_setup" connectsh4le $arg0 mb448se29_setup
"jtagpinout=st40 hardreset" mb448se29bypass mb448se29stmmx mb448se29 $arg0 "jtagpinout=st40 jtagreset
-inicommand mb448bypass_setup" mb448se29 $arg0 "jtagpinout=stmmx jtagreset tdidelay=1
-inicommand mb448stmmx_setup"
1.
Not used. Must connect using tmx-mode variants.
Commands to connect to a simulated target
Simulated targets use target-specific GDB connection commands. To configure a simulated target, a connect command is invoked that takes two GDB command scripts as parameters.
These scripts configure the simulator and simulated target (see
Section 1.1: Target connection overview on page 10
).The format of the connect command is:
connect arch-type sim-mode endian
Where, the suffixes are the same as in
Table 1: GDB command suffixes on page 10
that the endian suffix is not optional.
20/87 8045872 Rev 9
UM1250 Target configuration
lists the connect user commands defined by the GDB command script file sh4connect.cmd
for connecting to simulated targets.
Table 12.
Simulator connect commands
Command Description
connectsh4simle connectsh4psimle connectsh4simbe connectsh4psimbe
Connect to an ST40 functional simulator (little endian).
Connect to an ST40 performance simulator (little endian, cycle accurate).
Connect to an ST40 functional simulator (big endian).
Connect to an ST40 performance simulator (big endian, cycle accurate).
connectst40300simle connectst40300simbe connectst40300psimle
As above but for a simulated target with an ST40-300 core.
connectst40300psimbe
The connect commands listed in
Table 12: Simulator connect commands
arguments:
$arg0 specifies the command to configure the SuperH simulator
$arg1
$arg2 specifies the command to configure the simulated target
specifies the configuration commands for the SuperH simulator (see
lists the SuperH simulator configuration commands. Only one configuration command can be specified and must be specified as a string (that is, enclosed within double quotes).
Table 13.
Simulator configuration commands
Command Description
+DMM
delay
+SCIF
mode
Set the memory access delay (in cycles) to delay (ST40 performance simulator only). Default is 1 cycle.
Enable (mode is 1) or disable (mode is 0) a simulated serial port. The simulator displays a TCP/IP port number and waits for 30 seconds for the user to connect to the network port using, for example, Telnet.
As an example, the connect commands for the simulated STb7109E-Ref targets are listed in
.
Table 14.
STb7109E-Ref simulator connection commands
Command Definition
mb448sim connectsh4simle mb448_fsim_setup mb448sim_setup "" mb448simse connectsh4simle mb448se_fsim_setup mb448simse_setup "" mb448simseuc connectsh4simle mb448se_fsim_setup mb448simseuc_setup "" mb448simse29 connectsh4simle mb448se_fsim_setup mb448simse29_setup "" mb448psim connectsh4psimle mb448_psim_setup mb448sim_setup ""
8045872 Rev 9 21/87
Target configuration UM1250
Table 14.
STb7109E-Ref simulator connection commands (continued)
Command Definition (continued)
mb448psimse connectsh4psimle mb448se_psim_setup mb448simse_setup "" mb448psimseuc connectsh4psimle mb448se_psim_setup mb448simseuc_setup "" mb448psimse29 connectsh4psimle mb448se_psim_setup mb448simse29_setup ""
22/87
For each board there is a sh4targets-board.cmd GDB command script file that contains
the connection commands for the target (see
Chapter 2: GDB command files on page 29
Each of these commands invoke a suitable connect command (see
Connection commands on page 14
A parameter of the connect command is the GDB user command to invoke after connecting to the target. This command configures the target and is defined in the GDB command script file board.cmd.
For example, the GDB command script file mb448.cmd defines the user command mb448_setup
that configures the target after connection. The sequence of operations performed by mb448_setup is similar to the following: define mb448_setup
## Commands to configure GDB with the names and addresses
## of the memory regions and memory mapped registers:
stb7109_define
mb448_memory_define
stb7109_si_regs
## Commands to configure the clocks, system registers and
## external memory interfaces:
mb448_clockgen_configure
mb448_sysconf_configure
mb448_emi_configure
mb448_lmisys_configure
mb448_lmivid_configure
## Configure the caches:
set *$CCN_CCR = 0x8000090d end
lists the different STb7109E-Ref connection command variants and their associated configuration commands. The connection command variants exist to support the different se-mode variants.
Table 15.
STb7109E-Ref configuration commands
Connect command Setup command se-mode configuration command
mb448 mb448se mb448seuc mb448se29
mb448_setup
mb448se_setup
mb448seuc_setup
mb448se29_setup mb448se_pmb_configure mb448seuc_pmb_configure mb448se29_pmb_configure
8045872 Rev 9
UM1250
1.5
Note:
Target configuration
Global target configuration variables
There are some aspects of target configuration that are controlled through global GDB convenience variables instead of a providing variants of the target connection commands.
To change the default behavior controlled by these convenience variables, they need to be set before connecting to a target.
The board or SoC they control is encoded into the convenience variable name.
Table 16.
Global convenience variables
Convenience variable Default value Behavior
$_stb7109movelmiregs
1
$_sti5202movelmiregs
1
$STb7100ResetDelay
$STi7200ResetDelay
$STV0498ResetDelay
$_mb442stb7100sys128
$_mb442stb7109sys128
20
0
If this is non-zero, the LMI SYS and LMI VID configuration registers for the STb7109 are relocated to their Area 6 addresses (see STx7109
Datasheet (7976546)).
If this is non-zero, the LMI configuration registers for the STi5202 are relocated to their Area 6 addresses
(see STx5202 Datasheet (8040779)).
Reset delay interval in milliseconds. Similar to the resetdelay
STMC1 configuration command (see
Table 7: Common STMC configuration commands on page 15
If this is non-zero, the size of the memory attached to LMI SYS for an STb7109-Ref board (MB442) is
128 Mbytes.
If this is zero, the size of the memory attached to LMI
SYS for an STb7109-Ref board (MB442) is
64 Mbytes.
$_mb411stb7100extclk
$_mb411stb7109extclk
$_mb448extclk
$_mb442stb7100extclk
$_mb442stb7109extclk
$_mb519extclk
$_mb602extclk
27
30
If this is set to 27, the external clock source is
27 MHz.
If this is set to 30, the external clock source is
30 MHz.
8045872 Rev 9 23/87
Target configuration
1.6
UM1250
Commands to connect to a target using an ST TargetPack
The ST40 Micro Toolset supports methods for connecting to targets with ST TargetPacks using any type of ST Micro Connect. The methods are provided in the form of GDB command scripts.
lists the connection commands defined by the GDB command script file sh4targets-targetpack.cmd
for connecting to a target using an ST TargetPack. See
ST TargetPack user manual (8020851) for further information about ST TargetPacks.
Table 17.
ST TargetPack connection commands
Command Description
sh4tpbe
Connect using an ST TargetPack to a generic SH-4 big endian target through an STMC.
sh4tple sh4tp st40300tpbe st40300tple st40300tp
Connect using an ST TargetPack to a generic SH-4 little endian target through an STMC.
As above but for a target with an ST40-300 core.
The ST TargetPack connection commands listed in
$arg0 specifies the ST TargetPack specification
$arg1
(optional) specifies configuration commands for the STMC (see
lists the configuration commands available for configuring an STMC when using an
ST TargetPack. The configuration commands must be specified as a string (that is, enclosed within double quotes if they contain spaces) and may be combined using a space to separate each command.
Table 18.
ST TargetPack STMC configuration commands
Command Description
breaktype=pin|udi debuginterrupt=pulse
|wait endian=big|little l2cache=address
Set breaktype to pin to use the #ASEBRK pin to interrupt a running target, or set breaktype to udi to use the UDI to interrupt the target.
The default is udi.
(1)
Causes the STMC to write the UDI-Interrupt command into the UDI
SDIR register and raises the SH-4 INTC UDI interrupt. This command accepts one of the following modes:
– pulse instructs the STMC to raise the interrupt but does not check if the ST40 has cleared it. This mode is supported by GDB only when the target is stopped.
– wait instructs the STMC to raise the interrupt and then wait for the
ST40 to clear the interrupt. This mode requires the target to be running, and is intended for ST internal use only.
Specify the endian of the target. The default is little.
Base address for the level 2 cache configuration registers. Setting this configuration command enables L2 cache coherency by the STMC.
The default is 0 (L2 cache coherency is disabled).
24/87 8045872 Rev 9
UM1250 Target configuration
Table 18.
ST TargetPack STMC configuration commands (continued)
Command Description
linktimeout=
time[units] ondisconnect=none
|reset|restart
Set the debug link timeout period to time seconds or time milliseconds. If units is ms then time is in milliseconds. If units is omitted or is s then time is in seconds. The default is 1 second.
This is the same as the linktimeout user command.
(2) msglevel=none|warning
|info|debug|all
Set the reporting level of diagnostic messages displayed by the STMC on its console (which on the STMC1 are sent to its console and on the
STMC2 are sent to its log files)
(3)
. The default is none.
This is the same as the stmcmsglevel user command.
(2)
Set the action to perform on disconnecting from the target. The default is none.
– none does nothing when disconnecting.
– reset resets the target before disconnecting. This is not compatible with the STMC2.
– restart restarts the target from where it was last stopped.
This is the same as the ondisconnect user command.
(2) useaccesssize=size
Specify whether the access size is checked when matching watchpoints.
This is the same as the use-watchpoint-access-size user command.
(2)
1.
The STMC2 currently does not support breaktype=pin. Also, the combination of an STMC1 with an ST
MultiCore/MUX is incapable of supporting breaktype=pin as the #ASEBRK signal is managed indirectly by the ST Microcore/Mux through its JTAG interface, which is not supported by the STMC1 software.
2.
See also
Section 2.80: sh4commands.cmd on page 70
3.
The STMC1 console is accessed by connecting to the STMC1 over Telnet or by serial line and the log files of the STMC2 are accessed using the stmcconfig tool of the ST Micro Connection Package (see
for information about the ST Micro Connection Package).
The format of an ST TargetPack specification (known as the TargetString) is described in full by the ST TargetPack user manual (8020851) and has the following form:
stmc:platform:core {option=value} where:
stmc platform core
is the name (or IP address) of the ST Micro Connect is the name of the platform ST TargetPack is the name of the ST40 CPU as defined by the ST TargetPack for the platform
Each component of the TargetString is separated by a colon.
One or more option=value parameters can be optionally specified in the TargetString to modify the actions of the ST TargetPack. The parameters can be separated either by commas or spaces. If the parameters are separated by spaces then the TargetString must be enclosed within double quotes. See the Developing with an ST Micro Connect and
ST TargetPacks application note (8174498) for details of the parameters that can be used with ST TargetPacks.
The following example shows the TargetString to connect to the ST40 CPU of an STb7109 on an STb7109E-Ref board (MB448) attached to an STMC with the name stmc: stmc:mb448:st40
8045872 Rev 9 25/87
Target configuration UM1250
To disable diagnostic messages being output as the target is being configured when using an ST TargetPack, the silent parameter can be added to the TargetString (in this example, using a comma as the separator): stmc:mb448:st40,silent=1
Note:
Note:
The recommended method of configuring a target attached to an STMC2 is to use an
ST TargetPack (see ST40 Micro Toolset user manual (7379953)). However, it is possible to use GDB command scripts to configure a target attached to an STMC2 if the no_pokes=1 parameter is added to the TargetString. Connecting to a target with a TargetString that includes this parameter prevents the target from being configured by the ST TargetPack, allowing a GDB command script to be used instead.
The ST40 Micro Toolset does not supply target-specific GDB connection commands for this type of connection. To perform this type of connection, the user can define their own user command. For example, to connect to an STb7109E-Ref board (MB448) attached to an
STMC2 and configured using the GDB command script mb448_setup, use the following mb448stmc2
user command: define mb448stmc2
source register40.cmd
source display40.cmd
source stb7100clocks.cmd
source stb7109.cmd
source mb448.cmd
if ($argc > 1)
else
end
mb448_setup end
The GDB command script may need to define specific ST TargetPack parameters in order to function correctly.
For example, a GDB command script that re-configures the system clocks may need to set the TCK frequency to a speed where this operation is safe. This must be done using the tck_frequency
parameter because the linkspeed command is not supported for the
STMC2.
There are also restrictions applicable to specific hardware that must be taken into account when writing GDB command scripts that change the ST40 core clock frequency.
For example, in order to re-configure the system clocks, the PLLs are usually switched into bypass mode; this typically results in the ST40 core clocks being sourced off a 27Mhz or
30MHz external input clock instead of the normal PLL generated clock (266MHz for an
STi5202/STb7100/STb7109). The end result is that the default frequency of TCK (12.5MHz) breaks a hardware design restriction that TCK cannot be exceed the peripheral clock frequency (27/8 = 3.38MHz or 30/8 = 3.75MHz for an STi5202/STb7100/STb7109).
This restriction is true for STi5202/STb7100/STb7109, but also applies to other SoCs.
26/87 8045872 Rev 9
UM1250
1.8
Note:
Target configuration
Connecting to a running target
The ST40 Micro Toolset supports connections to a running target attached to an STMC by either:
● providing specialized attach connection commands for targets attached to an STMC1 or STMCLite
● using ST TargetPacks for targets attached to any type of STMC.
The ST40 Micro Toolset also provides similar support for connecting to a target that is stopped in debug mode (see the ondisconnect configuration command in
Common STMC configuration commands on page 15
STMC configuration commands on page 24
See the Developing with an ST Micro Connect and ST TargetPacks application note
(8174498) for the ST TargetPack parameters that are required in order to connect to a running target.
For a description of the STMC1 and STMCLite connection commands for attaching to a
Section 2.78: sh4targets-attach.cmd on page 67
For a description of the STMC1 and STMCLite connection commands for attaching to a stopped target, see
Section 2.79: sh4targets-attach-debug.cmd on page 69
.
The following example shows how to disconnect from a target attached to the STMC called stmc
leaving the target stopped in debug mode and then re-connecting to continue the debug session:
(gdb) ondisconnect none
(gdb) disconnect
(gdb) attach-debug-sh4 stmc
Target is left stopped in debug mode
Re-connect to stopped target
The following example shows how to disconnect from a target attached to the STMC called stmc
leaving the target running but with host I/O services suppressed (which is mandatory to prevent the target from stopping to wait for a non-existent host to service the request) and then re-connecting to continue debugging:
(gdb) set _SH_DEBUGGER_CONNECTED = 0
Clear state in run-time to suppress host I/O requests
(gdb) ondisconnect restart
(gdb) disconnect
(gdb) attach-sh4 stmc
Target is left running
Re-connect to running target
The ST TargetPack equivalent to reconnect to a stopped target attached to the STMC called stmc
(assuming that the target is an STb7109E-Ref board) is:
(gdb) sh4tp stmc:mb448:st40,no_reset=1,no_pokes=1 resettype=none and the ST TargetPack equivalent for reconnecting to a running target is:
(gdb) sh4tp stmc:mb448:st40,no_reset=1,no_pokes=1
(a) a.
If using version R1.1.1 or earlier of the ST Micro Connection Package then add the option resettype=break to the command for reconnecting to a running target. This option is not required when using later versions of the ST Micro Connection Package.
8045872 Rev 9 27/87
Target configuration
1.9
UM1250
Migrating from ST Micro Connect 1 to ST Micro Connect 2
For detailed information about using the ST Micro Connect 2, see the application note
Developing with an ST Micro Connect and ST TargetPacks (8174498).
28/87 8045872 Rev 9
UM1250
2 GDB command files
GDB command files
This chapter documents the low-level user commands for GDB target configuration.
2.1 register40.cmd
Defines the commands that define symbolically the locations of the memory-mapped configuration registers on all SH-4 and ST40 silicon variants supported by the ST40 Micro
Toolset, see
.
Table 19.
register40.cmd
Command Description
st40100_core_si_regs st40200_core_si_regs st40400_core_si_regs
Define ST40-100 series core configuration registers.
Define ST40-200 series core configuration registers.
Define ST40-400 series core configuration registers.
st40500_core_si_regs st40300_core_si_regs
Define ST40-500 series core configuration registers.
Define ST40-300 series core configuration registers.
Define ST40RA configuration registers.
st40ra_si_regs st40gx1_si_regs stb7100_si_regs stb7109_si_regs
(1)
Define ST40GX1 configuration registers.
Define STb7100 configuration registers.
Define STb7109 configuration registers.
std1000_si_regs std2000_si_regs sti5202_si_regs
(2)
Define STd1000 configuration registers.
Define STd2000 configuration registers.
Define STi5202 configuration registers.
sti5528_si_regs
Define STi5528 configuration registers.
Define STi7200 configuration registers.
sti7200_si_regs stm8000_si_regs
Define STm8000 configuration registers.
Define STV0498 configuration registers.
stv0498_si_regs
1.
The LMI SYS and LMI VID configuration registers are relocated to Area 6 addresses (see STx7109
Datasheet 7976546) unless the GDB convenience variable $_stb7109movelmiregs is set to 0.
2.
The LMI configuration registers are relocated to Area 6 address (see STi5202 Datasheet (8040779)) unless the GDB convenience variable $_sti5202movelmiregs is set to 0.
8045872 Rev 9 29/87
GDB command files UM1250
2.2 display40.cmd
Defines the commands that display the contents of the memory mapped configuration registers for all SH-4 and ST40 silicon variants support by the ST40 Micro Toolset, see
.
Table 20.
display40.cmd
Command
st40100_display_core_si_regs st40200_display_core_si_regs st40400_display_core_si_regs st40500_display_core_si_regs st40300_display_core_si_regs st40ra_display_si_regs st40gx1_display_si_regs stb7100_display_si_regs stb7109_display_si_regs std1000_display_si_regs std2000_display_si_regs sti5202_display_si_regs sti5528_display_si_regs sti7200_display_si_regs stm8000_display_si_regs stv0498_display_si_regs
Description
Display ST40-100 series core configuration registers.
Display ST40-200 series core configuration registers.
Display ST40-400 series core configuration registers.
Display ST40-500 series core configuration registers.
Display ST40-300 series core configuration registers.
Display ST40RA configuration registers.
Display ST40GX1 configuration registers.
Display STb7100 configuration registers.
Display STb7109 configuration registers.
Display STd1000 configuration registers.
Display STd2000 configuration registers.
Display STi5202 configuration registers
Display STi5528 configuration registers.
Display STi7200 configuration registers.
Display STm8000 configuration registers.
Display STV0498 configuration registers.
30/87 8045872 Rev 9
UM1250 GDB command files
2.3 fli7510.cmd
Defines the commands that describe the core memory regions and other attributes of an
Table 21.
fli7510.cmd
Command
fli7510_define fli7510_fsim_core_setup fli7510_psim_core_setup
Description
Define FLi7510 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.4 fli7540.cmd
Defines the commands that describe the core memory regions and other attributes of an
Table 22.
fli7540.cmd
Command
fli7540_define fli7540_fsim_core_setup fli7540_psim_core_setup
Description
Define FLi7540 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.5 fli7610.cmd
Defines the commands that describe the core memory regions and other attributes of an
Table 23.
fli7610.cmd
Command
fli7610_define fli7610_fsim_core_setup fli7610_psim_core_setup
Description
Define FLi7610 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
8045872 Rev 9 31/87
GDB command files UM1250
2.6 st40300.cmd
Defines the commands that describe the core memory regions and other attributes of an
Table 24.
st40300.cmd
Command
st40300_define st40300_fsim_core_setup st40300_psim_core_setup
Description
Define ST40-300 series core memory map.
Configure the ST40-300 functional simulator.
Configure the ST40-300 performance simulator.
2.7 st40gx1.cmd
Defines the commands that describe the core memory regions and other attributes of an
ST40GX1. See
.
Table 25.
st40gx1.cmd
Command
st40gx1_define st40gx1_fsim_core_setup st40gx1_psim_core_setup
Description
Define ST40GX1 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.8 st40ra.cmd
Defines the commands that describe the core memory regions and other attributes of an
ST40RA. See
.
Table 26.
st40ra.cmd
Command
st40ra_define st40ra_fsim_core_setup st40ra_psim_core_setup
Description
Define ST40RA core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
32/87 8045872 Rev 9
UM1250 GDB command files
2.9 stb7100.cmd
Defines the commands that describe the core memory regions and other attributes of an
STb7100. See
.
Table 27.
stb7100.cmd
Command
stb7100_define stb7100_fsim_core_setup stb7100_psim_core_setup
Description
Define STb7100 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.10 stb7109.cmd
Defines the commands that describe the core memory regions and other attributes of an
STb7109. See
.
Table 28.
stb7109.cmd
Command
stb7109_define
(1) stb7109_fsim_core_setup stb7109_psim_core_setup
Description
Define STb7109 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
1.
The LMI SYS and LMI VID configuration registers are relocated to Area 6 addresses (see STx7109
Datasheet 7976546) unless the GDB convenience variable $_stb7109movelmiregs is set to 0.
2.11 std1000.cmd
Defines the commands that describe the core memory regions and other attributes of an
STd1000. See
.
Table 29.
std1000.cmd
Command
std1000_define std1000_fsim_core_setup std1000_psim_core_setup
Description
Define STd1000 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
8045872 Rev 9 33/87
GDB command files UM1250
2.12 std2000.cmd
Defines the commands that describe the core memory regions and other attributes of an
STd2000. See
.
Table 30.
std2000.cmd
Command
std2000_define std2000_fsim_core_setup std2000_psim_core_setup
Description
Define STd2000 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.13 sti5189.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi5189. See
.
Table 31.
sti5189.cmd
Command
sti5189_define sti5189_fsim_core_setup sti5189_psim_core_setup
Description
Define STi5189 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.14 sti5197.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi5197. See
.
Table 32.
sti5197.cmd
Command
sti5197_define sti5197_fsim_core_setup sti5197_psim_core_setup
Description
Define STi5197 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
34/87 8045872 Rev 9
UM1250 GDB command files
2.15 sti5202.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi5202. See
.
Table 33.
sti5202.cmd
Command
sti5202_define
(1) sti5202_fsim_core_setup sti5202_psim_core_setup
Description
Define STi5202 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
1.
The LMI configuration registers are relocated to Area 6 addresses (see STi5202 Datasheet (8040779)) unless the GDB convenience variable $_sti5202movelmiregs is set to 0.
2.16 sti5206.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi5206. See
.
Table 34.
sti5206.cmd
Command
sti5206_define sti5206_fsim_core_setup sti5206_psim_core_setup
Description
Define STi5206 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.17 sti5289.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi5289. See
.
Table 35.
sti5289.cmd
Command
sti5289_define sti5289_fsim_core_setup sti5289_psim_core_setup
Description
Define STi5289 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
8045872 Rev 9 35/87
GDB command files UM1250
2.18 sti5528.cmd
Defines the commands that describe the core memory regions and other attributes of an
.
Table 36.
sti5528.cmd
Command
sti5528_define sti5528_fsim_core_setup sti5528_psim_core_setup
Description
Define STi5528 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.19 sti7105.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi7105. See
.
Table 37.
sti7105.cmd
Command
sti7105_define sti7105_fsim_core_setup sti7105_psim_core_setup
Description
Define STi7105 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.20 sti7106.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi7106. See
.
Table 38.
sti7106.cmd
Command
sti7106_define sti7106_fsim_core_setup sti7106_psim_core_setup
Description
Define STi7106 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
36/87 8045872 Rev 9
UM1250 GDB command files
2.21 sti7108.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi7108. See
.
Table 39.
sti7108.cmd
Command
sti7108_define sti7108_fsim_core_setup sti7108_psim_core_setup
Description
Define STi7108 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.22 sti7111.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi7111. See
.
Table 40.
sti7111.cmd
Command
sti7111_define sti7111_fsim_core_setup sti7111_psim_core_setup
Description
Define STi7111 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.23 sti7141.cmd
Defines the commands that describe the core memory regions and other attributes of an
STi7141. See
.
Table 41.
sti7141.cmd
Command
sti7141_define sti7141_fsim_core_setup sti7141_psim_core_setup
Description
Define STi7141 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
8045872 Rev 9 37/87
GDB command files UM1250
2.24 sti7200.cmd
Defines the commands that describe the core memory regions and other attributes of an
.
Table 42.
sti7200.cmd
Command
sti7200_define sti7200_fsim_core_setup sti7200_psim_core_setup
Description
Define STi7200 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.25 stih415.cmd
Defines the commands that describe the core memory regions and other attributes of an
Table 43.
stih415.cmd
Command
stih415_define stih415_fsim_core_setup stih415_psim_core_setup
Description
Define STiH415 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.26 stm8000.cmd
Defines the commands that describe the core memory regions and other attributes of an
.
Table 44.
stm8000.cmd
Command
stm8000_define stm8000_fsim_core_setup stm8000_psim_core_setup
Description
Define STm8000 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
38/87 8045872 Rev 9
UM1250 GDB command files
2.27 stv0498.cmd
Defines the commands that describe the core memory regions and other attributes of an
STV0498. See
Table 45.
stv0498.cmd
Command
stv0498_define stv0498_fsim_core_setup stv0498_psim_core_setup
Description
Define STV0498 core memory map.
Configure the ST40 functional simulator.
Configure the ST40 performance simulator.
2.28 adi7105.cmd
Defines the commands that set the configuration registers for the STi7105 on an
STMicroelectronics STi7105-ADI board. See
.
Table 46.
adi7105.cmd
Command
adi7105sim_setup adi7105simse_setup adi7105simseuc_setup adi7105simse29_setup adi7105_display_registers adi7105_sim_memory_define
Description
Set simulated STi7105-ADI board configuration registers.
Set simulated STi7105-ADI board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7105-ADI board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7105-ADI board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi7105 configuration registers.
Define memory regions for theSTi7105-ADI board to the
ST40 simulator.
8045872 Rev 9 39/87
GDB command files UM1250
2.29 adi7108.cmd
Defines the commands that set the configuration registers for the STi7108 on an
STMicroelectronics STi7108-ADI board. See
.
Table 47.
adi7108.cmd
Command
adi7108simse_setup adi7108simseuc_setup adi7108simse29_setup adi7108_sim_memory_define
Description
Set simulated STi7108-ADI board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7108-ADI board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7108-ADI board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7108-ADI board to the
ST40 simulator.
2.30 b2000stih415.cmd
Defines the commands that set the configuration registers for the STH415 on an
STMicroelectronics STiH415-HVK. See
.
Table 48.
STiH415.cmd
Command
b2000stih415simse_setup b2000stih415simseuc_setup b2000stih415_sim_memory_define
Description
Set simulated STiH415-HVK configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STiH415-HVK configuration registers with the ST40 in SE mode with uncached RAM mappings.
Define memory regions for the STiH415-HVK to the
ST40 simulator.
40/87 8045872 Rev 9
UM1250 GDB command files
2.31 cab5197cmd
Defines the commands that set the configuration registers for the STi5197 on an
STMicroelectronics STi5197-CAB board. See
.
Table 49.
cab5197.cmd
Command
cab5197sim cab5197simse cab5197simseuc cab5197simse29 cab5197_sim_memory_define
Description
Set simulated STi5197-CAB board configuration registers.
Set simulated STi5197-CAB board configuration registers with ST40 in SE mode) with cached RAM mappings.
Set simulated STi5197-CAB board configuration registers with ST40 in SE mode with uncached mappings.
Set simulated STi5197-CAB board configuration registers with ST40 in SE mode with 29-bit compatibility mappings in P1 and P2.
Define memory regions for the STi5197-CAB board to the ST40 simulator.
2.32 eud7141.cmd
Defines the commands that set the configuration registers for the STi7141 on an
STMicroelectronics STi7141-EUD Board. See
Table 50.
eud7141.cmd
Command
eud7141sim_setup eud7141simse_setup eud7141simseuc_setup eud7141simse29_setup eud7141_sim_memory_define
Description
Set simulated STi7141-EUD board configuration registers.
Set simulated STi7141-EUD board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7141-EUD board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7141-EUD board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7141-EUD board to the ST40 simulator.
8045872 Rev 9 41/87
GDB command files UM1250
2.33 fldb_gpd201.cmd
Defines the commands that set the configuration registers for the FLi7510 on an
STMicroelectronics FLi7510 development board. See
Table 51.
fldb_gpd201.cmd
Command
fldb_gpd201simse_setup fldb_gpd201simseuc_setup fldb_gpd201simse29_setup fldb_gpd201_sim_memory_define
Description
Set simulated FLi7510 development board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated FLi7510 development board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated FLi7510 development board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the FLi7510 development board to the ST40 simulator.
2.34 fli7610hdk.cmd
Defines the commands that set the configuration registers for the FLi7610 on an
STMicroelectronics FLi7610-HDK board. See
.
Table 52.
fldb_gpd201.cmd
Command
fli7610hdksimse_setup fli7610hdksimseuc_setup fli7610hdk_sim_memory_define
Description
Set simulated FLi7610-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated FLi7610-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Define memory regions for the FLi7610 development board to the ST40 simulator.
42/87 8045872 Rev 9
UM1250 GDB command files
2.35 fudb_gpd201.cmd
Defines the commands that set the configuration registers for the FLi7540 on an
STMicroelectronics FLi7540 development board. See
Table 53.
fudb_gpd201.cmd
Command
fudb_gpd201simse_setup fudb_gpd201simseuc_setup fudb_gpd201simse29_setup fudb_gpd201_sim_memory_define
Description
Set simulated FLi7540 development board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated FLi7540 development board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated FLi7540 development board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the FLi7540 development board to the ST40 simulator.
2.36 hdk5189.cmd
Defines the commands that set the configuration registers for the STi5189 on an
STMicroelectronics STi5189-HDK board. See
Table 54.
hdk5189.cmd
Command
hdk5189sim_setup hdk5189simse_setup hdk5189simseuc_setup hdk5189simse29_setup hdk5189_display_registers hdk5189_sim_memory_define
Description
Set simulated STi5189-HDK board configuration registers.
Set simulated STi5189-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5189-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi5189-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi5189 configuration registers.
Define memory regions for the STi5189-HDK board to the ST40 simulator.
8045872 Rev 9 43/87
GDB command files UM1250
2.37 hdk5289sti5206.cmd
Defines the commands that set the configuration registers for the STi5206 on an
STMicroelectronics STi5206-HDK board. See
Table 55.
hdk5289sti5206.cmd
Command Description
hdk5289sti5206sim_setup hdk5289sti5206simse_setup hdk5289sti5206simseuc_setup hdk5289sti5206simse29_setup
Set simulated STi5206-HDK board configuration registers.
Set simulated STi5206-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5206-HDK board configuration registers with the ST40 in SE mode with uncached
RAM mappings.
Set simulated STi5206-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
hdk5289sti5206_display_registers
Display the STi5206 configuration registers.
hdk5289sti5206_sim_memory_define
Define memory regions for the STi5206-HDK board to the ST40 simulator.
2.38 hdk5289sti5289.cmd
Defines the commands that set the configuration registers for the STi5289 on an
STMicroelectronics STi5289-HDK board. See
Table 56.
hdk5289sti5289.cmd
Command Description
hdk5289sti5289sim_setup hdk5289sti5289simse_setup hdk5289sti5289simseuc_setup hdk5289sti5289simse29_setup
Set simulated STi5289-HDK board configuration registers.
Set simulated STi5289-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5289-HDK board configuration registers with the ST40 in SE mode with uncached
RAM mappings.
Set simulated STi5289-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
hdk5289sti5289_display_registers
Display the STi5289 configuration registers.
hdk5289sti5289_sim_memory_define
Define memory regions for the STi5289-HDK board to the ST40 simulator.
44/87 8045872 Rev 9
UM1250 GDB command files
2.39 hdk7105.cmd
Defines the commands that set the configuration registers for the STi7105 on an
STMicroelectronics STi7105-HDK board. See
Table 57.
ndk7105.cmd
Command
hdk7105sim_setup hdk7105simse_setup hdk7105simseuc_setup hdk7105simse29_setup hdk7105_display_registers hdk7105_sim_memory_define
Description
Set simulated STi7105-HDK board configuration registers.
Set simulated STi7105-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7105-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7105-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi7105 configuration registers.
Define memory regions for the STi7105-HDK board to the ST40 simulator.
2.40 hdk7106.cmd
Defines the commands that set the configuration registers for the STi7106 on an
STMicroelectronics STi7106-HDK board. See
Table 58.
hdk7106.cmd
Command
hdk7106sim_setup hdk7106simse_setup hdk7106simseuc_setup hdk7106simse29_setup hdk7106_display_registers hdk7106_sim_memory_define
Description
Set simulated STi7106-HDK board configuration registers.
Set simulated STi7106-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7106-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7106-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi7106 configuration registers.
Define memory regions for the STi7106-HDK board to the ST40 simulator.
8045872 Rev 9 45/87
GDB command files UM1250
2.41 hdk7108.cmd
Defines the commands that set the configuration registers for the STi7108 on an
STMicroelectronics STi7108-HDK board. See
Table 59.
hdk7108.cmd
Command
hdk7108simse_setup hdk7108simseuc_setup hdk7108simse29_setup hdk7108_sim_memory_define
Description
Set simulated STi7108-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7108-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7108-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7108-HDK board to the ST40 simulator.
2.42 hdk7111.cmd
Defines the commands that set the configuration registers for the STi7111 on an
STMicroelectronics STi7111-HDK board. See
Table 60.
hdk7111.cmd
Command
hdk7111sim_setup hdk7111simse_setup hdk7111simseuc_setup hdk7111simse29_setup hdk7111_sim_memory_define
Description
Set simulated STi7111-HDK board configuration registers.
Set simulated STi7111-HDK board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7111-HDK board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7111-HDK board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7111-HDK board to the ST40 simulator.
46/87 8045872 Rev 9
UM1250 GDB command files
2.43 mb411stb7100.cmd
Defines the commands that set the configuration registers for the STb7100 on an
STMicroelectronics STb7100-MBoard, see
Table 61.
mb411stb7100.cmd
Command Description
mb411stb7100_setup
Set STb7100-MBoard configuration registers.
Set simulated STb7100-MBoard configuration registers. mb411stb7100sim_setup mb411stb7100_display_registers
Display STb7100-MBoard configuration registers.
mb411stb7100_sim_memory_define mb411stb7100bypass_setup mb411stb7100stmmx_setup
(1)
Define memory regions for the STb7100-MBoard to the
ST40 simulator.
Set the STb7100-MBoard to bypass to the ST40 through stb7100_bypass_setup
). Used by the mb41stb71001bypass
command.
Set the STb7100-MBoard for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STb7100 through stb7100_stmmx_setup
). Used by the mb41stb71001stmmx
command.
1.
Only supported by the STMC1.
When configuring the STb7100 CLOCKGENA peripheral, the mb411stb7100_setup configuration command assumes that the frequency of the external clock source is 27 MHz.
If the frequency of the clock source is 30 MHz (the only possible alternative), set the GDB convenience variable $_mb411stb7100extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb411stb7100extclk = 30 mb411stb7100bypass stmc
8045872 Rev 9 47/87
GDB command files UM1250
2.44 mb411stb7109.cmd
Defines the commands that set the configuration registers for the STb7109 on an
STMicroelectronics STb7109-MBoard, see
Table 62.
mb411stb7109.cmd
Command Description
mb411stb7109_setup mb411stb7109se_setup mb411stb7109seuc_setup mb411stb7109se29_setup mb411stb7109sim_setup mb411stb7109simse_setup
Set STb7109-MBoard configuration registers.
Set STb7109-MBoard configuration registers with the
ST40 in SE mode with cached RAM mappings.
Set STb7109-MBoard configuration registers with the
ST40 in SE mode with uncached RAM mappings.
Set STb7109-MBoard configuration registers with the
ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STb7109-MBoard configuration registers.
Set simulated STb7109-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
mb411stb7109simseuc_setup mb411stb7109simse29_setup
Set simulated STb7109-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STb7109-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb411stb7109_display_registers
Display STb7109-MBoard configuration registers.
mb411stb7109_sim_memory_define
Define memory regions for the STb7109-MBoard to the
ST40 simulator.
mb411stb7109bypass_setup mb411stb7109stmmx_setup
(1)
Set the STb7109-MBoard to bypass to the ST40 through stb7109_bypass_setup
). Used by the mb411stb7109bypass
command.
Set the STb7109-MBoard for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STb7109 through stb7109_stmmx_setup
). Used by the mb411stb7109stmmx
command.
1.
Only supported by the STMC1.
When configuring the STb7109 CLOCKGENA peripheral, the mb411stb7109_setup configuration command assumes that the frequency of the external clock source is 27 MHz.
If the frequency of the clock source is 30 MHz (the only possible alternative), set the GDB convenience variable $_mb411stb7109extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb411stb7109extclk = 30 mb411stb7109bypass stmc
48/87 8045872 Rev 9
UM1250 GDB command files
2.45 mb427.cmd
Defines the commands that set the configuration registers for the ST40-300 on an
STMicroelectronics STEMU2-PCI board, see
Table 63.
mb427.cmd
Command
mb427_setup mb427se_setup mb427seuc_setup mb427se29_setup mb427sim_setup mb427simse_setup mb427simseuc_setup mb427simse29_setup mb427_display_registers mb427_sim_memory_define
Description
Set STEMU2-PCI board configuration registers.
Set STEMU2-PCI board configuration registers with the
ST40 in SE mode with cached RAM mappings.
Set STEMU2-PCI board configuration registers with the
ST40 in SE mode with uncached RAM mappings.
Set STEMU2-PCI board configuration registers with the
ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STEMU2-PCI board configuration registers with cached RAM mappings.
Set simulated STEMU2-PCI board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STEMU2-PCI board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STEMU2-PCI board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display STEMU2-PCI board configuration registers.
Define memory regions for the STEMU2-PCI board to the ST40 simulator.
8045872 Rev 9 49/87
GDB command files UM1250
2.46 mb442stb7100.cmd
Defines the commands that set the configuration registers for the STb7100 on an
STMicroelectronics STb7100-Ref board, see
.
Table 64.
mb442stb7100.cmd
Command Description
mb442stb7100_setup mb442stb7100sim_setup
Set STb7100-Ref board configuration registers.
Set simulated STb7100-Ref board configuration registers. mb442stb7100_display_registers
Display STb7100-Ref board configuration registers.
mb442stb7100_sim_memory_define
Define memory regions for the STb7100-Ref board to the ST40 simulator.
mb442stb7100bypass_setup mb442stb7100stmmx_setup
(1)
Set the STb7100-Ref board to bypass to the ST40 through stb7100_bypass_setup (see
). Used by the mb442stb7100bypass
command.
Set the STb7100-Ref board for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STb7100 through stb7100_stmmx_setup
). Used by the mb442stb7100stmmx
command.
1.
Only supported by the STMC1.
When configuring the STb7100 CLOCKGENA peripheral, the mb442stb7100_setup configuration command assumes that the frequency of the external clock source is 30 MHz.
If the frequency of the clock source is 27 MHz (the only possible alternative), set the GDB convenience variable $_mb442stb7100extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb442stb7100extclk = 27 mb442stb7100bypass stmc
The mb442stb7100_setup configuration command assumes that 64 Mbytes of memory is attached to the STb7100 LMI SYS memory interface. If the size of attached memory is
128 Mbytes then set the GDB convenience variable $_mb442stb7100sys128 to 1 before connecting to the target. For example: set $_mb442stb7100sys128 = 1 mb442stb7100bypass stmc
50/87 8045872 Rev 9
UM1250 GDB command files
2.47 mb442stb7109.cmd
Defines the commands that set the configuration registers for the STb7109 on an
STMicroelectronics STb7109-Ref board, see
.
Table 65.
mb442stb7109.cmd
Command Description
mb442stb7109_setup mb442stb7109se_setup mb442stb7109seuc_setup mb442stb7109se29_setup mb442stb7109sim_setup mb442stb7109simse_setup mb442stb7109simseuc_setup
Set STb7109-Ref board configuration registers.
Set STb7109-Ref board configuration registers with the
ST40 in SE mode with cached RAM mappings.
Set STb7109-Ref board configuration registers with the
ST40 in SE mode with uncached RAM mappings.
Set STb7109-Ref board configuration registers with the
ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STb7109-Ref board configuration registers.
Set simulated STb7109-Ref board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STb7109-Ref board configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb442stb7109simse29_setup
Set simulated STb7109-Ref board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb442stb7109_display_registers
Display STb7109-Ref board configuration registers.
mb442stb7109_sim_memory_define
Define memory regions for the STb7109-Ref board to the ST40 simulator.
mb442stb7109bypass_setup mb442stb7109stmmx_setup
(1)
Set the STb7109-Ref board to bypass to the ST40 through stb7100_bypass_setup (see
). Used by the mb442stb7109bypass
command.
Set the STb7109-Ref board for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STb7109 through stb7100_stmmx_setup
). Used by the mb442stb7109stmmx
command.
1.
Only supported by the STMC1.
When configuring the STb7109 CLOCKGENA peripheral, the mb442stb7109_setup configuration command assumes that the frequency of the external clock source is 30 MHz.
If the frequency of the clock source is 27 MHz (the only possible alternative), set the GDB convenience variable $_mb442stb7109extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb442stb7109extclk = 27 mb442stb7109bypass stmc
8045872 Rev 9 51/87
GDB command files UM1250
The mb442stb7109_setup configuration command assumes that 64 Mbytes of memory is attached to the STb7109 LMI SYS memory interface. If the size of attached memory is
128 Mbytes then set the GDB convenience variable $_mb442stb7109sys128 to 1 before connecting to the target. For example: set $_mb442stb7109sys128 = 1 mb442stb7109bypass stmc
2.48 mb448.cmd
Defines the commands that set the configuration registers for the STb7109E on an
STMicroelectronics STb7109E-Ref board, see
.
Table 66.
mb448.cmd
Command
mb448_setup mb448se_setup mb448seuc_setup mb448se29_setup mb448sim_setup mb448simse_setup mb448simseuc_setup mb448simse29_setup mb448_display_registers mb448_sim_memory_define mb448bypass_setup mb448stmmx_setup
(1)
Description
Set STb7109E-Ref board configuration registers.
Set STb7109E-Ref board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set STb7109E-Ref board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set STb7109E-Ref board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STb7109E-Ref board configuration registers.
Set simulated STb7109E-Ref board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STb7109E-Ref board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STb7109E-Ref board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display STb7109E-Ref board configuration registers.
Define memory regions for the STb7109E-Ref board to the ST40 simulator.
Set the STb7109E-Ref board to bypass to the ST40 through stb7100_bypass_setup (see
). Used by the mb448bypass
command.
Set the STb7109E-Ref board for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STb7109E through stb7100_stmmx_setup
). Used by the mb448stmmx command.
1.
Only supported by the STMC1.
52/87 8045872 Rev 9
UM1250 GDB command files
When configuring the STb7109E CLOCKGENA peripheral, the mb448stb7109_setup configuration command assumes that the frequency of the external clock source is 27 MHz.
If the frequency of the clock source is 30 MHz (the only possible alternative), set the GDB convenience variable $_mb448stb7109extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb448stb7109extclk = 30 mb448stb7109bypass stmc
2.49 mb519.cmd
Defines the commands that set the configuration registers for the STi7200 on an
STMicroelectronics STi7200-MBoard. See
.
Table 67.
mb519.cmd
Command Description
mb519_setup mb519se_setup mb519seuc_setup mb519se29_setup mb519sim_setup mb519simse_setup mb519simseuc_setup mb519simse29_setup mb519_display_registers mb519_sim_memory_define mb519bypass_setup mb519stmmx_setup
(1)
Set STi7200-MBoard configuration registers.
Set STi7200-MBoard configuration registers with the
ST40 in SE mode with cached RAM mappings.
Set STi7200-MBoard configuration registers with the
ST40 in SE mode with uncached RAM mappings.
Set STi7200-MBoard configuration registers with the
ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STi7200-MBoard configuration registers.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display STi7200-MBoard configuration registers.
Define memory regions for the STi7200-MBoard to the
ST40 simulator.
Set the STi7200-MBoard to bypass to the ST40 through sti7200_bypass_setup
). Used by the mb519bypass command.
Set the STi7200-MBoard for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STi7200 through sti7200_stmmx_setup
). Used by the mb519stmmx command.
1.
Only supported by the STMC1.
When configuring the STi7200 CLOCKGENA peripheral, the mb519_setup configuration command assumes that the frequency of the external clock source is 30 MHz. If the
8045872 Rev 9 53/87
GDB command files UM1250
frequency of the clock source is 27 MHz (the only possible alternative), set the GDB convenience variable $_mb519extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb519extclk = 27 mb519bypass stmc
2.50 mb521.cmd
Defines the commands that set the configuration registers for the STV0498 on an
STMicroelectronics STV0498-MBoard, see
.
Table 68.
mb521.cmd
Command
mb521_setup mb521sim_setup mb521_display_registers mb521_sim_memory_define mb521bypass_setup
Description
Set STV0498-MBoard configuration registers.
Set simulated STV0498-MBoard configuration registers.
Display STV0498-MBoard configuration registers.
Define memory regions for the STV0498-MBoard to the
ST40 simulator.
Set the STV0498-MBoard to bypass to the ST40 through stv0498_bypass_setup (see
). Used by the mb521bypass
command.
2.51 mb548.cmd
Defines the commands that set the configuration registers for the STd1000 on the family of
STMicroelectronics DTV150 boards, see
.
Table 69.
mb548.cmd
Command
mb548_setup mb548sim_setup mb548eval_setup mb548evalsim_setup mb548ssbe_setup mb548ssbesim_setup mb548ssbu_setup mb548ssbusim_setup mb548_display_registers
Description
Set DTV150-DB board configuration registers.
Set simulated DTV150-DB board configuration registers.
As above but for a DTV150-EVAL board.
As above but for a DTV150-SSB (Europe) board.
As above but for a DTV150-SSB (US) board.
Display DTV150-DB board configuration registers.
54/87 8045872 Rev 9
UM1250 GDB command files
Table 69.
mb548.cmd (continued)
Command
mb548_sim_memory_define mb548ssb_sim_memory_define
Description
Define memory regions for the DTV150-DB and
DTV150-EVAL boards to the ST40 simulator.
Define memory regions for the DTV150-SSB boards to the ST40 simulator.
2.52 mb602.cmd
Defines the commands that set the configuration registers for the STi5202 on an
STMicroelectronics STi5202-MBoard. See
.
Table 70.
mb602.cmd
Command Description
mb602_setup mb602se_setup mb602seuc_setup mb602se29_setup mb602sim_setup mb602simse_setup mb602simseuc_setup mb602simse29_setup mb602_display_registers mb602_sim_memory_define mb602bypass_setup mb602stmmx_setup
(1)
Set STi5202-MBoard configuration registers.
Set STi5202-MBoard configuration registers with the
ST40 in SE mode with cached RAM mappings.
Set STi5202-MBoard configuration registers with the
ST40 in SE mode with uncached RAM mappings.
Set STi5202-MBoard configuration registers with the
ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Set simulated STi5202-MBoard configuration registers.
Set simulated STi5202-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5202-MBoard configuration registers with the ST402 in SE mode with uncached RAM mappings.
Set simulated STi5202-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display STi5202-MBoard configuration registers.
Define memory regions for the STi5202-MBoard to the
ST40 simulator.
Set the STi5202-MBoard to bypass to the ST40 through stb7100_bypass_setup
). Used by the mb602bypass command.
Set the STi5202-MBoard for use with the
ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPUs on the STi5202 through stb7100_stmmx_setup
). Used by the mb602stmmx command.
1.
Only supported by the STMC1.
When configuring the STi5202 CLOCKGENA peripheral, the mb602_setup configuration command assumes that the frequency of the external clock source is 30MHz. If the
8045872 Rev 9 55/87
GDB command files UM1250
frequency of the clock source is 27MHz (the only permitted alternative), set the GDB convenience variable $_mb602extclk to the correct frequency (in MHz) before connecting to the target. For example: set $_mb602extclk = 27 mb602bypass stmc
2.53 mb618.cmd
Defines the commands that set the configuration registers for the STi7111 on an
STMicroelectronics STi7111-MBoard. See
.
Table 71.
mb618.cmd
Command
mb618sim_setup mb618simse_setup mb618simseuc_setup mb618simse29_setup mb618_sim_memory_define
Description
Set simulated STi7111-MBoard configuration registers.
Set simulated STi7111-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7111-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7111-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7111-MBoard to the
ST40 simulator.
2.54 mb625.cmd
Defines the commands that set the configuration registers for the STV0498 on an
STMicroelectronics STV0498-MBoard, see
.
Table 72.
mb625.cmd
Command
mb625_setup mb625sim_setup mb625_display_registers mb625_sim_memory_define mb625bypass_setup
Description
Set STV0498-MBoard configuration registers.
Set simulated STV0498-MBoard configuration registers.
Display STV0498-MBoard configuration registers.
Define memory regions for the STV0498-MBoard to the
ST40 simulator.
Set the STV0498-MBoard to bypass to the ST40 through stv0498_bypass_setup (see
). Used by the mb625bypass
command.
56/87 8045872 Rev 9
UM1250 GDB command files
2.55 mb628.cmd
Defines the commands that set the configuration registers for the STi7141 on an
STMicroelectronics STi7141-MBoard. See
.
Table 73.
mb628.cmd
Command
mb628sim_setup mb628simse_setup mb628simseuc_setup mb628simse29_setup mb628_sim_memory_define
Description
Set simulated STi7141-MBoard configuration registers.
Set simulated STi7141-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7141-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7141-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7141-MBoard to the
ST40 simulator.
2.56 mb671.cmd
Defines the commands that set the configuration registers for the STi7200 on an
STMicroelectronics STi7200-MBoard. See
.
Table 74.
mb671.cmd
Command
mb671sim_setup mb671simse_setup mb671simseuc_setup mb671simse29_setup mb671_display_registers mb671_sim_memory_define
Description
Set simulated STi7200-MBoard configuration registers.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7200-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi7200 configuration registers.
Define memory regions for the STi7200-MBoard to the
ST40 simulator.
8045872 Rev 9 57/87
GDB command files UM1250
2.57 mb676sti5189.cmd
Defines the commands that set the configuration registers for the STi5189 on an
STMicroelectronics STi5189/97-MB. See
Table 75.
mb676sti5189.cmd
Command Description
mb676sti5189sim_setup mb676sti5189simse_setup mb676sti5189simseuc_setup
Set simulated STi5189/97-MB configuration registers.
Set simulated STi5189/97-MB configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5189/97-MB configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb676sti5189simse29_setup
Set simulated STi5189/97-MB configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb676sti5189_display_registers
Display the STi5189 configuration registers.
mb676sti5189_sim_memory_define
Define memory regions for the STi5189/97-MB to the
ST40 simulator.
2.58 mb676sti5197cmd
Defines the commands that set the configuration registers for the STi5197 on an
STMicroelectronics STi5189/97-MB. See
Table 76.
mb676sti5197.cmd
Command
mb676sti5197sim mb676sti5197simse mb676sti5197simseuc mb676sti5197simse29 mb676sti5197_sim_memory_define
Description
Set simulated STi5189/97-MB configuration registers.
Set simulated STi5189/97-MB configuration registers with ST40 in SE mode) with cached RAM mappings.
Set simulated STi5189/97-MB configuration registers with ST40 in SE mode with uncached mappings.
Set simulated STi5189/97-MB configuration registers with ST40 in SE mode with 29-bit compatibility mappings in P1 and P2.
Define memory regions for the STi5189/97-MB to the
ST40 simulator.
58/87 8045872 Rev 9
UM1250 GDB command files
2.59 mb680sti7105.cmd
Defines the commands that set the configuration registers for the STi7105 on an
STMicroelectronics STi7105-MBoard. See
.
Table 77.
mb680sti7105.cmd
Command Description
mb680sti7105sim_setup mb680sti7105simse_setup mb680sti7105simseuc_setup
Set simulated STi7105-MBoard configuration registers.
Set simulated STi7105-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7105-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb680sti7105simse29_setup
Set simulated STi7105-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb680sti7105_display_registers
Display the STi7105 configuration registers.
mb680sti7105_sim_memory_define
Define memory regions for the STi7105-MBoard to the
ST40 simulator.
2.60 mb680sti7106.cmd
Defines the commands that set the configuration registers for the STi7106 on an
STMicroelectronics STi7106-MBoard. See
.
Table 78.
mb680sti7106.cmd
Command Description
mb680sti7106sim_setup
Set simulated STi7106-MBoard configuration registers.
mb680sti7106simse_setup mb680sti7106simseuc_setup
Set simulated STi7106-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7106-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb680sti7106simse29_setup
Set simulated STi7106-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb680sti7106_display_registers
Display the STi7106 configuration registers.
mb680sti7106_sim_memory_define
Define memory regions for the STi7106-MBoard to the
ST40 simulator.
8045872 Rev 9 59/87
GDB command files UM1250
2.61 mb704.cmd
Defines the commands that set the configuration registers for the STi5197 on an
STMicroelectronics STi5197-MBoard. See
.
Table 79.
mb704.cmd
Command
mb704sim_setup mb704simse_setup mb704simseuc_setup mb704simse29_setup mb704_display_registers mb704_sim_memory_define
Description
Set simulated STi5197-MBoard configuration registers.
Set simulated STi5197-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5197-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi5197-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Display the STi5197 configuration registers.
Define memory regions for the STi5197-MBoard to the
ST40 simulator.
2.62 mb796sti5206
Defines the commands that set the configuration registers for the STi5206 on an
STMicroelectronics STi5206-MBoard. See
.
Table 80.
mb796sti5206.cmd
Command Description
mb796sti5206sim_setup
Set simulated STi5206-MBoard configuration registers.
mb796sti5206simse_setup mb796sti5206simseuc_setup
Set simulated STi5206-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5206-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb796sti5206simse29_setup
Set simulated STi5206-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb796sti5206_display_registers
Display the STi5206 configuration registers.
mb796sti5206_sim_memory_define
Define memory regions for the STi5206-MBoard to the
ST40 simulator.
60/87 8045872 Rev 9
UM1250 GDB command files
2.63 mb796sti5289
Defines the commands that set the configuration registers for the STi5289 on an
STMicroelectronics STi5289-MBoard. See
.
Table 81.
mb796sti5289.cmd
Command Description
mb796sti5289sim_setup mb796sti5289simse_setup mb796sti5289simseuc_setup
Set simulated STi5289-MBoard configuration registers.
Set simulated STi5289-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi5289-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
mb796sti5289simse29_setup
Set simulated STi5289-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
mb796sti5289_display_registers
Display the STi5289 configuration registers.
mb796sti5289_sim_memory_define
Define memory regions for the STi5289-MBoard to the
ST40 simulator.
2.64 mb837.cmd
Defines the commands that set the configuration registers for the STi7108 on an
STMicroelectronics STi7108-MBoard. See
.
Table 82.
mb837.cmd
Command
mb837simse_setup mb837simseuc_setup mb837simse29_setup mb837_sim_memory_define
Description
Set simulated STi7108-MBoard configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7108-MBoard configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7108-MBoard configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7108-MBoard to the
ST40 simulator.
8045872 Rev 9 61/87
GDB command files UM1250
2.65 sat5189cmd
Defines the commands that set the configuration registers for the STi5189 on an
STMicroelectronics STi5189-SAT board. See
Table 83.
sat5189.cmd
Command
sat5189sim sat5189simse sat5189simseuc sat5189simse29 sat5189_sim_memory_define
Description
Set simulated STi5189-SAT board configuration registers.
Set simulated STi5189-SAT board configuration registers with ST40 in SE mode) with cached RAM mappings.
Set simulated STi5189-SAT board configuration registers with ST40 in SE mode with uncached mappings.
Set simulated STi5189-SAT board configuration registers with ST40 in SE mode with 29-bit compatibility mappings in P1 and P2.
Define memory regions for the STi5189-SAT board to the ST40 simulator.
2.66 sat7111.cmd
Defines the commands that set the configuration registers for the STi7111 on an
STMicroelectronics STi7111-SAT board. See
Table 84.
sat7111.cmd
Command
sat7111sim_setup sat7111simse_setup sat7111simseuc_setup sat7111simse29_setup sat7111_sim_memory_define
Description
Set simulated STi7111-SAT board configuration registers.
Set simulated STi7111-SAT board configuration registers with the ST40 in SE mode with cached RAM mappings.
Set simulated STi7111-SAT board configuration registers with the ST40 in SE mode with uncached RAM mappings.
Set simulated STi7111-SAT board configuration registers with the ST40 in SE mode with 29-bit compatibility RAM mappings in P1 and P2.
Define memory regions for the STi7111-SAT board to the ST40 simulator.
62/87 8045872 Rev 9
UM1250 GDB command files
2.67 stb7100boot.cmd
Defines the commands for booting the co-processor cores into their debug ROMs on the multicore targets STi5202/STb7100/STb7109. See
.
Table 85.
stb7100boot.cmd
Command
stb7100_st231_boot stb7100_st231_audio_boot stb7100_st231_video_boot
Description
Boot all the ST231 cores into their debug ROMs.
Boot the audio ST231 core into its debug ROM.
Boot the video ST231 core into its debug ROM.
2.68 sti7200boot.cmd
Defines the commands for booting the co-processor cores into their debug ROMs on the multicore targets STi7200. See
.
Table 86.
sti7200boot.cmd
Command
sti7200_st231_boot sti7200_st231_audio0_boot sti7200_st231_audio1_boot sti7200_st231_video0_boot sti7200_st231_video1_boot
Description
Boot all the ST231 cores into their debug ROMs.
Boot the audio 0 ST231 core into its debug ROM.
Boot the audio 1 ST231 core into its debug ROM.
Boot the video 0 ST231 core into its debug ROM.
Boot the video 1 ST231 core into its debug ROM.
2.69 st40clocks.cmd
Defines the commands that change the frequencies of the various internal clocks of an
ST40RA or ST40GX1, see
.
Table 87.
st40clocks.cmd
Command Description
st40_cpu
<f
CPU
>bus<f
BUS
>mem<f
MEM
>per<f
PER
>
Set the internal clock frequencies where
<f
xxx
>
is the frequency in MHz. Several versions of the command are defined.
st40_displayclocks
Display the internal clock frequencies and PLL configuration register settings.
8045872 Rev 9 63/87
GDB command files UM1250
2.70 stb7100clocks.cmd
Defines the commands that display the frequencies of the various internal clocks of an
STi5202/STb7100/STb7109, see
Table 88.
stb7100clocks.cmd
Command
stb7100_displayclocks
Description
Display the internal clock frequencies and PLL configuration register settings.
2.71 sti5528clocks.cmd
Defines the commands that display the frequencies of the various internal clocks of an
Table 89.
sti5528clocks.cmd
Command
sti5528_displayclocks
Description
Display the internal clock frequencies and PLL configuration register settings.
2.72 stm8000clocks.cmd
Defines the commands that display the frequencies of the various internal clocks of an
STm8000, see
Table 90.
stm8000clocks.cmd
Command
stm8000_displayclocks
Description
Display the internal clock frequencies and PLL configuration register settings.
2.73 sti7200clocks.cmd
Defines the commands that display the frequencies of the various internal clocks of an
Table 91.
sti7200clocks.cmd
Command
sti7200_displayclocks
Description
Display the internal clock frequencies and PLL configuration register settings.
64/87 8045872 Rev 9
UM1250 GDB command files
2.74 stb7100jtag.cmd
Defines the commands for configuring the connection between an STMC1 or STMCLite and the ST40 CPU of an STi5202/STb7100/STb7109, see
Note:
Table 92.
stb7100jtag.cmd
Command Description
stb7100_bypass_setup stb7100_bypass_setup_attach stb7100_stmmx_setup
(2) stb7100_stmmx_setup_attach
Configure the STMC for a direct connection to the ST40
CPU.
Similar to stb7100_bypass_setup except that the
STi5202/STb7100/STb7109 is not reset. Used when attaching to a running or stopped target.
(1)
Configure the STMC1 for a connection to the ST40 CPU using an ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPU’s on the STi5202/STb7100/STb7109.
Similar to stb7100_stmmx_setup except that the
STi5202/STb7100/STb7109 is not reset. Used when
attaching to a running or stopped target.
1.
See
Section 2.78: sh4targets-attach.cmd on page 67
and
Section 2.79: sh4targets-attach-debug.cmd on page 69
2.
Only supported by the STMC1.
The $STb7100ResetDelay GDB convenience variable is used by the commands listed in
to set the delay (in milliseconds) when performing a reset of the target. The default
is 20 milliseconds. To override the default, set this variable before connecting to the
STi5202/STb7100/STb7109, for example the following sets a 200 ms delay: set $STb7100ResetDelay = 200
8045872 Rev 9 65/87
GDB command files UM1250
2.75 sti7200jtag.cmd
Defines the commands for configuring the connection between an STMC1 or an STMCLite and the ST40 CPU of an STi7200, see
.
Note:
Table 93.
sti7200jtag.cmd
Command Description
sti7200_bypass_setup sti7200_bypass_setup_attach sti7200_stmmx_setup
(2) sti7200_stmmx_setup_attach
Configure the STMC for a direct connection to the ST40
CPU.
Similar to sti7200_bypass_setup except that the
STi7200 is not reset. Used when attaching to a running or stopped target.
(1)
Configure the STMC1 for a connection to the ST40 CPU using an ST MultiCore/MUX device allowing simultaneous access to the ST40 and other CPU’s on the STi7200.
Similar to sti7200_stmmx_setup except that the
STi7200 is not reset. Used when attaching to a running or stopped target.
1.
See
Section 2.78: sh4targets-attach.cmd on page 67
and
Section 2.79: sh4targets-attach-debug.cmd on page 69
2.
Only supported by the STMC1.
The $STi7200ResetDelay GDB convenience variable is used by the commands listed in
to set the delay (in milliseconds) when performing a reset of the target. The default
is 20 milliseconds.
2.76 stv0498jtag.cmd
Defines the commands for configuring the connection between an STMC1 or an STMCLite and the ST40 CPU of an STV0498, see
Note:
Table 94.
stv0498jtag.cmd
Command Description
stv0498_bypass_setup
Configure the ST Micro Connect 1 for a direct connection to the ST40 CPU.
stv0498_bypass_setup_attach
Similar to stv0498_bypass_setup except that the
STV0498 is not reset. Used when attaching to a running or stopped target.
(1)
1.
See
Section 2.78: sh4targets-attach.cmd on page 67
and
Section 2.79: sh4targets-attach-debug.cmd on page 69
The $STV0498ResetDelay GDB convenience variable is used by the commands listed in
to set the delay (in milliseconds) when performing a reset of the target. The default
is 20 milliseconds.
66/87 8045872 Rev 9
UM1250 GDB command files
Defines the commands for connecting to all the targets supported by the ST40 Micro Toolset including simulated targets.
See
Section 1.1: Target connection overview on page 10
.
2.78 sh4targets-attach.cmd
Defines the commands for attaching to a running target using the resettype=break reset
type of the STMC1 or STMCLite (see
Table 7: Common STMC configuration commands on page 15
and
Table 18: ST TargetPack STMC configuration commands on page 24
commands do not reconfigure the target, instead they allow the user to take control of a
Table 95.
sh4targets-attach.cmd
Command
attach-sh4be attach-sh4le attach-sh4 attach-st40300be attach-st40300le attach-st40300
Description
Attach to a generic SH-4 target (big endian).
Attach to a generic SH-4 target (little endian).
As above but for a target with an ST40-300 core.
attach-stb7100-bypass attach-stb7100-stmmx
(1) attach-sti7200-bypass
attach-stv0498-bypass
Attach to an STi5202/STb7100/STb7109 target where the STMC is configured for a direct connection to the
ST40 CPU. See stb7100_bypass_setup_attach in
Attach to an STi5202/STb7100/STb7109 target where the STMC1 is configured to use the ST MultiCore/MUX device to connect to the ST40 CPU. See stb7100_stmmx_setup_attach
.
Attach to an STi7200 target where the STMC is configured for a direct connection to the ST40 CPU. See sti7200_bypass_setup_attach
.
Attach to an STi7200 target where the STMC1 is configured to use the ST MultiCore/MUX device to connect to the ST40 CPU. See sti7200_stmmx_setup_attach
.
Attach to an STV0498 target where the STMC is configured for a direct connection to the ST40 CPU. See stv0498_bypass_setup_attach
.
1.
Only supported by the STMC1.
8045872 Rev 9 67/87
GDB command files
Note:
UM1250
The equivalent sh4be and sh4le commands are listed in
.
Table 96.
ST40 sh4be and sh4le equivalents
Command connectsh4be/connectsh4le equivalent
attach-sh4be attach-sh4le attach-sh4 attach-st40300be attach-st40300le attach-st40300 attach-stb7100-bypass attach-stb7100-stmmx attach-sti7200-bypass attach-sti7200-stmmx attach-stv0498-bypass sh4be $arg0 "resettype=break ondisconnect=restart" sh4le $arg0 "resettype=break ondisconnect=restart" st40300be $arg0 "resettype=break ondisconnect=restart" st40300le $arg0 "resettype=break ondisconnect=restart" sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=st40
-inicommand stb7100_bypass_setup_attach" sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=stmmx tdidelay=1 -inicommand stb7100_stmmx_setup_attach" sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=st40
-inicommand sti7200_bypass_setup_attach" sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=stmmx tdidelay=1 -inicommand sti7200_stmmx_setup_attach" sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=st40
-inicommand stv0498_bypass_setup_attach"
In
Table 96 , $arg0 is the name (or IP address) of the ST Micro Connect.
The attach commands do not perform any target-specific customization (unlike the target-specific connection commands, see
Section 1.1: Target connection overview on page 10
). As a result, no GDB convenience variables are defined for the memory-mapped configuration registers. To define these convenience variables, invoke the appropriate SoC command for the target (see
Section 2.1: register40.cmd on page 29
define the memory-mapped configuration registers for an STb7109E-Ref board (MB448), invoke the stb7109_si_regs command.
For convenience, the attach command and SoC command can be combined by the user into a new GDB user command to provide a target-specific attach command. For example: define attach-mb448
source register40.cmd
source display40.cmd
attach-stb7100-bypass $arg0
stb7109_si_regs end
68/87 8045872 Rev 9
UM1250 GDB command files
2.79 sh4targets-attach-debug.cmd
Note:
The commands defined by sh4targets-attach-debug.cmd are similar to the attach commands defined by
, except that the target is expected to be
stopped in debug mode instead of running. A target is stopped in debug mode if the target was being debugged when disconnected with the ondisconnect mode set to none (the default).
The attach commands defined by sh4targets-attach-debug.cmd use the
resettype=none
reset type of the STMC1 or STMCLite.
See
Table 7: Common STMC configuration commands on page 15
and
ST TargetPack STMC configuration commands on page 24
for information on all configuration commands, including the attach commands.
Table 97.
sh4targets-attach-debug.cmd
Command Description
Attach to a generic SH-4 target (big endian).
attach-debug-sh4be attach-debug-sh4le attach-debug-sh4 attach-debug-st40300be attach-debug-st40300le attach-debug-st40300
Attach to a generic SH-4 target (little endian).
As above but for a target with an ST40-300 core.
attach-debug-stb7100-bypass attach-debug-stb7100-stmmx
(1) attach-debug-sti7200-bypass attach-debug-sti7200-stmmx
attach-debug-stv0498-bypass
Attach to an STi5202/STb7100/STb7109 target where the STMC is configured for a direct connection to the ST40 CPU. See stb7100_bypass_setup_attach
in
.
Attach to an STi5202/STb7100/STb7109 target where the STMC1 is configured to use the
ST MultiCore/MUX device to connect to the ST40
CPU. See stb7100_stmmx_setup_attach in
.
Attach to an STi7200 target where the STMC is configured for a direct connection to the ST40 CPU.
See sti7200_bypass_setup_attach in
Attach to an STi7200 target where the STMC1 is configured to use the ST MultiCore/MUX device to connect to the ST40 CPU. See sti7200_stmmx_setup_attach
in
Attach to an STV0498 target where the STMC is configured for a direct connection to the ST40 CPU.
See stv0498_bypass_setup_attach in
1.
Only supported by the STMC1.
8045872 Rev 9 69/87
GDB command files
Note:
UM1250
The equivalent sh4be and sh4le commands are listed in
.
Table 98.
ST40 sh4be and sh4le equivalents
Command connectsh4be/connectsh4le equivalent
sh4be $arg0 "resettype=none" attach-debug-sh4be attach-debug-sh4le attach-debug-sh4 attach-debug-st40300be attach-debug-st40300le attach-debug-st40300 sh4le $arg0 "resettype=none" st40300be $arg0 "resettype=none" st40300le $arg0 "resettype=none" attach-debug-stb7100-bypass attach-debug-stb7100-stmmx attach-debug-sti7200-bypass attach-debug-sti7200-stmmx attach-debug-stv0498-bypass sh4le $arg0 "resettype=none jtagpinout=st40
-inicommand stb7100_bypass_setup_attach" sh4le $arg0 "resettype=none jtagpinout=stmmx tdidelay=1
-inicommand stb7100_stmmx_setup_attach" sh4le $arg0 "resettype=none jtagpinout=st40
-inicommand sti7200_bypass_setup_attach" sh4le $arg0 "resettype=none jtagpinout=stmmx tdidelay=1
-inicommand sti7200_stmmx_setup_attach" sh4le $arg0 "resettype=none jtagpinout=st40
-inicommand stv0498_bypass_setup_attach"
In
, $arg0 is the name (or IP address) of the STMC.
2.80 sh4commands.cmd
Defines the commands for use with the targets, see
.
Table 99.
sh4commands.cmd
Command
linkspeed linktimeout memory-add
Description
Set the speed of the debug link between the target and an STMC1 or STMCLite. The default is 10 MHz and the maximum is 25 MHz. Use help linkspeed to display the complete list of link speeds.
Not compatible with the STMC2.
This is the same as the linkspeed configuration command.
(1)
Set the debug link timeout period in seconds or milliseconds.
This is the same as the linktimeout configuration command.
(1)
Add a memory region to the target.
70/87 8045872 Rev 9
UM1250
Note:
GDB command files
Table 99.
sh4commands.cmd (continued)
Command Description
ondisconnect posixconsole stmcconfigure stmcmsglevel use-watchpoint-access-size
Set the action to perform on disconnecting from the target.
This is the same as the ondisconnect configuration command.
(1)
Specify whether the console window should be created by calling console on|off. posixconsole takes a boolean value of 0 or 1 (the default is 1). This command is retained only for backward compatibility and may be removed from future releases.
Set a configuration command
(1)
after connecting to a target.
Note: The -inicommand configuration command cannot be specified to stmcconfigure (since it specifies a GDB command and not an STMC command).
Set the reporting level of the STMC diagnostic messages.
This is the same as the msglevel configuration command
(1)
.
Specify whether the access size is checked when matching watchpoints. The default is on.
Use help use-watchpoint-access-size to display the complete list of access size checking options, see the ST40 Micro Toolset User Manual (7379953) for further details.
This is the same as the useaccesssize configuration command
(1)
.
1.
The configuration commands are listed in:
Table 7: Common STMC configuration commands on page 15
Table 9: STMC1 configuration commands on page 19
Table 10: STMCLite configuration commands on page 19
Table 18: ST TargetPack STMC configuration commands on page 24
Not all configuration commands may be usefully set after connecting to a target.
lists the equivalent stmcconfigure commands for the target commands listed
in
.
Table 100.
stmcconfigure equivalents
Target command stmcconfigure equivalent command
linkspeed
speed linktimeout
timeout ondisconnect
action stmcmsglevel
level stmcconfigure linkspeed=speed stmcconfigure linktimeout=timeout stmcconfigure ondisconnect=action stmcconfigure msglevel=level use-watchpoint-access-size
size stmcconfigure useaccesssize=size
8045872 Rev 9 71/87
GDB command files UM1250
2.81 sh4targets-targetpack.cmd
See
Section 1.7: STMC2 target configuration using GDB command scripts on page 26
2.82 sh4enhanced.cmd
Defines the commands to set and display the (static) PMB translation mappings used when
in space enhanced mode (32-bit physical addressing), see
Table 101.
sh4enhanced.cmd
Command
sh4_display_all_pmb_mappings sh4_enhanced_mode sh4_set_pmb sh4_clear_pmb sh4_clear_all_pmbs sh4_display_pmb sh4_display_all_pmbs sh4_display_pmb_mapping
Description
Display the mappings of the valid PMB entries
Display or set space enhanced mode
Set a PMB entry
Clear a PMB entry
Clear all PMB entries
Lower level PMB set/display commands
2.83 sh4virtual.cmd
Defines the commands to set and display the dynamic UTLB translation mappings, see
Table 102.
sh4virtual.cmd
Command
sh4_display_all_utlb_mappings sh4_set_utlb sh4_clear_utlb sh4_clear_all_utlbs sh4_display_utlb sh4_display_all_utlbs sh4_display_utlb_mapping sh4_virtual_mode
Description
Display the mappings of all valid UTLB entries
Lower level UTLB set/display commands
2.84 allcmd.cmd
Sources all the GDB script files supplied with the ST40 Micro Toolset; the main purpose of this is to make available all commands defined by the scripts supplied with the ST40 Micro
Toolset.
72/87 8045872 Rev 9
UM1250
Appendix A JTAG control
A.1
JTAG control
Introduction to JTAG
JTAG is an acronym for the Joint Test Access Group which specified the IEEE 1149.1 Test
Access Port and Boundary-Scan Architecture. The ST40 User Debug Interface (UDI) conforms to the IEEE 1149.1 standard and uses all five signals defined in the standard
(TCK, TMS, TDI, TDO, and notTRST) plus notASEBRK/BRKACK which is an additional signal specific to the ST40 UDI debug emulation function.
On some ST40 system-on-chip (SoC) devices, the TCK signal for the ST40 UDI is provided separately to the TCK signal used by the Test Access Port (TAP) for the SoC. In these instances, the TCK signal for the ST40 UDI is normally referred to as DCK however, in this appendix, the signal name TCK is used to refer to the ST40 UDI signal.
A.2 The command
The jtag command is enabled by issuing the GDB user command enable_jtag (defined in the jtag.cmd GDB command script file).
jtag commands
This command enables access to the ST40 UDI for manual control of the standard IEEE
1149.1 TAP and notASEBRK signals plus the notRESET and TRIG_OUT signals of the target platform. Also, when used with a target which is connected through an
ST MultiCore/MUX device, the jtag command provides control of the signal to switch between the TAP of the target and the TAP of the ST MultiCore/MUX.
The subcommands supported by the jtag command are listed in
.
Table 103.
jtag subcommands
Command
asebrk=signal help mode=mode nrst=signal ntrst=signal stmmx=signal tck=signal tdi=variable
Description
Specify the notASEBRK signal sequence.
Display help for the jtag command.
Set the mode of the TAP, where mode is one of the modes listed in
.
Specify the notRESET signal sequence.
Specify the notTRST signal sequence.
Specify the signal sequence to switch between the TAP of the
ST MultiCore/MUX and the TAP of the target.
Specify the TCK signal sequence. Only valid when mode is set to manual otherwise the signal is ignored.
Return a numerical representation of the TDI signal sequence into a GDB convenience variable. This is the signal received by the STMC’s TDI signal from the TDO of the target TAP.
See
Section A.2.3: TDI signal capture on page 76
for details on the representation of the TDI signal in variable.
8045872 Rev 9 73/87
JTAG control UM1250
Table 103.
jtag subcommands (continued)
Command Description
tdo=signal
Specify the TDO signal sequence. This is the signal sent by the STMC’s
TDO signal to the TDI of the target TAP.
tms=signal
Specify the TMS signal sequence.
triggerout=signal
Specify the TRIG_OUT signal sequence.
The asebrk, nrst, ntrst, tck, tdi, tdo, tms, triggerout and stmmx signal subcommands of the jtag command may be combined with each other (using space separation) whereas the mode and help subcommands may not be combined with any
other jtag subcommand. The syntax of signal is described in
Section A.2.2: Signal specification
.
Note: 1
The stmmx signal subcommand only has an effect when the jtagpinout configuration
command has been set to stmmx.
2
When jtagpinout is set to stmmx the asebrk signal subcommand has no effect.
3
When jtagpinout is set to STMC_Type_B, the triggerout signal subcommand has no
effect.
The modes of the TAP supported by the mode subcommand are listed in
.
Table 104.
JTAG modes
Mode
normal manual singleshot continuous
Description
Release manual control of the TAP and return to GDB sole control of the
ST40. All further manual control of the TAP is disabled until the mode is changed to one of the other modes listed in this table.
This is the default mode.
Set the TAP to manual control. GDB no longer has control of the ST40 and care must be taken to ensure GDB does not attempt to access the ST40 until the TAP has been returned to normal mode (as this will result in undefined behavior).
In manual mode, the TCK signal has to be explicitly specified through the tck signal subcommand (unlike the singleshot and continuous modes).
The same as manual mode except that the TCK signal is automatically clocked 1 cycle for each signal specified by the jtag command. The TDI signal is captured a short period after the falling edge of TCK.
The tck signal subcommand is ignored in this mode.
The same as singleshot mode except that the TCK signal is continuously clocked until the TAP mode is changed.
All the signal subcommands are ignored until the TAP is returned to manual or singleshot
mode.
74/87 8045872 Rev 9
UM1250
Note:
JTAG control
The TCK clock speed in the singleshot and continuous modes is determined by the debug link speed as set by the linkspeed configuration command (
STMC configuration commands on page 15 ) or the linkspeed user command.
The TCK clock speed in manual mode is determined by the signal sequence specified by the tck subcommand and the speed at which the ST Micro Connect can transmit the signal up to a maximum of the debug link speed.
The BNF for the signal sequence specified by the signal argument to the tck, tms, tdo, ntrst
, nrst, asebrk, triggerout and stmmx signal subcommands is as follows:
signal ::= signal-element | signal signal-element
signal-element ::= signal-group | signal-list
signal-group ::= ( signal-list * signal-repeat )
signal-repeat ::= decimal-constant
signal-list ::= signal-level | signal-list signal-level
signal-level ::= 0 | 1 where decimal-constant is a literal unsigned decimal constant. Alternatively, using the notation of a regular expression, the syntax for a signal sequence may be expressed as
([01]|([01]+*repeat))+ where repeat is a decimal constant ([0-9]+). No white space characters are allowed in a signal sequence specification.
The signal-group syntax is provided in order to express, in a compact notation, a repeating signal-list sequence. That is, a signal-group specification is equivalent to specifying a signal-list for signal-repeat times as a single contiguous
signal-list
.
Examples specifying TMS signals to the jtag command to perform simple TAP state machine transitions are as follows:
● explicit sequence to enter the Run-Test-Idle state (after Tap-Logic-Reset):
● jtag tms=111110 alternative sequence using grouping to enter the Run-Test-Idle state:
● jtag tms=(1*5)0 sequence to read (and write) a 32-bit value from the TAP data register leaving the TAP in the Run-Test-Idle state: jtag tms=(1*5)010(0*32)110 where (1*5) takes the TAP to the Test-Logic-Reset state, 0 to Run-Test-Idle, 1 to
Select-DR, 0 to Capture-DR, (0*32) to Shift-DR for 32 iterations, 1 to Exit1-DR, 1 to
Update-DR, and 0 to Run-Test-Idle.
If a signal subcommand is not specified to the jtag command then the level for the signal is left unchanged from the final level of its last specified signal sequence (or if never specified, its initial level as defined in
). Also, if a signal sequence is specified in a signal subcommand which is shorter than any other specified signal sequences then the level of the signal is also left unchanged from its final level (in the sequence) while the remainder of
8045872 Rev 9 75/87
JTAG control
Note:
UM1250
the other signal sequences are transmitted (and in any future jtag command if not specified).
The initial levels of the TAP signals when switching to manual control of the TAP for the first
Table 105.
Initial signal levels
Signal Initial level
asebrk ntrst nrst stmmx tck tdo tms triggerout
1
1
1
1
0
0
1
0
Comment
The debug emulation function of the ST40 UDI is activated when notASEBRK is 0.
The TAP is reset when notTRST is 0.
The target is reset when notRESET is 0.
The TAP of the ST MultiCore/MUX is selected when the stmmx signal is set to 0.
The clocking of TCK is assumed to generate a clock signal which first presents a rising-edge for TCK and then a falling-edge for TCK
(guaranteed when in singleshot and continuous modes).
The STMC’s TDO is connected to the target’s TDI.
The TAP is always guaranteed to return to the Test-Logic Reset state after 5 TCK clock cycles when TMS is set to 1.
The STMC’s TRIG_OUT is connected to the target’s TRIG_IN.
The initial signal levels have been chosen to ensure that the target is not affected when
switching to manual control of the TAP signals. When switching from manual mode to any
other mode the TCK signal is always reset to its initial level of 0. In singleshot and continuous
modes, TCK always returns to the initial level of 0 after every clock cycle. All other signals retain their levels when switching between modes.
The ST Micro Connect’s TDI signal from the TDO of the target TAP can be captured by the jtag
command by specifying the tdi subcommand with a GDB convenience variable name template into which the numerical representations of the TDI signal levels are saved.
A target application variable cannot be used directly for capturing the TDI signal as GDB has no access to the ST40 in order to save the captured signal while the TAP is under manual control. Instead a GDB convenience variable can be used to store the captured signal until the mode is returned to normal, at which point the GDB convenience variable can be used to set the target application variable.
The jtag command sets several variables derived from the GDB convenience variable name template, variable, specified by the tdi subcommand.
variable_n
This variable is set to the number of bits required to represent the
TDI signal levels captured by the jtag command. The number of bits indicates the number of 32-bit variables (see below) that were set by the jtag command in order to hold the numerical representation of the captured TDI signal.
76/87 8045872 Rev 9
UM1250 JTAG control
A.2.4
variable_0
variable_x
This variable is set to the first 32 bits of the captured TDI signal where each bit represents a TDI signal level (0 or 1). The bits representing the TDI signal levels are packed such that the least significant bit of the variable is the first captured TDI signal level and the most significant bit is the last captured TDI signal level.
If the TDI signal captured by the jtag command requires more than
32 bits in order to be represented then other numbered 32-bit variables (counting monotonically) are set in order to represent the complete captured TDI signal.
The last TDI signal level captured by the jtag command is in the most significant valid bit in the variable_x with the greatest numerical count x. The remaining bits are set to 0.
The following example shows how a TDI signal of 35 bits is represented.
variable_0
variable_1
31 30 29
1
0
1
0
1
0
28...5
1...1
0...0
4
1
0
3
1
0
2
1
1
1
1
1
0
1
1
Using the jtag command
The jtag command is typically used in a user command invoked by the -inicommand
Table 7: Common STMC configuration commands on page 15
) when connecting to a target that requires configuration of the target through the TAP.
However, the use of the jtag command is not limited to being invoked through a
-inicommand
user command, and may be used at any point as long as GDB does not attempt to access the ST40 while the TAP is under manual control.
lists the target connection commands that use a -inicommand configuration
command to configure the target TAP and the GDB command script file in which it is defined.
Table 106.
TAP configuration commands
Target command TAP configuration command
mb411bypass mb411stb7100bypass mb411stmmx mb411stb7100stmmx mb411stb7109bypass mb411stb7109sebypass mb411stb7109seucbypass mb411stb7109se29bypass mb411stb7109stmmx mb411stb7109sestmmx mb411stb7109seucstmmx mb411stb7109se29stmmx mb411stb7100bypass_setup mb411stb7100stmmx_setup mb411stb7109bypass_setup mb411stb7109stmmx_setup
Command file
mb411stb7100.cmd
mb411stb7109.cmd
8045872 Rev 9 77/87
JTAG control UM1250
Table 106.
TAP configuration commands (continued)
Target command TAP configuration command
mb442bypass mb442stb7100bypass stb7100refbypass mb442stmmx mb442stb7100stmmx stb7100refstmmx mb442stb7109bypass mb442stb7109sebypass mb442stb7109seucbypass mb442stb7109se29bypass mb442stb7109stmmx mb442stb7109sestmmx mb442stb7109seucstmmx mb442stb7109se29stmmx mb448bypass mb448sebypass mb448seucbypass mb448se29bypass mb448stmmx mb448sestmmx mb448seucstmmx mb448se29stmmx mb519bypass mb519sebypass mb519seucbypass mb519se29bypass mb519stmmx mb519sestmmx mb519seucstmmx mb519se29stmmx mb521bypass mb602bypass mb602sebypass mb602seucbypass mb602se29bypass mb602stmmx mb602sestmmx mb602seucstmmx mb602se29stmmx mb625bypass mb442stb7100bypass_setup mb442stb7100stmmx_setup mb442stb7109bypass_setup mb442stb7109stmmx_setup mb448bypass_setup mb448stmmx_setup mb519bypass_setup mb519stmmx_setup mb521bypass_setup mb602bypass_setup mb602stmmx_setup mb625bypass_setup
Command file
mb442stb7100.cmd
mb442stb7109.cmd
mb448.cmd
mb519.cmd
mb521.cmd
mb602.cmd
mb625.cmd
78/87 8045872 Rev 9
UM1250 JTAG control
Additional examples of using the jtag command to configure and query the TAP of a target are defined in the GDB command script files listed in
. These script files are located in the subdirectory sh-superh-elf/stdcmd under the release installation directory.
Table 107.
TAP command files
Command file
jtaghudi.cmd
jtagstmmx.cmd
jtagtmc.cmd
Usage
Defines the commands for querying and configuring the ST40 UDI.
Defines the commands for querying and configuring the ST MultiCore/MUX device.
Defines the commands for querying and configuring the TAP Mode
Controller (TMC) of an SoC.
8045872 Rev 9 79/87
Revision history
Revision history
UM1250
Table 108.
Document revision history
Date Revision
16-Nov-2012
25-Oct-2011
26-Sep-2010
9
8
G
Changes
Minor updates made throughout.
Updated
Added
ST Micro Connection Package documentation suite on page 7
.
Updated
Section 1.6: Commands to connect to a target using an
and
Section 1.8: Connecting to a running target on page 27
Renamed b2000 to b2000stih415 in
Table 3: Primary targets on page 12
Section 2.30: b2000stih415.cmd on page 40
Minor updates made throughout.
Updated
Table 3: Primary targets on page 12
with new targets.
Section 1.3.1: Commands to connect to a target through an
and added
Table 8: Configuration commands for
STMC2 when connected using JTAG on page 18
Added the following GDB command scripts:
Section 2.5: fli7610.cmd on page 31
Section 2.25: stih415.cmd on page 38
,
Section 2.30: b2000stih415.cmd on page 40
Section 2.34: fli7610hdk.cmd on page 42
.
Minor updates made throughout.
With the introduction of the ST Micro Connect Lite, changed references to STMC1 and added references to STMCLite wherever
and throughout
Target configuration on page 9
Section 2.78: sh4targets-attach.cmd on page 67
Section 2.79: sh4targets-attach-debug.cmd on page 69
Updated
Section Table 3.: Primary targets on page 12
st40300 target, FLi7510 and FLi7540 development boards.
Added the following GDB command scripts:
Section 2.4: fli7540.cmd on page 31
Section 2.35: fudb_gpd201.cmd on page 43
The STMC1 “usb” variants of the connection commands have been removed from the ST40 Micro Toolset. This affects the following sections:
Section 1.1: Target connection overview on page 10
Section 1.3.1: Commands to connect to a target through an STMC on page 14
,
Section 2.78: sh4targets-attach.cmd on page 67
Section 2.79: sh4targets-attach-debug.cmd on page 69
Section A.2.4: Using the jtag command on page 77
80/87 8045872 Rev 9
UM1250 Revision history
Table 108.
Document revision history (continued)
Date Revision Changes
17-Nov-2009
22-May-2009
10-Nov-2008
6-Jun-2008
F
E
D
C
Updated
Section Table 3.: Primary targets on page 12
Table 7: Common STMC configuration commands on page 15
and
Table 18: ST TargetPack STMC configuration commands on page 24
Removed all references to the mb742 and mb831 boards as these projects have now been cancelled.
Added the following GDB command scripts:
Section 2.3: fli7510.cmd on page 31
,
Section 2.21: sti7108.cmd on page 37
,
Section 2.28: adi7105.cmd on page 39
Section 2.29: adi7108.cmd on page 40
Section 2.31: cab5197cmd on page 41
Section 2.32: eud7141.cmd on page 41
,
Section 2.33: fldb_gpd201.cmd on page 42
,
Section 2.36: hdk5189.cmd on page 43
Section 2.37: hdk5289sti5206.cmd on page 44
Section 2.38: hdk5289sti5289.cmd on page 44
Section 2.39: hdk7105.cmd on page 45
Section 2.40: hdk7106.cmd on page 45
Section 2.41: hdk7108.cmd on page 46
Section 2.42: hdk7111.cmd on page 46
Section 2.64: mb837.cmd on page 61
Section 2.65: sat5189cmd on page 62
,
Section 2.66: sat7111.cmd on page 62
Other minor, nontechnical changes made.
Added the following GDB command scripts:
Section 2.16: sti5206.cmd on page 35
,
Section 2.17: sti5289.cmd on page 35
,
Section 2.20: sti7106.cmd on page 36
,
Section 2.60: mb680sti7106.cmd on page 59
,
Section 2.62: mb796sti5206 on page 60
,
Section 2.63: mb796sti5289 on page 61
.
Renamed mb680.cmd and its commands in
Section 2.59: mb680sti7105.cmd on page 59
.
Updated
Section 2.80: sh4commands.cmd on page 70
Updated
Appendix A: JTAG control on page 73
triggerout
signal.
Added new configuration command debuginterrupt to
Section 1.3.1: Commands to connect to a target through an STMC on page 14
Section 1.6: Commands to connect to a target using an ST TargetPack on page 24
.
Throughout: added details relating to the STi7105, STi7111,
STi5189/97, STi7141, and STi7200 (cut 2) and their respective boards.
Other minor nontechnical updates made.
8045872 Rev 9 81/87
Revision history UM1250
Table 108.
Document revision history (continued)
Date Revision Changes
5-Dec-2007
26-Mar-2007
B
A
Throughout, added details relating to STi5202 and mb602.
Added new configuration command, tdotimingchange in
Common STMC configuration commands on page 15
.
Added information on ST TargetPack restrictions in
STMC2 target configuration using GDB command scripts on page 26
Other minor nontechnical updates made.
Initial release.
82/87 8045872 Rev 9
UM1250
Index
Index
A
adi7105.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .39
adi7108.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .40
allcmd.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . .72
B
Backus-Naur Form
. . . . . . . . . . . . . . . . . . . . . . .8
big endian connect to simulator
. . . . . . . . . . . . . . . . . . .21
C
cab5197cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .41
clock frequency commands
-
command scripts
. . . . . . . . . . . . . . . . . . . . . . . .9
Configuration commands
. . . . . . . . . . . . . . . . .22
configuration registers display content commands
FLi7510
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
FLi7540
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
FLi7610
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
location commands
. . . . . . . . . . . . . . . . . . . .29
PLL settings
. . . . . . . . . . . . . . . . . . . . . . 63
-
ST40-300 commands
. . . . . . . . . . . . . . . . . .49
STb7100 commands
. . . . . . . . . . . . . . . .47
STb7100-MBoard
. . . . . . . . . . . . . . . . . . . . .47
STb7100-Ref board
. . . . . . . . . . . . . . 47
-
STb7109 commands
. . . . . . . . . . . . . . . .48
STb7109E commands
. . . . . . . . . . . . . . . . . .52
STb7109E-Ref board
. . . . . . . . . . . . . . .52
STb7109-Ref board
STd1000
. . . . . . . . . . . . . . . . . . . . . . . . . . . .54
STi5189
. . . . . . . . . . . . . . . . . . . . 43
STi5197
. . . . . . . . . . . . . . . . . . . . . . 41
STi5202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
STi5202-MBoard
. . . . . . . . . . . . . . . . . . . . . .55
STi5206
. . . . . . . . . . . . . . . . . . . . . . . . . .44
STi5289
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
STi7105
. . . . . . . . . . . . . . . . . . . . . . 39
STi7106
. . . . . . . . . . . . . . . . . . . . . . . . . .45
STi7108
. . . . . . . . . . . . . . . . . . . . . . 40
STi7111
. . . . . . . . . . . . . . . . . . . . . . 46
STi7200
. . . . . . . . . . . . . . . . . . . . . . . . . .53
STi7200-MBoard
. . . . . . . . . . . . . . . . . . . . . .53
STiH415
. . . . . . . . . . . . . . . . . . . . . . . . . . . .40
STV0498
. . . . . . . . . . . . . . . . . . . . . . . . .54
STV0498-MBoard
. . . . . . . . . . . . . . . . . .54
connecting to targets
. . . . . . . . . . . . . . . . . . 9
core memory map
FLi7140
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
FLi7510
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ST40-300
. . . . . . . . . . . . . . . . . . . . . . . . . . . 32
STb7100
. . . . . . . . . . . . . . . . . . . . . . . . . 32
STb7109
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
STd1000
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
STd2000
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
STi5189
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
STi5197
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
STi5202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
STi5528
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
STi7105
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
STi7108
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
STi7111
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
STi7141
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
STi7200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
STiH415
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
STm8000
. . . . . . . . . . . . . . . . . . . . . . . . . . . 38
STV0498
. . . . . . . . . . . . . . . . . . . . . . . . . . . 39
D
display40.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . 30
DTV150 boards
. . . . . . . . . . . . . . . . . . . . . . . . 54
E
eud7141.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 41
F
fldb_gpd201.cmd
. . . . . . . . . . . . . . . . . . . . . . . 42
FLi7510 configuration registers
. . . . . . . . . . . . . . 42
core memory map
. . . . . . . . . . . . . . . . . . . . 31
FLi7510 development board
. . . . . . . . . . . . . . 42
fli7510.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 31
FLi7540 core memory map
. . . . . . . . . . . . . . . . . . . . 31
FLi7540 development board
. . . . . . . . . . . . . . 43
fli7540.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 31
FLi7610 configuration registers
. . . . . . . . . . . . . . . . . 42
core memory map
. . . . . . . . . . . . . . . . . . . . 31
FLi7610_HDK board
. . . . . . . . . . . . . . . . . . . . 42
fudb_gpd201.cmd
. . . . . . . . . . . . . . . . . . . . . . 43
8045872 Rev 9 83/87
Index UM1250
G
GDB script files
. . . . . . . . . . . . . . . . . . . . . . . . . . . .9
H
hdk5189.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .43
hdk5289sti5206.cmd
. . . . . . . . . . . . . . . . . . . .44
hdk5289sti5289.cmd
. . . . . . . . . . . . . . . . . . . .44
hdk7105.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .45
hdk7106.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .45
hdk7108.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .46
hdk7111.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .46
I
internal clocks
. . . . . . . . . . . . . . . . . . . . . . 63
-
J
JTAG operations
. . . . . . . . . . . . . . . . . . . . . . . .9
M
mb411stb7100.cmd
. . . . . . . . . . . . . . . . . . . . .47
mb411stb7109.cmd
. . . . . . . . . . . . . . . . . . . . .48
mb442stb7100.cmd
. . . . . . . . . . . . . . . . . . 49
-
mb442stb7109.cmd
. . . . . . . . . . . . . . . . . . . . .51
mb448.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .52
mb519.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .53
mb521.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .54
mb548.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .54
mb602.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .55
mb618.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .56
mb625.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .56
mb628.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .57
mb671.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .57
mb676sti5189.cmd
. . . . . . . . . . . . . . . . . . . . . .58
mb676sti5197cmd
. . . . . . . . . . . . . . . . . . . . . .58
mb680sti7105.cmd
. . . . . . . . . . . . . . . . . . . . . .59
mb680sti7106.cmd
. . . . . . . . . . . . . . . . . . . . . .59
mb704.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .60
mb796sti5206
. . . . . . . . . . . . . . . . . . . . . . . . . .60
mb796sti5289
. . . . . . . . . . . . . . . . . . . . . . . . . .61
mb837.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .61
mediaref.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . .63
memory regions
FLi7510 development board
FLi7540 development board
FLi7610-HDK board
. . . . . . . . . . . . . . . . . . .42
ST230EMU-PCI board
. . . . . . . . . . . . . . . . .49
STb7100-MBoard
. . . . . . . . . . . . . . . . . . . . .47
STb7100-Ref board
. . . . . . . . . . . . . . . . 50
STb7109E-Ref board
. . . . . . . . . . . . . . . 52
STb7109-Ref board
. . . . . . . . . . . . . . . . . . . 48
STi5189/97-MB
. . . . . . . . . . . . . . . . . . . . . . 58
STi5189-HDK board
. . . . . . . . . . . . . . . . . . . 43
STi5189-SAT board
. . . . . . . . . . . . . . . . . . . 62
STi5197-CAB board
. . . . . . . . . . . . . . . . . . . 41
STi5197-MBoard
. . . . . . . . . . . . . . . . . . . . . 60
STi5202-MBoard
. . . . . . . . . . . . . . . . . . . . . 55
STi5206-HDK board
. . . . . . . . . . . . . . . . . . . 44
STi5206-MBoard
. . . . . . . . . . . . . . . . . . . . . 60
STi5289-HDK board
. . . . . . . . . . . . . . . . . . . 44
STi5289-MBoard
. . . . . . . . . . . . . . . . . . . . . 61
STi7105-ADI board
. . . . . . . . . . . . . . . . . . . . 39
STi7105-HDK board
. . . . . . . . . . . . . . . . . . . 45
STi7105-MBoard
. . . . . . . . . . . . . . . . . . . . . 59
STi7106-HDK board
. . . . . . . . . . . . . . . . . . . 45
STi7106-MBoard
. . . . . . . . . . . . . . . . . . . . . 59
STi7108-ADI board
. . . . . . . . . . . . . . . . . . . . 40
STi7108-HDK board
. . . . . . . . . . . . . . . . . . . 46
STi7108-MBoard
. . . . . . . . . . . . . . . . . . . . . 61
STi7111-HDK board
. . . . . . . . . . . . . . . . . . . 46
STi7111-MBoard
. . . . . . . . . . . . . . . . . . . . . 56
STi7111-SAT board
. . . . . . . . . . . . . . . . . . . 62
STi7141-EUD board
. . . . . . . . . . . . . . . . . . . 41
STi7141-MBoard
. . . . . . . . . . . . . . . . . . . . . 57
STi7200-MBoard
. . . . . . . . . . . . . . . . . . 53
STiH415-MBoard
. . . . . . . . . . . . . . . . . . . . . 40
STV0498-MBoard
. . . . . . . . . . . . . . . . . . 54
R
register40.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . 29
S
sat5189.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 62
sat7111.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 62
sh4commands.cmd
. . . . . . . . . . . . . . . . . . . . . 69
sh4connect.cmd
. . . . . . . . . . . . . . . . . . . . . . . 63
sh4enhanced.cmd
. . . . . . . . . . . . . . . . . . . . . . 72
sh4gdb
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
sh4insight
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
sh4targets.cmd
. . . . . . . . . . . . . . . . . . . . . . . . 67
sh4virtual.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . 72
sh4xrun
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
shsimcmds.cmd
. . . . . . . . . . . . . . . . . . . . . . . . 63
Software notation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Space enhancement mode
. . . . . . . . . . . . . . . 10
ST Micro Connect
. . . . . . . . . . . . . . . . . 9
configuration commands
. . . . . . . . . . . . . . . 15
connection commands
. . . . . . . . . . . . . . 65
84/87 8045872 Rev 9
UM1250 Index
ST Micro Connect 1
. . . . . . . . . . . . . . . . . . . .1
ST Micro Connect 2
. . . . . . . . . . . . . . . . . . . . . .1
ST Micro Connect Lite
. . . . . . . . . . . . . . . . . .1
ST Micro Connection Package
ST MultiCore/MUX
. . . . . . . . . . . . . . . . . . . . . .11
ST TargetPack
. . . . . . . . . . . . . . . 1
-
ST230EMU-PCI board
. . . . . . . . . . . . . . . . . . .49
ST40 Micro Toolset
. . . . . . . . . . . . . . . . . . . . . .9
ST40-100 configuration registers
. . . . . . . . . . . . . . . 29
-
ST40-200 configuration registers
. . . . . . . . . . . . . . . 29
-
ST40-300
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
attribute commands
. . . . . . . . . . . . . . . . . . . .32
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . .32
ST40-400 configuration registers
. . . . . . . . . . . . . . . 29
-
ST40-500 configuration registers
. . . . . . . . . . . . . . . 29
-
st40clocks.cmd
. . . . . . . . . . . . . . . . . . . . . . . . .63
ST40GX1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
attribute commands
. . . . . . . . . . . . . . . . . . . .32
configuration registers
. . . . . . . . . . . . . . . 29
-
st40gx1.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .32
ST40RA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
attribute commands
. . . . . . . . . . . . . . . . . . . .32
configuration registers
. . . . . . . . . . . . . . . 29
-
STb7100
. . . . . . . . . . . . . . . . . . . . . . . 63
attach command
. . . . . . . . . . . . . . . . . . .67
attribute commands
. . . . . . . . . . . . . . . . . . . .33
clock frequency commands
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . .33
stb7100.cmd
. . . . . . . . . . . . . . . . . . . . . . . . 32
-
stb7100boot.cmd
. . . . . . . . . . . . . . . . . . . . . . .63
stb7100clocks.cmd
. . . . . . . . . . . . . . . . . . . . . .64
stb7100jtag.cmd
. . . . . . . . . . . . . . . . . . . . . . . .64
STb7100-Ref board
. . . . . . . . . . . . . . . 47
-
STb7109
. . . . . . . . . . . . . . . . . . . . . . . . . . .63
attach command
. . . . . . . . . . . . . . . . . . .67
attribute commands
. . . . . . . . . . . . . . . . . . . .33
clock frequency commands
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . .33
stb7109.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .33
STb7109E configuration registers
. . . . . . . . . . . . . . . . . .52
STb7109E-Ref board
. . . . . . . . . . . . . . . . .52
STb7109-Ref board
. . . . . . . . . . . . . . . . . . . . .48
stb7200boot.cmd
. . . . . . . . . . . . . . . . . . . . . . .63
STd1000 attribute commands
. . . . . . . . . . . . . . . . . . . 33
configuration registers
. . . . . . . . . . . . . . . . . 54
core memory map
. . . . . . . . . . . . . . . . . . . . 33
std1000.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 33
STd2000 attribute commands
. . . . . . . . . . . . . . . . . . . 34
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . 34
std2000.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 34
STi5189 attribute commands
. . . . . . . . . . . . . . . . . . . 34
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . 34
STi5189/97-MB
. . . . . . . . . . . . . . . . . . . . . . . . 58
STi5189-HDK board.
. . . . . . . . . . . . . . . . . . . . 43
STi5189-MBoard
. . . . . . . . . . . . . . . . . . . . . . . 61
STi5189-SAT board
. . . . . . . . . . . . . . . . . . . . . 62
STi5197 attribute commands
. . . . . . . . . . . . . . . . . . . 34
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . 34
STi5197-CAB board
. . . . . . . . . . . . . . . . . . . . 41
STi5197-MBoard
. . . . . . . . . . . . . . . . . . . . . . . 60
STi5202
. . . . . . . . . . . . . . . . . . . . . 63
,
attach command
. . . . . . . . . . . . . . . . . . . 67
attribute commands
. . . . . . . . . . . . . . . . . . . 35
clock frequency commands
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . 35
STi5202-MBoard
. . . . . . . . . . . . . . . . . . . . . . . 55
STi5206 configuration registers
. . . . . . . . . . . . . . 44
STi5206-HDK board
. . . . . . . . . . . . . . . . . . . . 44
STi5206-MBoard
. . . . . . . . . . . . . . . . . . . . . . . 60
STi5289 configuration registers
. . . . . . . . . . . . . . . . . 44
sti5289.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
STi5289-HDK board
. . . . . . . . . . . . . . . . . . . . 44
STi5528 attribute commands
. . . . . . . . . . . . . . . . . . . 36
clock frequency commands
configuration registers
. . . . . . . . . . . . . . 29
core memory map
. . . . . . . . . . . . . . . . . . . . 36
sti5528.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 36
sti5528clocks.cmd
. . . . . . . . . . . . . . . . . . . . . . 64
STi7105 configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . 36
sti7105.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . . 36
STi7105-ADI board
. . . . . . . . . . . . . . . . . . . . . 39
STi7105-HDK board
. . . . . . . . . . . . . . . . . . . . 45
STi7105-MBoard
. . . . . . . . . . . . . . . . . . . . . . . 59
8045872 Rev 9 85/87
Index UM1250
STi7106 configuration registers
. . . . . . . . . . . . . . .45
sti7106.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .36
STi7106-HDK board
. . . . . . . . . . . . . . . . . . . . .45
STi7106-MBoard
. . . . . . . . . . . . . . . . . . . . . . .59
STi7108 configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . .37
sti7108.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .37
STi7108-ADI board
. . . . . . . . . . . . . . . . . . . . .40
STi7108-HDK board
. . . . . . . . . . . . . . . . . . . . .46
STi7108-MBoard
. . . . . . . . . . . . . . . . . . . . . . .61
STi7111 attribute commands
. . . . . . . . . . . . . . . . . . . .37
configuration registers
core memory map
. . . . . . . . . . . . . . . . . . . . .37
sti7111.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .37
STi7111-HDK board
. . . . . . . . . . . . . . . . . . . . .46
STi7111-MBoard
. . . . . . . . . . . . . . . . . . . . . . .56
STi7111-SAT board
. . . . . . . . . . . . . . . . . . . . .62
STi7141 attribute commands
. . . . . . . . . . . . . . . . . . . .37
configuration registers
. . . . . . . . . . . . . . .41
core memory map
. . . . . . . . . . . . . . . . . . . . .37
sti7141.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .37
STi7141-EUD board
. . . . . . . . . . . . . . . . . . . . .41
STi7141-MBoard
. . . . . . . . . . . . . . . . . . . . . . .57
STi7200
. . . . . . . . . . . . . . . . . . . . . . . . . . .63
attach command
. . . . . . . . . . . . . . . . . . . . . .67
attribute commands
. . . . . . . . . . . . . . . . . . . .38
clock frequency commands
configuration registers
. . . . . . . . . . . . . . .53
core memory map
. . . . . . . . . . . . . . . . . . . . .38
STi7200,
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
sti7200.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . .38
sti7200clocks.cmd
. . . . . . . . . . . . . . . . . . . . . .64
STi7200-MBoard
. . . . . . . . . . . . . . . . . . . .53
STiH415 configuration registers
. . . . . . . . . . . . . . . . . .40
core memory map
. . . . . . . . . . . . . . . . . . . . .38
STiH415-HVK
. . . . . . . . . . . . . . . . . . . . . . . . . .40
STm8000 attribute commands
. . . . . . . . . . . . . . . . . . . .38
clock frequency commands
configuration registers
. . . . . . . . . . . . . . . 29
-
core memory map
. . . . . . . . . . . . . . . . . . . . .38
stm8000.cmd
. . . . . . . . . . . . . . . . . . . . . . .32
STV0498
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
attach command
. . . . . . . . . . . . . . . . . . . . . .67
attribute commands
. . . . . . . . . . . . . . . . . . . .39
configuration registers
. . . . . . . . . . . . . . .54
core memory map
. . . . . . . . . . . . . . . . . . . . .39
stv0498.cmd
. . . . . . . . . . . . . . . . . . . . . . . . . . 39
STV0498-MBoard
. . . . . . . . . . . . . . . . . . . 54
STWorkbench
. . . . . . . . . . . . . . . . . . . . . . . . . . 9
T
target connection commands
. . . . . . . . . . . . . . . . . 67
86/87 8045872 Rev 9
UM1250
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2012 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
8045872 Rev 9 87/87
डाउनलोड
विज्ञापन