[ECOS] Simple serial comms

Nick Garnett nickg@ecoscentric.com
Fri Jul 3 15:09:00 GMT 2009

grahamlab <graham.labdon@cranems.co.uk> writes:

> I am having no success with the serial tests - here is what I do
> ser_filter -t 9000 /dev/ttyS0 - runs the filter, waits for a connection
> arm-eabi-gdb-nw intsall/tests/io/serial/v3_0/tests/serial3 - gives me the
> gdb prompt
> target remote localhost:9000 - gdb says debugging using localhost:9000 and
> returns to the gdb prompt
> type 'c' - gdb says 'continuing' - then nothing else happens
> What am I missing?

You need to give the baud rate too:

$ ser_filter -t 9000 /dev/ttyS0 38400

However, if you are debugging via RedBoot, it makes more sense to
connect GDB to the serial channel that you are not using for serial
testing and use ser_filter with the -n option.

Nick Garnett                                       eCos Kernel Architect
eCosCentric Limited    http://www.eCosCentric.com       The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.      Tel: +44 1223 245571
Registered in England and Wales:                         Reg No: 4422071

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

More information about the Ecos-discuss mailing list