public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] question about stack assign for interrupt service routine.
@ 2001-07-25  6:09 Tony Ko
  2001-07-25  7:16 ` [ECOS] Question about Hello World eCos example Andre Sebastien
  2001-07-25 11:26 ` [ECOS] question about stack assign for interrupt service routine Jonathan Larmour
  0 siblings, 2 replies; 10+ messages in thread
From: Tony Ko @ 2001-07-25  6:09 UTC (permalink / raw)
  To: ecos-discuss

hi.
i understand new stack is assigned per thread.
then, what about interrupt?
is new stack  assigned per interrupt?

thanks in advance.

tony.


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [ECOS] Question about Hello World eCos example
@ 2001-07-25  7:52 rob.wj.jansen
  0 siblings, 0 replies; 10+ messages in thread
From: rob.wj.jansen @ 2001-07-25  7:52 UTC (permalink / raw)
  To: sebastien.andre; +Cc: ecos-discuss

Andre,

> i execute the program i receive on the HYPER-TERMINAL this :
> $O48656C6C6F2C2065436F7320776F726C64212035200A#BB

This is clearly GDB output.
During build it is decided that your output will always go via your GDB channel.
The reason why printf does not return is because you need to acknowledge this
packet (with a "+").

Same thing happened on my target. Try to remove the GDB stub and rebuild eCos.
If this fails, then search for the point where it is decided that your diagnostics output
has to be via GDB packets. I forgot where this was defined but I somewhere found
that GDB packetized output is done if you have either GDB stubs OR if you use
the RAM memory map (they forgot about JTAG debugging pods).

The diagnostics output is done from packages/hal/arm/pid/current/src/hal_diag.c.
Just place a breakpoint on the hal_diag_write_char() function and you will see.

Regards,

     Rob Jansen

Software Engineer
Competence Center Platforms
BU Mobile Communications
Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
Tel: +31-24-353-6329
Fax: +31-24-353-3613
mailto:Rob.WJ.Jansen@philips.com



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

end of thread, other threads:[~2001-07-25 14:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25  6:09 [ECOS] question about stack assign for interrupt service routine Tony Ko
2001-07-25  7:16 ` [ECOS] Question about Hello World eCos example Andre Sebastien
2001-07-25  7:38   ` Robin Farine
2001-07-25  8:14     ` Andre Sebastien
2001-07-25  8:45       ` Robin Farine
2001-07-25  9:11   ` David Airlie
2001-07-25 11:26 ` [ECOS] question about stack assign for interrupt service routine Jonathan Larmour
2001-07-25 13:59   ` [ECOS] question about GCC for Arm Installation Grant Whitacre
2001-07-25 14:53     ` Jonathan Larmour
2001-07-25  7:52 [ECOS] Question about Hello World eCos example rob.wj.jansen

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).