This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 error occurs while running HelloWorld

I follow this Getting Started with ARM DS-5 Development Studio | ARM DS-5 Development Studio to run HelloWorld_FVP,

error occurs like this:

eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product com.arm.ds.ulteval
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.arm.ds.ulteval

Error
Thu Mar 19 18:58:34 CST 2015
Unable to connect to HelloWorld_FVP. The script file ( rtsm_launcher.py ) failed during execution:
Failed to launch model FVP_EB_Cortex-A8. Command:
  C:\Program Files\DS-5\bin\FVP_EB_Cortex-A8.exe -S --print-port-number
exited with error code: -1073741819

See Target Console view for more details

com.arm.debugger.control.LaunchException: The script file ( rtsm_launcher.py ) failed during execution:

Failed to launch model FVP_EB_Cortex-A8. Command:
  C:\Program Files\DS-5\bin\FVP_EB_Cortex-A8.exe -S --print-port-number
exited with error code: -1073741819

See Target Console view for more details
at com.arm.debugger.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:187)
at com.arm.debugger.control.target.AbstractTargetController.setupTarget(AbstractTargetController.java:87)
at com.arm.debugger.control.ConnectionController.doPreDebugServiceInitialization(ConnectionController.java:645)
at com.arm.debugger.control.ConnectionController.doInitialize(ConnectionController.java:555)
at com.arm.debugger.control.ConnectionController.manageThreadModelAndInitialize(ConnectionController.java:539)
at com.arm.debugger.control.ConnectionController.manageProgressResourceAndInitialize(ConnectionController.java:484)
at com.arm.debugger.control.ConnectionController.initialize(ConnectionController.java:432)
at com.arm.debugger.control.ConnectionManager.createConnection(ConnectionManager.java:360)
at com.arm.debugger.launcher.TargetLauncher.launch(TargetLauncher.java:20)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.arm.debug.launch.script.ScriptException: The script file ( rtsm_launcher.py ) failed during execution:

Failed to launch model FVP_EB_Cortex-A8. Command:
  C:\Program Files\DS-5\bin\FVP_EB_Cortex-A8.exe -S --print-port-number
exited with error code: -1073741819
at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:131)
at com.arm.debug.launch.script.TargetControlScriptRunner.run(TargetControlScriptRunner.java:36)
at com.arm.debugger.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:184)
... 13 more
Caused by: Traceback (most recent call last):
  File "C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py", line 356, in <module>
    modelLauncher.launch()
  File "C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py", line 187, in launch
    raise RuntimeError, \
RuntimeError: Failed to launch model FVP_EB_Cortex-A8. Command:
  C:\Program Files\DS-5\bin\FVP_EB_Cortex-A8.exe -S --print-port-number
exited with error code: -1073741819

at org.python.core.PyException.doRaise(PyException.java:200)
at org.python.core.Py.makeException(Py.java:1239)
at org.python.core.Py.makeException(Py.java:1243)
at org.python.pycode._pyx2.launch$8(C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py:197)
at org.python.pycode._pyx2.call_function(C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
at org.python.core.PyFunction.__call__(PyFunction.java:317)
at org.python.core.PyMethod.__call__(PyMethod.java:109)
at org.python.pycode._pyx2.f$0(C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py:359)
at org.python.pycode._pyx2.call_function(C:\Program Files\DS-5\sw\debugger\configdb\Scripts\rtsm_launcher.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:522)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225)
at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:120)
... 15 more

Parents
  • Looking at your error code:

    -1073741819 seems to commonly relate to access violation exceptions. From looking at your command line arguments, maybe this is because you're trying to run the 64-bit version of DS-5 in 32-bit mode?


    Thanks,

    Joe

Reply
  • Looking at your error code:

    -1073741819 seems to commonly relate to access violation exceptions. From looking at your command line arguments, maybe this is because you're trying to run the 64-bit version of DS-5 in 32-bit mode?


    Thanks,

    Joe

Children