[ECOS] How can I use diag_printf() in ecos ram application? thanks

Jonathan Larmour jifl@eCosCentric.com
Tue Feb 18 17:37:00 GMT 2003


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



More information about the Ecos-discuss mailing list