Target configuration commands. STMicroelectronics ST40 Micro Toolset GDB command scripts
Publicitate
Publicitate
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
Descarcă
Publicitate