- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I have downloaded SoCEDSSetup-13.1.0.162 and installed the program DS-5. I imported project Altera-SoCFPGA-HelloWorld-Baremetal-GNU, as mentioned in the user manual Altera SoC Embedded Design Suite. But I have error: ERROR(CMD685-IMG54): # in C:\Altera_DS_Workspace\Altera-SoCFPGA-HelloWorld-Baremetal-GNU\semihost_setup.ds:15 while executing: file $sdir/hello.axf ! Failed to load symbols for "hello.axf" ! Failed to demand load DWARF debugging information: section .debug_info, offset 0xb ERROR(CMD656): The script C:\Altera_DS_Workspace\Altera-SoCFPGA-HelloWorld-Baremetal-GNU\semihost_setup.ds failed to complete due to an error during execution of the script What can I do with that?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please, edit post header to correct "Debag" to "Debug" and "Cycline" to "Cyclone" ! :)
Try to relocate project to other location, clean/rebuild, delete all and reimport. If errors retry, include here zip with all contents of your project folder. We run on our kits. I fast import, compile and run this HelloWorld-Baremetal -- no problem. It's your kit board "Altera Cyclone V SoC" ? Char "M" in header -- may be microcontroller, not Cortex-A9 ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry for my bad english. I tried to relocate project to other location, clean/rebuild, delete all and reimport, but all useless. I attached project. Strangely, but project "Altera-SoCFPGA-HardwareLib-FPGA-CV-ARMCC" debug without error. May be cause in "baremeta"? I have kit board "Altera Cyclone V SoC". "M" - typo.:)
https://www.alteraforum.com/forum/attachment.php?attachmentid=9030- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I download archive and try debug/compile -- may be wrong your compiler arm-none-eabi-gcc.exe or not compatible.
He calls from Makefile, my is unique, lie in C:/Altera/13.1/embedded/host_tools/mentor/gnu/arm/baremetal/bin and have size 275456 bytes. Your hwlib.axf is not downloaded in DS-5, however my hwlib.axf runs OK in your project directory. I compile hwlib.axf from your hwlib.o -- he not run, recompile hwlib.o from hwlib.c and hwlib.axf from hwlib.o -- runs OK. Thus, bad is hwlib.o, what maked through arm-none-eabi-gcc.exe. In ARMCC-mode is used other compiler and toolchain. Try reinstall SoC EDS, especially if many copyes is installed or was many installations.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page