From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31728 invoked by alias); 19 Mar 2013 19:11:07 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Received: (qmail 31689 invoked by uid 89); 19 Mar 2013 19:11:06 -0000 X-Spam-Sware-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 19 Mar 2013 19:11:03 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 1C1BC4680007 for ; Tue, 19 Mar 2013 19:11:01 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3bM9GI6nuQn7; Tue, 19 Mar 2013 19:11:00 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001802] New: serial high water mark (serial.c) Date: Tue, 19 Mar 2013 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Serial X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: praveenrai@ge.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013/txt/msg00172.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001802 Bug ID: 1001802 Summary: serial high water mark (serial.c) Product: eCos Version: unknown Target: nios2_stratix2_2s60_rohs_tseplus (Stratix II, TSE+ design) Architecture/Host Nios II OS: Status: UNCONFIRMED Severity: normal Priority: low Component: Serial Assignee: unassigned@bugs.ecos.sourceware.org Reporter: praveenrai@ge.com CC: ecos-bugs@ecos.sourceware.org We have Rs232 port on our board to print debug messages, stderr. We can also type commands from terminal (putty, hyper-term, minicom etc) for diagnostics and debugging. Every character typed is echoed back. But for some reason if I do an extensive cycling of command say "switch mode", after 1000 cycles (basically typing "switch mode" for 1000 times at some interval) the text gets truncated and instead of "switch mode" I see "switch mo" and after approx 1 min of this happening I high hit serial high water mark in serial_rcv_char() in serial.c. The condition ( cbuf->nb >= cbuf->high_water ) is true. So far, from debugging, it seems if number of bytes exceed 84 this condition becomes true. I am using eCosPro 2.0.69 release. Any help is appreciated. -- You are receiving this mail because: You are on the CC list for the bug.