From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29635 invoked by alias); 7 Jul 2009 09:29:43 -0000 Received: (qmail 29626 invoked by uid 22791); 7 Jul 2009 09:29:42 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 09:29:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MO6zW-0008JJ-19 for ecos-discuss@ecos.sourceware.org; Tue, 07 Jul 2009 02:29:34 -0700 Message-ID: <24369885.post@talk.nabble.com> Date: Tue, 07 Jul 2009 09:29:00 -0000 From: grahamlab To: ecos-discuss@ecos.sourceware.org In-Reply-To: <4A53041B.5030305@dallaway.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <24368135.post@talk.nabble.com> <4A53041B.5030305@dallaway.org.uk> X-IsSubscribed: yes 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] Serial communications X-SW-Source: 2009-07/txt/msg00028.txt.bz2 John Dallaway-2 wrote: > > 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 > > > When I use load I get the same result!! -- View this message in context: http://www.nabble.com/Re%3A-Serial-communications-tp24354870p24369885.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss