I installed the 30-day trial version of ARM Development Studio Gold on Windows 10 and followed the tutorial "Creating a new project from a software pack - Arm Developer".When trying to connect to the FVP model of Cortex-M33, the model fails with error code -1073741819 (0xC0000005).What could be wrong? Is the FVP licence not included in the DS trial version?Running DS as Administrator makes no difference.The complete error message is:"The script file ( rtsm_launcher.py ) failed during execution: Failed to launch model FVP_MPS2_Cortex-M33.exe. Command: C:\Program Files\Arm\Development Studio 2020.0\sw\..\bin\FVP_MPS2_Cortex-M33.exe --cadi-server --print-port-number -C fvp_mps2.DISABLE_GATING=1 --version --plugin C:\Program Files\Arm\Development Studio 2020.0\sw\..\sw\models\bin\MTS.dll exited with error code: -1073741819
Hello,Yes, the FVPs supplied with Arm DS are supported with the license. Looking at the script above, is the issue that you have --version in the command line?RegardsRonan
--version is not the issue.
I'm sorry, this was on of the options I tried while debugging the issue. However, the original command line without "--version" shows the same result.
When I invoke
"C:\Program Files\Arm\Development Studio 2020.0\bin\FVP_MPS2_Cortex-M33.exe" --cadi-server --print-port-number -C fvp_mps2.DISABLE_GATING=1 --plugin "C:\Program Files\Arm\Development Studio 2020.0\sw\models\bin\MTS.dll"
from the command prompt, I get:
Fast Models v11.10.23 MTS trace serverFast Models Trace: Listening on:0.0.0.0 port:31628telnetterminal0: Listening for serial connection on port 5000telnetterminal1: Listening for serial connection on port 5001telnetterminal2: Listening for serial connection on port 5002
In the Windows Task Manager, I don't see the FVP model, so I assume it has failed.
I see the same behavior, when trying to load an application:
"C:\Program Files\Arm\Development Studio 2020.0\bin\FVP_MPS2_Cortex-M33.exe" -C fvp_mps2.DISABLE_GATING=1 -a Second.axf
I have not been able to replicate this internally, though I do not have an eval license - I don't think that is the cause though, as you are not getting any license related error, the model just seems to be dying.To verify the license is fine, do other tools, such as the compiler work Ok?Do any other models run? For example, can you launch the supplied Cortex-M3 FVP?Are you always launching from inside the IDE? If you try to run the command from the command line, does the model launch?
The compiler works fine.When I call the model from the command line ("C:\Program Files\Arm\Development Studio 2020.0\bin\FVP_MPS2_Cortex-M33.exe"), FVP_MPS2_Cortex-M33.exe appears for a second or so in the Windows Task Manager, then it terminates with error code 0xC0000005 ("%errorlevel%=-1073741819").I tried without additional parameters, with "-a xxx.axf" (xxx.axf built with DS for M33), or with "-S" or "-I".As mentioned before, I get the message "Listening for serial connection..." before the model terminates.Same behavior with M3 or A55.No matter whether I call the executable in "Development Studio 2020.0\sw\models\bin" or "Development Studio 2020.0\bin".Administrator rights make no difference.Operating System is "Windows 10 Pro for Workstations".
Update: The FVP model works fine now and I can run and debug an application that runs with the M33 simulation.
All I did was clear the Application Event Log in the Windows Event Viewer. Nothing else has changed.
I can invoke the model from the command line or from DS, with or w/o Admin rights => no more problems.
Excellent, thanks for confirming.
I don't know why the App Event log would have any effect, I'll look into it, but glad to hear you are up and running.
View all questions in Arm Development Studio forum