EmbDev.net

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


Author: Peter Rogers (mith)
Posted on:

Rate this post
0 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

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.