From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29186 invoked by alias); 3 Jul 2009 15:09:47 -0000 Received: (qmail 29177 invoked by uid 22791); 3 Jul 2009 15:09:46 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from anchor-post-2.mail.demon.net (HELO anchor-post-2.mail.demon.net) (195.173.77.133) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Jul 2009 15:09:39 +0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1MMkOO-0005IV-kD; Fri, 03 Jul 2009 15:09:36 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id B72D113870B; Fri, 3 Jul 2009 16:09:35 +0100 (BST) To: grahamlab Cc: ecos-discuss@ecos.sourceware.org References: <24306125.post@talk.nabble.com> <24307911.post@talk.nabble.com> <24318020.post@talk.nabble.com> <24322375.post@talk.nabble.com> <24323274.post@talk.nabble.com> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Fri, 03 Jul 2009 15:09:00 -0000 In-Reply-To: <24323274.post@talk.nabble.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Re: [ECOS] Simple serial comms X-SW-Source: 2009-07/txt/msg00021.txt.bz2 grahamlab 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