This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

disassembly view DS-5

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

Parents
  • Hi Matthias,

    the binary code for "CDPLE p14,#0xa,c13,c13,c13,#5" is 0xdeaddead". I think this means the serial (or parallel?) communications trouble with the debugger. That is, instruction codes on the memory could not be fetched successfully. Please check your debugger connection.

    Best regards,
    Yasuhiko Koumoto.

Reply
  • Hi Matthias,

    the binary code for "CDPLE p14,#0xa,c13,c13,c13,#5" is 0xdeaddead". I think this means the serial (or parallel?) communications trouble with the debugger. That is, instruction codes on the memory could not be fetched successfully. Please check your debugger connection.

    Best regards,
    Yasuhiko Koumoto.

Children