* [ECOS] Console Implementation
@ 2007-03-26 6:49 Anup Manakeshwar
0 siblings, 0 replies; 4+ messages in thread
From: Anup Manakeshwar @ 2007-03-26 6:49 UTC (permalink / raw)
To: ecos-discuss, anupm
Hi all
does anyone have any idea how console is implemented in ecos.
different layers in console implementation.
I want to take all debug messages on USB.
what steps i should take to do this.
Thanks in Advance,
--
Anup Manakeshwar
Associate Software Engg.
Aftek Ltd.
(www.aftek.com)
----------------------------------------------------------------------
I am not a failure.I have a discovered thousand ways that wont work.
-Edison
--
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] 4+ messages in thread
* Re: [ECOS] console Implementation
2007-03-26 6:52 [ECOS] console Implementation Anup Manakeshwar
2007-03-26 6:59 ` Anup Manakeshwar
@ 2007-03-30 8:59 ` Jürgen Lambrecht
1 sibling, 0 replies; 4+ messages in thread
From: Jürgen Lambrecht @ 2007-03-30 8:59 UTC (permalink / raw)
To: anupm; +Cc: ecos-discuss
If I remember will, in the Virtual Vector Table, there is a function pointer for diag_printf. Change that function pointer to your own USB printf function.
RedBoot does it as ROM monitor: RedBoot searches a communication port, and the RAM application loaded by RedBoot uses the same communication port.
Read Massa's book about it (on http://www.ecosforge.net/trac/wiki/EcosResources you can find it)
I don't know if you use a ROM application (without RedBoot) how to do it.
Kind regards,
Juergen Lambrecht
Anup Manakeshwar wrote:
> Hi All
> I am using eCos 2.0 in one of my project.
> I want to divert all the debug messages to some other interface other
> than standard serial console.
> I have decided to use USB interface to get all the log messages.
> So i already wrote driver for USB.
> The Philips ISP1161x is the chip used for this.
> The USB device is of serial class.
> It works fine...
> Now i want to divert all debug messages to this USB serial port.
> I am not getting how i shud go abt it.
> I am not sure how serial console is implemented...
> can you provide some pointers regarding this.....this will be of great
> help to me ...
>
> Best Regards
> Anup M
>
>
--
Jürgen Lambrecht
Diksmuidse Heerweg 338
8200 Sint-Andries
Tel: +32 (0)50 842901
GSM: +32 (0)476 313389
--
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] 4+ messages in thread
* [ECOS] console Implementation
2007-03-26 6:52 [ECOS] console Implementation Anup Manakeshwar
@ 2007-03-26 6:59 ` Anup Manakeshwar
2007-03-30 8:59 ` Jürgen Lambrecht
1 sibling, 0 replies; 4+ messages in thread
From: Anup Manakeshwar @ 2007-03-26 6:59 UTC (permalink / raw)
To: gary.thomas, ecos-discuss, ecos-discuss, anupm
Hi All
I am using eCos 2.0 in one of my project.
I want to divert all the debug messages to some other interface other
than standard serial console.
I have decided to use USB interface to get all the log messages.
So i already wrote driver for USB.
The Philips ISP1161x is the chip used for this.
The USB device is of serial class.
It works fine...
Now i want to divert all debug messages to this USB serial port.
I am not getting how i shud go abt it.
I am not sure how serial console is implemented...
can you provide some pointers regarding this.....this will be of great
help to me ...
Best Regards
Anup M
--
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] 4+ messages in thread
* [ECOS] console Implementation
@ 2007-03-26 6:52 Anup Manakeshwar
2007-03-26 6:59 ` Anup Manakeshwar
2007-03-30 8:59 ` Jürgen Lambrecht
0 siblings, 2 replies; 4+ messages in thread
From: Anup Manakeshwar @ 2007-03-26 6:52 UTC (permalink / raw)
To: gary.thomas, ecos-discuss, ecos-discuss, anupm
Hi All
I am using eCos 2.0 in one of my project.
I want to divert all the debug messages to some other interface other
than standard serial console.
I have decided to use USB interface to get all the log messages.
So i already wrote driver for USB.
The Philips ISP1161x is the chip used for this.
The USB device is of serial class.
It works fine...
Now i want to divert all debug messages to this USB serial port.
I am not getting how i shud go abt it.
I am not sure how serial console is implemented...
can you provide some pointers regarding this.....this will be of great
help to me ...
Best Regards
Anup M
--
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] 4+ messages in thread
end of thread, other threads:[~2007-03-30 6:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 6:49 [ECOS] Console Implementation Anup Manakeshwar
2007-03-26 6:52 [ECOS] console Implementation Anup Manakeshwar
2007-03-26 6:59 ` Anup Manakeshwar
2007-03-30 8:59 ` Jürgen Lambrecht
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).