EmbDev.net

Forum: ARM programming with GCC/GNU tools Winarm and Eclipse and OpenOCD


von Peter R. (mith)


Rate this post
useful
not useful
Hello Everyone-
      I have installed WinARM and have created a new project using one
of the example projects that came with WinArm.  I am trying to figure
out how to edit the makefile to create a .out file so I can debug using
OpenOCD.  Specifically I have chosen the LPC2106_uart0 example project.
Can anyone tell me what to add to the make file to get it to create the
.out file?

Your help is very much appreciated.

Best Regards;
            Pete

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
Peter Rogers wrote:
> Hello Everyone-
>       I have installed WinARM and have created a new project using one
> of the example projects that came with WinArm.  I am trying to figure
> out how to edit the makefile to create a .out file so I can debug using
> OpenOCD.  Specifically I have chosen the LPC2106_uart0 example project.
> Can anyone tell me what to add to the make file to get it to create the
> .out file?

Eclipse has ben included in the lastes WinARM testing version for
tests (sic) only, I sometimes use it as Editor but can not help with the
Eclipse Debugger-"Frontend".

An out-file might be a file in ELF-format including debug symbols. At
least this is what a GNU-debugger (for which Eclipse offers a frontend)
can read and interpret (beside others).

Please check the Yagarto-pages and try the Yagarto "IDE". It comes with
Eclipse/CDT and the Zylin-plugin. J. Lynch has written a good tutorial
(available somewhere on atmel.com, the basic concept ist the same for
LPC2000, the gbd/OpenOCD-init is a little different).

Martin Thomas

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.