This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How can I use diag_printf() in ecos ram application? thanks
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Qiang Huang <jameshq at liverpool dot ac dot uk>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 18 Feb 2003 17:37:18 +0000
- Subject: Re: [ECOS] How can I use diag_printf() in ecos ram application? thanks
- References: <BDEPKKELILOKGOAOMONOIEIPCBAA.jameshq@liv.ac.uk>
Qiang Huang wrote:
Thank you very much for your help.
program:
void cyg_user_start(void)
{
diag_printf("Hello everyone\n");
}
I used the following steps:
arm-elf-gdb -nw a.out
set remotebaud 57600
target remote com1
load
continue
Hello everyone
Hello everyone
Hello everyone
Hello everyone
.........
Hello everyone
then I *can* see the output from the screen.
(Did the output come from the mangler?) Does this imply the mangler is ok?
Yes it does.
But I can *not* see the output when I use Insight to run the program
(console window of Insight).
Sounds like an Insight problem, sorry. http://sources.redhat.com/insight
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss