I started to use DS-5 recently and applied for a evaluation license for professional version.
I followed instructions strictly from this page DS-5 Documentation & Resources / Tutorials / Getting Started with ARM DS-5 | ARM DS-5 Development Studio
But I got this error message, like this picture shows
This make me can't debug from source-level. I can't set breakpoint into c file , but i can set breakpoint into disassembly file. Is there any solutions?
What messages appear in the Commands view?
Connected to stopped target ARM FVP - Cortex-A8 Execution stopped at: S:0x00000000 loadfile "G:\常用文件夹\ARM Related\DS-5 Workspace\Hello World\Debug\Hello World.axf" S:0x00000000 SVCLE #0xdfdfcf Loaded section ER_RO: S:0x00008000 ~ S:0x000093B3 (size 0x13B4) Loaded section ER_RW: S:0x000093B4 ~ S:0x000093C3 (size 0x10) Loaded section ER_ZI: S:0x000093C4 ~ S:0x0000951F (size 0x15C) Entry point S:0x00008000 ERROR(CMD685-IMG54): ! Failed to load symbols for "Hello World.axf" ! Failed to demand load DWARF debugging information: section .debug_info, offset 0xb cd "G:\常用文件夹\ARM Related\DS-5 Workspace" Working directory "G:\常用文件夹\ARM Related\DS-5 Workspace" set debug-from main start Starting target with no symbolic information loaded Execution stopped at: S:0x00008000 WARNING(CMD399-COR168): ! Failed to start the target ! No function named "main" could be found WARNING(CMD407): Trying the entry point instead S:0x00008000 BL {pc}+8 ; 0x8008 wait break -p "G:\常用文件夹\ARM Related\DS-5 Workspace\TestProjecct\main.c":32 WARNING(CMD452-COR167): ! Breakpoint 2 has been pended ! No compilation unit matching "G:/常用文件夹/ARM Related/DS-5 Workspace/TestProjecct/main.c" was found condition 2 break-script 2 "" ignore 2 0 break-stop-on-cores 2 unsilence 2 Breakpoint 2 unsilenced
Connected to stopped target ARM FVP - Cortex-A8
Execution stopped at: S:0x00000000
loadfile "G:\常用文件夹\ARM Related\DS-5 Workspace\Hello World\Debug\Hello World.axf"
S:0x00000000 SVCLE #0xdfdfcf
Loaded section ER_RO: S:0x00008000 ~ S:0x000093B3 (size 0x13B4)
Loaded section ER_RW: S:0x000093B4 ~ S:0x000093C3 (size 0x10)
Loaded section ER_ZI: S:0x000093C4 ~ S:0x0000951F (size 0x15C)
Entry point S:0x00008000
ERROR(CMD685-IMG54):
! Failed to load symbols for "Hello World.axf"
! Failed to demand load DWARF debugging information: section .debug_info, offset 0xb
cd "G:\常用文件夹\ARM Related\DS-5 Workspace"
Working directory "G:\常用文件夹\ARM Related\DS-5 Workspace"
set debug-from main
start
Starting target with no symbolic information loaded
Execution stopped at: S:0x00008000
WARNING(CMD399-COR168):
! Failed to start the target
! No function named "main" could be found
WARNING(CMD407): Trying the entry point instead
S:0x00008000 BL {pc}+8 ; 0x8008
wait
break -p "G:\常用文件夹\ARM Related\DS-5 Workspace\TestProjecct\main.c":32
WARNING(CMD452-COR167):
! Breakpoint 2 has been pended
! No compilation unit matching "G:/常用文件夹/ARM Related/DS-5 Workspace/TestProjecct/main.c" was found
condition 2
break-script 2 ""
ignore 2 0
break-stop-on-cores 2
unsilence 2
Breakpoint 2 unsilenced
This is what command view looks like
This part
... ERROR(CMD685-IMG54): ! Failed to load symbols for "Hello World.axf" ! Failed to demand load DWARF debugging information: section .debug_info, offset 0xb ...
...
indicates that the debug information in the image is corrupt.
Where did the image come from? Is it one of the supplied examples or did you build the image yourself? If so, what compiler and options did you use?
Perhaps you can attach the image to this thread.
I compiled it by myself, it's ARM compiler 5. And here is the file