From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13649 invoked by alias); 7 Jul 2009 08:15:43 -0000 Received: (qmail 13466 invoked by uid 22791); 7 Jul 2009 08:15:39 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtaout03-winn.ispmail.ntl.com (HELO mtaout03-winn.ispmail.ntl.com) (81.103.221.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 08:15:29 +0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090707081526.JJUT5579.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Tue, 7 Jul 2009 09:15:26 +0100 Received: from cog.dallaway.org.uk ([86.9.207.237]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090707081525.PNDZ13254.aamtaout01-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Tue, 7 Jul 2009 09:15:25 +0100 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n678FN6C017578; Tue, 7 Jul 2009 09:15:23 +0100 Message-ID: <4A53041B.5030305@dallaway.org.uk> Date: Tue, 07 Jul 2009 08:15:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: grahamlab CC: ecos-discuss@ecos.sourceware.org References: <24368135.post@talk.nabble.com> In-Reply-To: <24368135.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Serial communications X-SW-Source: 2009-07/txt/msg00027.txt.bz2 Hi Graham grahamlab wrote: > I decided to try and get the serial tests working but have run into some > problems - here is what I do > > In a cmd window I type the command 'ser_filter -t 9000 /dev/ttyS0 38400' > this gives the following output - [b7cc18c0 Tu 07:33:38] > ConnectSocketToSerial : socket 3 <--> /dev/ttyS0 [b7cc18c0 Tu 07:33:38] > Applysettings baud=38400 bParity=0 stopbits=1 databits=8 [b7cc18c0 Tu > 07:33:38] Changing configuration... > [b7cc18c0 Tu 07:33:38] Done. > [b7cc18c0 Tu 07:33:38] ConnectSocketToSerial: waiting for connection... > > In another cmd window I type the command arm-eabi-gdb -x gdb.init > ../../DevBoard_install/tests/io/serial/v3_0/tests/serial3 > At the gdb prompt I type the following commands set remotebaud 38400 set > remote memory-write-packet-size 64 target remote localhost:9000 > > The ser_filter program shows that a connection has been made - [b7cc18c0 Tu > 07:43:12] Connection accepted from localhost - socket 5 [b7cc18c0 Tu > 07:43:12] ConnectSocketToSerial: connected > > At the gdb prompt I type 'c' but nothing further happens. > > What am I doing wrong? Assuming eCos is built for RAM startup, you will need to use the GDB "load" command to download the test to your target: (gdb) target remote localhost:9000 (gdb) load (gdb) continue John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss