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 everyone,
I am working on a Altera Cyclone V SoC development board (http://www.altera.com/products/devkits/altera/kit-cyclone-v-soc.html?GSA_pos=5&WT.oss_r=1&WT.oss=cyclone%20v%20soc%20fpga).
I try to compile a basic bare metal program to test my system on chip using the DS-5 Altera Edition Toolkit (Version 5.14 Build 1702). Everything's fine when I compile, load and debug my project via the DS-5 studio.
My next step is to create a bootable SD card. I have read that I need a .bin file to do this but DS-5 generates .axf executable files. There's a tool called fromelf to convert .axf into .bin.
And there's my problem. When I try to lunch fromelf with the DS-5 command shell, I get this error message:
Environment configured for ARM DS-5 (build 1702)
Please consult the documentation for available commands and more details
C:\EDA\altera\13.0\embedded\ds-5\bin>fromelf.exe --bin --output "C:\Users\XXX\Desktop\test.bin" "C:\DS5_WRK\Altera-SoCFPGA-HardwareLib-GNU\hwlib.axf"
ARM FromELF, 5.03 [Build 24]
Fatal error: Q9932E: Cannot obtain license for Fromelf (feature altera_fromelf5) with license version >= 5.0201301
The desired vendor daemon is down. Check the lmgrd log file, or try lmreread.
Feature: altera_fromelf5
Vendor:Host: eilic01
License path: C:\Users\XXX\AppData\Roaming\ARM\DS-5\licenses\license.lic;1800@eilic01;
FLEXnet Licensing error:-97,121
For further information, refer to the FLEXnet Licensing documentation, available at "www.flexerasoftware.com".
Finished: 1 information, 0 warning, 0 error and 1 fatal error messages.
The license.lic was created using the ARM serial number included with the dev board (The path is set into the ARMLMD_LICENSE_FILE variable). The eilic01 server has licenses for Quartus and other Altera stuff, but no ARM licenses (This path is in LM_LICENSE_FILE).
In conclusion, DS-5 detects the license.lic file, I can compile and debug with DS-5, but I can't lunch fromelf. What's the problem? The license given with the dev board is limited? A version issue? Can I generate directly .bin files from DS-5?
Thank you.
DS-5 Altera edition license does not entitle use of ARM Compiler (Compiler, Assembler, Linker and Fromelf). You need to have a DS-5 Professional edition license to be able to use ARM Compiler.
If you want to tryout ARM Compiler, you can get a 30-day evaluation license using the activation code from http://ds.arm.com/altera/altera-eval-edition/
You're right. With the 30 days evaluation licence fromelf works fine.
I just had to add --tool_variant=eval_alt before the others arguments.
Thank you!