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