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.
Hi,
I am trying to debug a Linux application running inside the HPS of an Intel Stratix 10 and have run into a recurring error message.
I am using the DS-5 Community Edition that is downloaded along side the Intel Quartus tools. I have followed the steps in the Rocketboards debugging procedure and receive the above error message at step 8.
Does anyone have a clue what I am doing wrong? The RSE successfully connects to the ARM and can see the files that are there. When I open up the ARM file structure I see the downloaded file there.
Thanks!
Hi
It looks like the license is not set-up correctly - have you installed a license AND selected a toolkit variant in Help > Arm License Manager?
The RSE part doesn't need a license, so that will work OK, but the Debugger needs a valid license to connect to gdbserver.
It might be better for you to use the "DS-5 Intel SoC FPGA Edition" instead, which is specifically customised for the Stratix 10 and supported by Intel - see:developer.arm.com/.../intel-soc-fpga-edition
Another Stratix 10 user has done this successfully recently - see community.arm.com/.../getting-started-with-armv8-a-cortex-a53
If you'd like to pursue with DS-5 Community Edition, then please let us know, exactly, which release you have installed. To see this, launch the Arm DS-5 IDE, open Help > About Arm DS-5, then copy’n’paste the Version and Build text.
Hope this helps
Stephen
I would prefer to use the Community Edition if possible and save myself the licensing fee.
Here is the output from the License Manager (usernames and MAC addresses removed):
System Information: OS name: Linux Java version: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02 PATH environment variable: /usr/local/DS-5_v5.29.2/bin:/usr/local/DS-5_v5.29.2/sw/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Product Information: Version: 5.29.2 Build number: 5292005 Build date: 201901 Selected toolkit: DS-5 Community Edition ARM_TOOL_VARIANT environment variable: not set arm.tool.variant system property: ce
Host IDs:MAC_ADD1_HIDDEN: eth0MAC_ADD2_HIDDEN: eth1MAC_ADD3_HIDDEN: eth2MAC_ADD4_HIDDEN: eth3
Licenses are searched for in the following locations: ARMLMD_LICENSE_FILE environment variable: not set ARMLMD_LICENSE_FILE in file "/home/my_username/.flexlmrc": "/root/.ds-5/licenses/DS-5 Altera Community Edition.lic:/root/.ds-5/licenses/DS-5 Altera Community Edition.lic" LM_LICENSE_FILE environment variable: not set LM_LICENSE_FILE in file "/home/my_username/.flexlmrc": not set
License Mapping Information: ARM_PRODUCT_DEF environment variable: not set ARM_PRODUCT_PATH environment variable: "/usr/local/DS-5_v5.29.2/sw/mappings" ARM_TOOL_VARIANT environment variable: not set ARM_CONFIG_PATH environment variable: "/home/my_username/.arm/DS-5_v5.29.2"
Licenses used recently (Streamline and DS-5 Debugger only): (none)
License checkout log (Streamline and DS-5 Debugger only): 19/09/2019 12:07:16: Failed to checkout [ce_ds_debugger_gdbserver/5.0201901], error message: License map could not route the specified feature: "ce_ds_debugger_gdbserver" 17/09/2019 16:43:27: Failed to checkout [ce_ds_debugger_gdbserver/5.0201901], error message: License map could not route the specified feature: "ce_ds_debugger_gdbserver" 17/09/2019 16:31:55: Failed to checkout [ce_ds_debugger_gdbserver/5.0201901], error message: License map could not route the specified feature: "ce_ds_debugger_gdbserver" 17/09/2019 16:29:40: Failed to checkout [ce_ds_debugger_gdbserver/5.0201901], error message: License map could not route the specified feature: "ce_ds_debugger_gdbserver" 17/09/2019 16:26:59: Failed to checkout [ce_ds_debugger_gdbserver/5.0201901], error message: License map could not route the specified feature: "ce_ds_debugger_gdbserver"
Thanks for the extra info. We're investigating and will get back to you.
I navigated to /root/.ds-5/licenses/ to see if the DS-5 Altera Community Edition.lic file was there and the directory did not exist. I created /root/.ds-5/licenses/ and tried to re-enter the DS-5 Community Edition Activation code but no file was generated. I tried it both with and without sudo but neither worked.
Hi again
I've tried to reproduce your issue, but without any success so far. I installed DS-5 v5.29.2 from developer.arm.com/.../downloadsand used the Activation Code given atdeveloper.arm.com/.../community-editionand was able to connect to a remote gdbserver.In my test, I installed DS-5 and entered the Activation Code as a non-root ordinary user.I'm puzzled why you are seeing in the Diagnostics:ARMLMD_LICENSE_FILE in file "/home/my_username/.flexlmrc": "/root/.ds-5/licenses/DS-5 Altera Community Edition.lic:/root/.ds-5/licenses/DS-5 Altera Community Edition.lic"The duplicated paths to the .lic file within one single set of quotes might be confusing things. Did you set the license when logged-in as root or when using sudo?I see just:ARMLMD_LICENSE_FILE in file "/home/my_username/.flexlmrc": "/home/my_username/.ds-5/licenses/DS-5 Altera Community Edition.lic"I can see the DS-5 Altera Community Edition.lic file is present in "/home/my_username/.ds-5/licenses/"The file "/home/my_username/.flexlmrc" simply containsARMLMD_LICENSE_FILE=/home/my_username/.ds-5/licenses/DS-5 Altera Community Edition.licI suggest you try re-installing DS-5 v5.29.2 and entering the Activation Code as a non-root ordinary user. Root/sudo privilege is not needed for gdbserver connections.
"I suggest you try re-installing DS-5 v5.29.2 and entering the Activation Code as a non-root ordinary user. Root/sudo privilege is not needed for gdbserver connections."
We tried it and it worked! Thanks!