Hello everyone,
I did a hello world program under DS-5 for Arm Compiler 5 Toolchain.
#include <stdio.h>
int main()
{
printf("Hello world");
}
Then I launched the program (debug as) and connect it to
VE_Cortex_A9x4->Bare Metal Debug and Trace ->Debug Cortex-A9x4 SMP
I can debug the program (means I can step through the C code) but when opening the disassembly view I see nothing sensible:
main
S:0x000080B8 : CDPLE p14,#0xa,c13,c13,c13,#5
S:0x000080BC : CDPLE p14,#0xa,c13,c13,c13,#5
S:0x000080C0 : CDPLE p14,#0xa,c13,c13,c13,#5
S:0x000080C4 : CDPLE p14,#0xa,c13,c13,c13,#5
S:0x000080C8 : CDPLE p14,#0xa,c13,c13,c13,#5
In the trace view I can see correct assembler code. Why is the disassembly view not working. I tried to change from arm to thumb instructions but with no success. I am using the
ARM DS-5 Ultimate Edition (Evaluation)
Version: 5.20.1
Any ideas?
best
Matthias
Hello,
the problem is not solved but I made the observation that the topic is somehow related to a scatter file. When using a "right" scatter file for my FVP it is working.
(But I still don't understand why the problem is only concerns the disassembly view).