From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13678 invoked by alias); 7 Jul 2009 11:04:43 -0000 Received: (qmail 13478 invoked by uid 22791); 7 Jul 2009 11:04:40 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,KAM_STOCKTIP,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 11:04:30 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MO8TM-00049E-R2 for ecos-discuss@ecos.sourceware.org; Tue, 07 Jul 2009 04:04:28 -0700 Message-ID: <24371241.post@talk.nabble.com> Date: Tue, 07 Jul 2009 11:04:00 -0000 From: grahamlab To: ecos-discuss@ecos.sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <24368135.post@talk.nabble.com> 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/msg00030.txt.bz2 Well I have some improvement - it ran a test but FAILED! - here is what I got ser_filter output [b7d558c0 Tu 11:55:22] CeCosTestPlatform::Load [b7d558c0 Tu 11:55:22] CeCosTestPlatform::LoadFromDir /home/graham/.eCosPlatforms [b7d558c0 Tu 11:55:22] ConnectSocketToSerial : socket 3 <--> /dev/ttyS0 [b7d558c0 Tu 11:55:23] Applysettings baud=38400 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:55:23] Changing configuration... [b7d558c0 Tu 11:55:23] Done. [b7d558c0 Tu 11:55:23] ConnectSocketToSerial: waiting for connection... [b7d558c0 Tu 11:57:20] Connection accepted from localhost - socket 5 [b7d558c0 Tu 11:57:20] ConnectSocketToSerial: connected [b7d558c0 Tu 11:58:31] Applysettings baud=38400 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:58:31] Changing configuration... [b7d558c0 Tu 11:58:31] Done. [b7d558c0 Tu 11:58:32] Applysettings baud=9600 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:58:32] Changing configuration... [b7d558c0 Tu 11:58:32] Done. [b7d558c0 Tu 11:58:32] Applysettings baud=38400 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:58:32] Changing configuration... [b7d558c0 Tu 11:58:32] Done. [b7d558c0 Tu 11:58:32] Applysettings baud=9600 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:58:32] Changing configuration... [b7d558c0 Tu 11:58:32] Done. [b7d558c0 Tu 11:58:36] SSRead socket error - Read operation after socket closed [b7d558c0 Tu 11:58:36] ConnectSocketToSerial : done [b7d558c0 Tu 11:58:36] ConnectSocketToSerial : socket 3 <--> /dev/ttyS0 [b7d558c0 Tu 11:58:36] Applysettings baud=38400 bParity=0 stopbits=1 databits=8 [b7d558c0 Tu 11:58:36] Changing configuration... [b7d558c0 Tu 11:58:36] Done. [b7d558c0 Tu 11:58:36] ConnectSocketToSerial: waiting for connection... and the gdb output (gdb) load Loading section .rom_vectors, size 0x8 lma 0x68008000 Loading section .ARM.exidx, size 0x10 lma 0x68008008 Loading section .text, size 0x5e2c lma 0x68008018 Loading section .rodata, size 0x624 lma 0x6800de48 Loading section .data, size 0x3f4 lma 0x6800e478 Start address 0x68008019, load size 26716 Transfer rate: 445 bytes/sec, 31 bytes/write. (gdb) c Continuing. [f] Dispatching command PING. [f] Command PING completed. INFO: [f] Dispatching command CONFIG. [f] Parsed Config baud=9600, bParity=0, stopbits=0, databits=8 [f] Parsed Config xonxoff_rx=0,tx=0, rtscts_rx=0,tx=0, dsrdtr_rx=0,tx=0 [f] Config change succeeded. [f] Command CONFIG completed. INFO: [f] Dispatching command BINARY. [f] Finished write, waiting for target echo. [f] Command BINARY completed. PASS: INFO: [f] Dispatching command BINARY. FAIL: [f] **** Timed out while reading -- resuming as null filter [f] Data received 0 bytes (of 4) from target: [f] Program terminated with signal 0, Signal 0. The program no longer exists. (gdb) This looks like my original problem!! -- View this message in context: http://www.nabble.com/Re%3A-Serial-communications-tp24354870p24371241.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