1<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4<meta http-equiv="Content-Style-Type" content="text/css" /> 5<title>ctr_loadrun</title> 6<style type="text/css"> 7<!-- 8body { 9/* 10 font-size : 10pt; 11*/ 12 font-weight : normal; 13 color : #000000; 14 margin : 8px; 15} 16div { 17 width : 98%; 18 white-space : nowrap; 19} 20div.title { 21 text-align : left; 22 font-weight : bold; 23/* 24 font-size : 16pt; 25*/ 26 font-size : 150%; 27 color : #202020; 28 border-style : double; 29 border-width : 8px; 30 /* タイトルを囲む枠線の色を指定 */ 31 border-color : #FF6600; 32 /* RVLプラットフォーム系列 */ 33/* 34 border-color : #34beed; 35*/ 36 /* TWLプラットフォーム系列 */ 37/* 38 border-color : #ff458f; 39*/ 40 margin : 4px; 41 padding : 4px; 42} 43H1 { 44 font-size : 150%; 45 font-family : Arial; 46 border-bottom-width : 5px; 47 border-bottom-style : solid; 48 border-bottom-color : #FF6600; 49 padding-bottom : 1px; 50 margin-bottom : 20px; 51 letter-spacing : normal; 52 font-weight : bold; 53} 54h2 { 55 font-weight : bold; 56/* 57 font-size : 16pt; 58*/ 59 font-size : 150%; 60 border-style : none none solid double; 61 border-width : 0px 0px 2px 8px; 62 /* 見出しの線の色を指定 */ 63 border-color : #FF6600; 64 /* RVLプラットフォーム系列 */ 65/* 66 border-color : #34beed; 67*/ 68 /* TWLプラットフォーム系列 */ 69/* 70 border-color : #ff458f; 71*/ 72 margin-left : 2px; 73 padding-left : 4px; 74} 75CODE { 76 font-family : "Courier New", monospace; 77 position : normal; 78 left : 12px; 79 font-size : 10pt; 80} 81table { 82 margin-top : 2pt; 83 margin-bottom : 2pt; 84 margin-left : 0pt; 85 margin-right : 0pt; 86 padding-left : 0pt; 87 padding-right : 0pt; 88 position : relative; 89 left : 12px; 90 font-family : Arial; 91 font-size : 10pt; 92 border-style : none none none none; 93} 94td,th { 95 padding : 2pt; 96 border-width : 2pt; 97 border-style : none none none none; 98 font-style : normal; 99 text-align : left; 100} 101td { 102 background : #e8f4f4; 103 font-weight : normal; 104} 105th { 106 background : #c0d8d8; 107 font-weight : bold; 108} 109p { 110 margin-left : 4px; 111} 112p.code { 113 font-family : "Courier New", monospace; 114 position : normal; 115 left : 12px; 116 font-size : 10pt; 117 background : #e8f4f4; 118} 119--> 120</style> 121</head> 122 <body> 123<h1>ctr_loadrun</h1> 124<h2>Description</h2> 125 <p> 126The <CODE>ctr_loadrun</CODE> tool is used to run specified programs in a debugger (such as PARTNER-CTR). It can be used to run programs from the command line without requiring any debugger operations. 127 </p> 128<h3>Limitations</h3> 129The following limitations apply when using <CODE>ctr_loadrun</CODE>. 130 <ul> 131<li> If multiple instances of <CODE>ctr_loadrun</CODE> are started for a single debugger, they cannot be used at the same time.</li> 132<li> <CODE>ctr_loadrun</CODE> cannot be used at the same time as Visual Studio Integration for CTR (VSI-CTR) for a single debugger.</li> 133 </ul> 134<h2>How to Use</h2> 135<h3>Format</h3> 136 <pre> $ ctr_loadrun32.exe [CciFile] [options...] </pre> 137<h3>Options</h3> 138 <div class="section"> 139 <p> 140 <table class="table"><tbody> 141<tr><th>Options</th> <th>Arguments</th><th>Description</th></tr> 142 <tr> 143<td><CODE>-h (--help)</CODE></td> 144 <td></td> 145<td>Displays help.</td> 146 </tr> 147 <tr> 148<td><CODE>-l (--devicelist)</CODE></td> 149 <td></td> 150<td>Displays the connected devices.</td> 151 </tr> 152 <tr> 153<td><CODE>-t (--timeout)</CODE></td> 154<td><CODE>TIMEOUT-SECONDS</CODE></td> 155<td>Sets the timeout from startup to exit.</td> 156 </tr> 157 <tr> 158<td><CODE>-e (--exit-pattern)</CODE></td> 159<td><CODE>EXIT-PATTERN</CODE></td> 160<td>Exits upon output of a string that matches the regular expression specified by <CODE>EXIT-PATTERN</CODE>.<br />The regular expression syntax conforms with the .NET Framework's <CODE>System.Text.RegularExpressions</CODE> namespace. 161 </td> 162 </tr> 163 <tr> 164<td><CODE>-c (--command)</CODE></td> 165<td><CODE>COMMAND</CODE></td> 166<td>Specifies the command to run before loading the image file.</td> 167 </tr> 168 <tr> 169<td><CODE>-m (--macro)</CODE></td> 170<td><CODE>MACROFILE</CODE></td> 171<td>Specifies the macro file to run before loading the image file.</td> 172 </tr> 173 <tr> 174<td><CODE>-d (--device)</CODE></td> 175<td><CODE>SERIALNUMBER</CODE></td> 176<td>Specifies which device to use by its serial number.</td> 177 </tr> 178 <tr> 179<td><CODE>-nw (--no-wait)</CODE></td> 180 <td></td> 181<td>Exits <CODE>loadrun</CODE> when it is confirmed that all commands have been sent.</td> 182 </tr> 183 <tr> 184<td><CODE>-ns (--no-start)</CODE></td> 185 <td></td> 186<td>Normally the <CODE>G</CODE> command, which runs the program, is sent after the program has been loaded.<br />With this option, the <CODE>G</CODE> command is not sent.</td> 187 </tr> 188 </tbody></table> 189 </p> 190 </div> 191<h2>Location</h2> 192 <pre> $CTRSDK_ROOT/tools/ComandlineTools/ctr_loadrun32.exe </pre> 193<h2>Revision History</h2> 194 <div class="section"> 195 <dl class="history"> 196 <dt>2011/01/28</dt> 197<dd> Added that multiple executables cannot be used with a single debugger. <br /> 198 </dd> 199 <dt>2010/11/23</dt> 200<dd>Changed the location of the document.<br /> 201 </dd> 202 <dt>2010/10/25</dt> 203<dd>Initial version.<br /> 204 </dd> 205 </dl> 206 </div> 207 <hr><p>CONFIDENTIAL</p></body> 208</html> 209