This is the mail archive of the ecos-discuss@sourceware.org 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]

Question about diag_printf


Hi,

I'm porting RedBoot on a new platform: ATMEL AT697E on EvaB board and I've
got a problem when RedBoot is starting. 

1 - It writes the RedBoot header over the serial link:

    RedBoot(tm) bootstrap and debug environment [RAM]
    Non-certified release, version v2_0 - built 11:14:36, Jan  9 2007

    Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

    RAM: 0x40000000-0x60000000, 0x40011060-0x40100000 available

    This part is always the same.

2 - It writes the RedBoot prompt (with diag_printf):

    RedBoo>t>tt>

    Like you see, this part is altered but not always the same way

3 - Too many arguments - stopped at: 't> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> '
    Too many arguments - stopped at: 't> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> '
    Too many arguments - stopped at: 't> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> '
    Too many arguments - stopped at: 't> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t>
t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t> t

    Few seconds later this message arrives. It corresponds to an error when
receiving a string on the serial link which is not correct. But nothing has
been sent to the serial link. And it is the end of the previous transmitted
string (RedBoot> ).

-> It appears like interferences between transmitting and receiving data on
serial port. What can I do to prevent this behaviour ?

Best regards.

Guillaume.


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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