Download ST40 Micro Toolset GDB command scripts
Transcript
GDB command files UM1250 The equivalent sh4be and sh4le commands are listed in Table 96. Table 96. Note: ST40 sh4be and sh4le equivalents Command connectsh4be/connectsh4le equivalent attach-sh4be sh4be $arg0 "resettype=break ondisconnect=restart" attach-sh4le attach-sh4 sh4le $arg0 "resettype=break ondisconnect=restart" attach-st40300be st40300be $arg0 "resettype=break ondisconnect=restart" attach-st40300le attach-st40300 st40300le $arg0 "resettype=break ondisconnect=restart" attach-stb7100-bypass sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=st40 -inicommand stb7100_bypass_setup_attach" attach-stb7100-stmmx sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=stmmx tdidelay=1 -inicommand stb7100_stmmx_setup_attach" attach-sti7200-bypass sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=st40 -inicommand sti7200_bypass_setup_attach" attach-sti7200-stmmx sh4le $arg0 "resettype=break ondisconnect=restart jtagpinout=stmmx tdidelay=1 -inicommand sti7200_stmmx_setup_attach" attach-stv0498-bypass 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). For example, to 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