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: testing serial2 on EB40


Patrick Otto wrote:
> 
> I tried the serial2 test file on the ARM-EB40 board. Download and so on
> works well but where are the messages which should be send?

GDB won't show you anything which isn't a true GDB packet. That's why this
test prints a raw string *as well as* a GDB encoded string. The GDB string
is the "PASS:<serial2 test OK>". So yes, that means it works!

Jifl

> Packet received:
> O494E464F3A3C57726974696E6720612072617720737472696E6720746F20746865207365726
> 9616C206465766963652E2E2E3E0A
> INFO:<Writing a raw string to the serial device...>
> Packet received:
> O494E464F3A3C57726974696E6720612047444220656E636F64656420737472696E6720746F2
> 07468652073657269616C206465766963652E2E2E3E0A
> INFO:<Writing a GDB encoded string to the serial device...>
> Packet received: O504153533A3C73657269616C322074657374204F4B3E0A
> PASS:<serial2 test OK>
> Packet received: O455849543A3C646F6E653E0A
> EXIT:<done>
> remote_stop called


-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "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]