This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I use diag_printf() in ecos ram application? thanks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]