Skip to content

Commit ce1952e

Browse files
committed
STAR: 9000695020- Putty connection error
1 parent 1189af6 commit ce1952e

File tree

1 file changed

+7
-0
lines changed
  • com.arc.embeddedcdt/src/com/arc/embeddedcdt/launch

1 file changed

+7
-0
lines changed

com.arc.embeddedcdt/src/com/arc/embeddedcdt/launch/Launch.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,20 @@ else if (extenal_tools.equalsIgnoreCase("nSIM")&&extenal_tools_launch.equalsIgno
301301
*/}
302302

303303
// Start PuTTY
304+
304305
String COMport="";
305306
if(Putty_launch.equalsIgnoreCase("true"))
306307
{
307308
if(CommandTab.comport!=null) COMport=CommandTab.comport;
308309
else COMport=Launch.COMserialport().get(0).toString();
309310

310311
String[] putty_cmd = { "putty", "-serial", COMport, "-sercfg", "115200,8,n,1" };
312+
try {
313+
Thread.sleep(3000);
314+
} catch (InterruptedException e) {
315+
// TODO Auto-generated catch block
316+
e.printStackTrace();
317+
}
311318
DebugPlugin.newProcess(launch, DebugPlugin.exec(putty_cmd, null), "PuTTY");
312319
}
313320

0 commit comments

Comments
 (0)