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
Parents
  • 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

Reply
  • 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

Children
  • 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

  • Still no joy. :-(

    It's definitely a floating license. I used this dialog to enter the server details:

    Arm Compiler 6 finds a license...

    Thanks,

    Matt

  • Hi Matt

    The error message "Version of vendor daemon is too old" points to the cause of the problem here.
    You'll need to update the vendor daemon to a later version.  The Fast Models need a more recent version than the Compiler.

    Latest versions of FlexNet Publisher are available to download from:
    developer.arm.com/.../downloads

    I guess you'll need to ask your IT dept to download & install them for you.

    In the meantime, I hope that the Cortex-R5 example will help to get you started on your new project :)

    Stephen

  • The error message "Version of vendor daemon is too old" points to the cause of the problem here.
    You'll need to update the vendor daemon to a later version.  The Fast Models need a more recent version than the Compiler.

    Oh, bother! :-(

    Thanks for your help in getting to the bottom of this, I'll take it up with my IT department.

    Thanks,

    Matt

  • Hi Stephen,

    I followed your suggestion but still get the same error as Arm DS
    Is there any other better suggestion?

     

  • This is addressed in parallel thread below, but for completeness, this particular issue is caused by using an evaluation license, but not selecting the evaluation edition from Help > License Manager

    https://community.arm.com/support-forums/f/armds-forum/52265/i-use-the-free-for-the-30-days-s-licence-ds2021-2-but-when-try-to-connect-fvp-for-debug-encounted-below-error