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

Debugging without hardware debugger

Note: This was originally posted on 23rd December 2009 at http://forums.arm.com

Hi,

I have a arm cortex based hardware in which there is a propriety OS is running.
For debugging we use third party hardware debugger.
Please let me know how I can directly debug my target without using hardware debugger?
What should be change in my host PC side and what should I change in device side.
Any help will be greatly appreciated.

Regards
anvik
  • Note: This was originally posted on 23rd December 2009 at http://forums.arm.com

    You have to talk to the guys who provided you the propriety OS.
    If they provide a debug facility , use it. If not , I have no clue...


    Hi,
    Thanks for your inputs  :rolleyes:
    I am using nucleus OS, but in OS code there is no such support.
    How this support is introduced generally in any OS (at which layer)? Due to this we are using hardware debugger.
    Do you have any idea if any open source OS is providing this support?

    Regards
    Anvik
  • Note: This was originally posted on 23rd December 2009 at http://forums.arm.com

    Hi,

    I have a arm cortex based hardware in which there is a propriety OS is running.
    For debugging we use third party hardware debugger.
    Please let me know how I can directly debug my target without using hardware debugger?
    What should be change in my host PC side and what should I change in device side.
    Any help will be greatly appreciated.

    Regards
    anvik


    You have to talk to the guys who provided you the propriety OS.
    If they provide a debug facility , use it. If not , I have no clue...
  • Note: This was originally posted on 23rd December 2009 at http://forums.arm.com

    Hi,
    Thanks for your inputs  :rolleyes:
    I am using nucleus OS, but in OS code there is no such support.
    How this support is introduced generally in any OS (at which layer)? Due to this we are using hardware debugger.
    Do you have any idea if any open source OS is providing this support?

    Regards
    Anvik


    I do not use any OS , so I always use the hardware (as you call it) debugger...

    Linux has built-in debugging support by the well-known GNU tools. AFAIR, there is a specific gdb
    server on the target machine. And there is the usual gdb executable on the development machine.
    They connect through a serial line or ethernet, etc. gdb server uses CPU (BKPT instruction :-) ) and
    kernel facilities to debug any (user) program...

    Free RTOS seems to provide tracing support which I have not used...
    [url="http://www.freertos.org/index.html?http://www.freertos.org/rtos-trace-macros.html"]http://www.freertos.org/index.html?http://...ace-macros.html[/url]
    But CooCox ( [url="http://www.coocox.com"]http://www.coocox.com[/url] ) seems to have debugging support for Cortex-M3 devices...