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

error encountered when try to connect FVP

I'm trying DS2020.1 with trial license.
Now, I can compile project. 
But encounter such an error when trying to connect to FVP.
The prompted error message is:
The script file ( rtsm_launcher.py ) failed during execution:
Failed to launch model FVP_VE_Cortex-R5x1.exe. Command:
  C:\Program Files\Arm\Development Studio 2020.1\sw\..\bin\FVP_VE_Cortex-R5x1.exe --iris-server --print-port-number
exited with error code: 1
See Target Console view for more details
The script file ( rtsm_launcher.py ) failed during execution:
Failed to launch model FVP_VE_Cortex-R5x1.exe. Command:
  C:\Program Files\Arm\Development Studio 2020.1\sw\..\bin\FVP_VE_Cortex-R5x1.exe --iris-server --print-port-number
exited with error code: 1
See Target Console view for more details
The target console log is:
Iris server started listening to port 7100
Iris server is reported on port 7100
terminal_0: Listening for serial connection on port 5000
terminal_1: Listening for serial connection on port 5001
terminal_2: Listening for serial connection on port 5002
terminal_3: Listening for serial connection on port 5003
terminal_4: Listening for serial connection on port 5004
ERROR: uncaught exception occured. Exception message follows:
Error: Wrong version of armctmodel. Version 11.12.60 (API Version 1.2) of the Portfolio was used to build the model. Please use identical major.minor versions of the Portfolio and the Tools.
Error: license error: License checkout for feature Flex.model was denied because no matching MapFeatures were found in product definition Embedded;Embedded;C:\Program Files\Arm\Development Studio 2020.1\sw\mappings\eval.elmap
In file: F:\work\fastsim\Framework\Runtime\SCXSimulationEngine.cpp:2802
  • Hi Xiang

    I tried to replicate, but I do not see this issue (though I do not have an evaluation license). I am able to launch the Cortex-R5 FVP.

    Please can you try another CPU, such as Cortex-R4, does the problem continue? In the meantime I will request an eval license to test the above.

    Regards

    Ronan

  • Also, could you share your eval license with me? (you can email it to me at first.lastname<at>arm.com)

  • sure, I have send you license file via email.

  • I tried A53, it's the same.

  • I got the same error, may I send the eval license to you also for checking?

  • Hi Fantim, we found that there is an incorrect file in the 2020.1, build 917 package.

    To resolve this, please unzip the attached file to the //sw/mapping file of your installation, replacing the original eval.elmap.

    eval.zip

  • now it can works with your patch, thank you

  • FYI, Arm Development Studio 2020.1-1 is now available to download which fixes this issue. Apologies to all for the inconvenience.

    developer.arm.com/.../downloads

  • Hi,

    I see the same error message.

    I'm just starting out with DS and have just downloaded Arm DS 2020.1-1 Build: 202011904.  It's installed under Windows.

    We've got a DS Gold floating license installed on our server.

    I tried connecting to various FVPs in the IDE and saw this error.

    I also tried using the command line although I've never used Fast Models before:

    C:\Program Files\Arm\Development Studio 2020.1-1\sw\models\bin>launchmodel.exe -model=FVP_VE_Cortex-R5x1.exe -login_prompt=a -shell_prompt=b
    ERROR: Model failed to launch with error message: ERROR: uncaught exception occured. Exception message follows:
    Error: Wrong version of armctmodel. Version 11.12.60 (API Version 1.2) of the Portfolio was used to build the model. Please use identical major.minor versions of the Portfolio and the Tools.

    Any advice greatly appreciated. This is my first time with DS so I'm perfectly willing to believe I'm doing something wrong. We only installed the license files an hour ago.

    Thanks,

    Matt

  • Hi Matt

    I suspect that you have not yet selected a license server and Gold Edition in the Arm DS 2020.1-1 IDE.  This is needed to setup the environment.

    1. Launch the Arm DS IDE, then select Help > Arm License Manager...
    2. Add your license server, and select Product = Gold Edition, and close the IDE.
    3. Then launch a new Arm DS Command Prompt.

    I was able to reproduce the error you saw, before doing the above.

    Hope this helps

    Stephen

  • Hi Stephen,

    Thanks for your reply.

    I believe I selected the licenses in the DS IDE and I see licenses being used when I run the Arm compiler.

    I wondered if armlmdiag would offer any useful information but didn't really know what to do:

    C:\Program Files\Arm\Development Studio 2020.1-1\bin>armlmdiag.exe -L xxxxx@yyyyy -f ds_suite_rowan -v 0.0202011

    [11:20:05] License location is 'xxxx@yyyy'.
    [11:20:05] Checking out ds_suite_rowan (1 licenses) ...
    [11:20:05] Checkout done.
    [11:20:05] Running time: 452 milliseconds.

    Feature Information
    ===================
    Type: INCREMENT
    Feature: ds_suite_rowan
    Version: 5.9
    Expiry date: 28-mar-2021
    Max number of users: 1
    Issuer: ARM Limited
    Notice: For support see http://www.arm.com/support/
    Serial Number: xxxxx-yyyyy-zzzzz
    Maximum borrow time: 1440 hours
    DUP_GROUP: USER (Requests from the same user don't consume
    additional licenses).
    DUP_GROUP: HOST (Requesus from the same host don't consume
    additional licenses).
    SUITE_DUP_GROUP: USER (Requests from the same user don't consume
    additional licenses).
    SUITE_DUP_GROUP: HOST (Requests from the same host don't consume
    additional licenses).

    I tried ds_model_rowan but didn't know what version to specify.

    Is it likely to be a problem with the way the floating licenses are install?  This is our first time installing DS licenses although we've got other Arm license installed on the same license server. Unfortunately it wasn't me that installed them, I had to ask our IT department.

    Thanks,

    Matt

  • Hi Matt

    Your license and product selection look OK.

    Please ensure you are running the Arm DS executables from an "Arm DS 2020.1-1 Command Prompt" (not an "ordinary" Windows Command Prompt).

    You must open a "Arm DS 2020.1-1 Command Prompt" first, so that environment variables, etc. are set up correctly, before running any Arm DS executables.

    I can reproduce the error you see if that is not done first.

    Is there a particular reason that you are running:
    [Arm DS install]\sw\models\bin\launchmodel.exe -model=FVP_VE_Cortex-R5x1.exe -login_prompt=a -shell_prompt=b
    rather than just:
    [Arm DS install]\bin\FVP_VE_Cortex-R5x1.exe ?

    The executables within [Arm DS install]\sw\models\bin are not normally intended to be run directly.  The ones within [Arm DS install]\bin are the public-facing ones.

    Hope this helps

    Stephen

  • Hi Stephen,

    No, there's no particular reason why I've done anything!  I installed the IDE and tried to follow some examples/blogs I found about using fast models within the IDE.  When I got an error message in the IDE I thought I'd try the command line in case I got a more informative error.

    I posted the command line results above just because I thought it was easier than posting screen shots.  Although it probably isn't.

    Initially I started in the IDE by clicking Create a debug connection...

    On the Target Selection page I wasn't sure what to select but I've tried with different targets and always get the same error.

    The background to my interest in fast models is that we're starting out on a Cortex-R5 based project but don't yet have any hardware. I thought fast models might give me to opportunity to explore Cortex-R5 software development before the hardware arrives.

    Thanks,

    Matt

  • Hi Matt

    You are right that Fast Models will allow you to explore Cortex-R5 software development before the hardware arrives :)

    If you are beginning a Cortex-R5 based project, I recommend you start with the ready-made example for Cortex-R5 on FVP that is supplied in the Examples.

    1) Launch Arm DS
    2) File > Import, Arm Development Studio > Examples & Programming Libraries
    3) Expand Examples > Armv7 Bare-Metal, select "startup_Cortex-R5_AC6"
    4) In Project Explorer view, expand "startup_Cortex-R5_AC6".  This example project comes with source code, pre-built executable, and debug launcher to run on an FVP model.
    5) Double-click on startup_Cortex-R5_AC6-FVP.launch
    6) Click on Debug

    Let me know whether this works, or if you still see an error message.

    You said that you have a DS Gold floating license installed on your server, however, the screen shot you showed from Help > Arm License Manager showed a node-locked (file) license being used instead. 
    Are you able to use compile OK?  If so, you should be able to use the Fast Models OK too with the same license.

    Stephen