We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All,
When I run DS-5 debugger with gui, it show a connection failed
But I have no idea about following error message, please kindly check:
>>>>>>>>>>>>>>>>>>>>>>>>Connection Failed>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
" Unable to connect to HelloWorld_A9.
The script file ( rtsm_launcher.py ) failed during execution:Failed to launch model FVP_VE_Cortex-A9x4.
Command: /tools/ARM/DS-5/v5.27.1/bin/FVP_VE_Cortex-A9x4 --cadi-server --print-port-numberexited with error code: 132
See Target Console view for more details"
>>>>>>>>>>>>>>>>>>>>>>>>>>>Exception Stack Trace>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
com.arm.debug.control.LaunchException: The script file ( rtsm_launcher.py ) failed during execution:Failed to launch model FVP_VE_Cortex-A9x4. Command: /tools/ARM/DS-5/v5.27.1/bin/FVP_VE_Cortex-A9x4 --cadi-server --print-port-numberexited with error code: 132
See Target Console view for more details at com.arm.debug.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:193) at com.arm.debug.control.target.AbstractTargetController.setupTarget(AbstractTargetController.java:70) at com.arm.debug.control.ConnectionController.doPreDebugServiceInitialization(ConnectionController.java:660) at com.arm.debug.control.ConnectionController.doInitialize(ConnectionController.java:568) at com.arm.debug.control.ConnectionController.manageThreadModelAndInitialize(ConnectionController.java:550) at com.arm.debug.control.ConnectionController.manageProgressResourceAndInitialize(ConnectionController.java:488) at com.arm.debug.control.ConnectionController.initialize(ConnectionController.java:414) at com.arm.debug.control.ConnectionManager.createConnection(ConnectionManager.java:284) at com.arm.debug.launcher.TargetLauncher.launch(TargetLauncher.java:20) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at com.arm.debug.control.VariableResolvingLaunchConfiguration.launch(VariableResolvingLaunchConfiguration.java:273) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Caused by: com.arm.debug.launch.script.ScriptException: The script file ( rtsm_launcher.py ) failed during execution:Failed to launch model FVP_VE_Cortex-A9x4. Command: /tools/ARM/DS-5/v5.27.1/bin/FVP_VE_Cortex-A9x4 --cadi-server --print-port-numberexited with error code: 132 at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:102) at com.arm.debug.launch.script.TargetControlScriptRunner.run(TargetControlScriptRunner.java:32) at com.arm.debug.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:190) ... 14 moreCaused by: Traceback (most recent call last): File "/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py", line 383, in <module> modelLauncher.launch() File "/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py", line 161, in launch raise RuntimeError, \RuntimeError: Failed to launch model FVP_VE_Cortex-A9x4. Command: /tools/ARM/DS-5/v5.27.1/bin/FVP_VE_Cortex-A9x4 --cadi-server --print-port-numberexited with error code: 132
at org.python.core.PyException.doRaise(PyException.java:198) at org.python.core.Py.makeException(Py.java:1337) at org.python.core.Py.makeException(Py.java:1341) at org.python.pycode._pyx1.launch$11(/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py:206) at org.python.pycode._pyx1.call_function(/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:138) at org.python.core.PyFunction.__call__(PyFunction.java:413) at org.python.core.PyMethod.__call__(PyMethod.java:126) at org.python.pycode._pyx1.f$0(/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py:386) at org.python.pycode._pyx1.call_function(/tools/ARM/DS-5/v5.27.1/sw/debugger/configdb/Scripts/rtsm_launcher.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1386) at org.python.core.__builtin__.execfile_flags(__builtin__.java:535) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286) at com.arm.jython.Jython.runScript(Jython.java:81) at com.arm.jython.Jython.runScript(Jython.java:94) at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:91) ... 16 more
>>>>>>>>>>>>>>>>>>>>>>>>>>>Session Data>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
eclipse.buildId=4.5.2.M20160212-1500java.version=1.8.0_45java.vendor=Oracle CorporationBootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_USFramework arguments: -product com.arm.ds.ultCommand-line arguments: -os linux -ws gtk -arch x86_64 -product com.arm.ds.ult
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Thanks & Best Regards,
YL Shen
Which edition of the tools are you running? I'v seen similar errors when users have Community Edition (which does not support this FVP).
Note that DS-5 is an older toolchain - if you are evaluating Arm tools, I recommend looking at the new Development Studio.
Regards
Ronan
I find that if I add enough license for linux command "lmstat" then I could run the fast model !
Is there any relation between lmstat and rtsm_launcher.py?
Thanks & Regards,
Yes, you need a suitable license to run this model.