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

How to see C code when using ULINK2 with Atmel AT91RM9200

I'm using a Keil Ulink2 ICE debugger with an Atmel AT91RM9200 (ARM 9) powered board.
My problem is that it doesn't look like I'm benefiting from all the features of the debugger.
For example, in the Disassembly window, I don't see the C code mixed with the assembly instructions, like in the following picture:

http://www.keil.com/uvision/db_view_disasm.asp

Also, the Debug Settings from the Debug menu is not active.

When I use the simulator from uVision, I can use both of these features. But the simulator doesn't help me too much, as I need the hardware.

Are there some hidden settings in order to fully use the ICE debugger?
Thanks

Parents
  • Hello Valeriu,

    You asked:

    It is incremented by 4 and that's it. Eventually the code gets into a pre-fetch abort or in a loop from the ROM code, depending on how I link it

    To test your hardware configuration, please run one of these examples, found on your hard drive at:

    \Keil\ARM\Boards\Atmel\AT91RM9200-EK

    There are multiple targets for these examples. You can switch between these with the 'Select current Target' pull-down in the build toolbar. See:

    http://www.keil.com/support/man/docs/uv3/uv3_ui_project.htm

    You may not have your retarget.c file configured correctly. Try using the one in these examples.

    Also, when you post any code, including a semihosting file, please place source code source code between 'pre' and '/pre' tags.

    For more information please read the 'Tips for Posting Messages' link in the reply message window.

Reply
  • Hello Valeriu,

    You asked:

    It is incremented by 4 and that's it. Eventually the code gets into a pre-fetch abort or in a loop from the ROM code, depending on how I link it

    To test your hardware configuration, please run one of these examples, found on your hard drive at:

    \Keil\ARM\Boards\Atmel\AT91RM9200-EK

    There are multiple targets for these examples. You can switch between these with the 'Select current Target' pull-down in the build toolbar. See:

    http://www.keil.com/support/man/docs/uv3/uv3_ui_project.htm

    You may not have your retarget.c file configured correctly. Try using the one in these examples.

    Also, when you post any code, including a semihosting file, please place source code source code between 'pre' and '/pre' tags.

    For more information please read the 'Tips for Posting Messages' link in the reply message window.

Children
No data