public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Debugging via JTAG - problems?
@ 2013-04-25  0:13 Lukas Riezler
  2013-04-25  8:03 ` Ilija Kocho
  0 siblings, 1 reply; 15+ messages in thread
From: Lukas Riezler @ 2013-04-25  0:13 UTC (permalink / raw)
  To: ecos-discuss


Hello ecos-guys!

For my FM3-Port I've customized the clocking.
I thougt this would be enough to debug a first "Hello World" application (blinking LED) with JTAG.

What I did is following:

1) I customized clocking (that contains of course customizing the dependent header files and cdl files
2) I built a ecos library. I took care that I disable virtual vector table. Richard Rauch advised me of this because I want ecos to run without RedBoot.
3) I created a makefile project in eclipse
4) with this makefile project I'm now able to compile my "Hello World" application and then linking it with the ecos library
5) an elf file is generated
6) then I did the configurations for debugging in eclipse
7) I use arm-none-eabi-gdb from YAGARTO toolchain (arm-eabi-gdb which comes with ecos doesn't work?), Segger GDB Server and onboard JTAG
8) I am able to start debugging --> the debugger starts at vectors.S and after some steps I get into the main() of Hello World. What makes me a little
   perplex is that I don't leave vectors.S until I reach the main() of Hello World.
   I expected that I should run through the different files of the HAL to see among other things the steps of my clock initialisation.
9) like I said I arrive at main() of Hello World...but exactly the line of code which should cause the LED to switch on is ignored by the debugger!
   A few steps later I get with the debugger to serial.c
Do you know what I'm doing wrong? If there are some passages you don't really understand because of my english --> please tell ;)

---

By the way - can you tell me what I have to do for answering in the mailing-list? I think I still don't understand how that works ;)
With kind regards, Lukas

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-05-08 15:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-25  0:13 [ECOS] Debugging via JTAG - problems? Lukas Riezler
2013-04-25  8:03 ` Ilija Kocho
2013-04-25 13:00   ` Aw: " Lukas Riezler
2013-04-25 13:03   ` Lukas Riezler
     [not found]     ` <CAPrjMDBTTL3K=jw8bN=u0D3qL-K kbqraFgS4e2vL pTrN3mNw@mail.gmail.com>
     [not found]     ` <CAPrjMDBTTL3K=jw8bN=u0D3qL-K_kbqraFgS4e2vL_pTrN3mNw@mail.gmail.com>
2013-04-25 13:38       ` Edgar Grimberg
2013-04-25 14:19         ` Aw: " Lukas Riezler
2013-04-25 15:31           ` Ilija Kocho
2013-04-26 13:00             ` Aw: " Lukas Riezler
2013-05-02 19:36               ` Ilija Kocho
2013-05-07 19:16                 ` Aw: " Lukas Riezler
2013-05-07 21:58                   ` Lukas Riezler
2013-05-07 23:24                     ` Lukas Riezler
2013-05-08  6:45                       ` Ilija Kocho
2013-05-08 15:10                         ` Aw: " Lukas Riezler
2013-05-02 19:05             ` Aw: " Lukas Riezler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).