From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17025 invoked by alias); 29 Aug 2013 09:37:37 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 17002 invoked by uid 89); 29 Aug 2013 09:37:37 -0000 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 29 Aug 2013 09:37:37 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 1D0864680013 for ; Thu, 29 Aug 2013 10:37:34 +0100 (BST) 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 NJQOnUqdLF00; Thu, 29 Aug 2013 10:37:29 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001897] New: lpc2xxx CAN driver improvements / enhancements Date: Thu, 29 Aug 2013 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: uwe_kindler@web.de 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-08/txt/msg00011.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001897 Bug ID: 1001897 Summary: lpc2xxx CAN driver improvements / enhancements Product: eCos Version: CVS Target: Other (please specify) Architecture/Host HostOS: Win XP/7 OS: Status: UNCONFIRMED Severity: enhancement Priority: low Component: Patches and contributions Assignee: unassigned@bugs.ecos.sourceware.org Reporter: uwe_kindler@web.de CC: ecos-patches@ecos.sourceware.org Created attachment 2349 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2349&action=edit lpx2xxx CAN driver fix The following patch fixes some issues discovered while porting the CANopen Node project (http://sourceforge.net/projects/canopennode/) to the eCos CAN framework. The following problems have occurred, when the node has been disconnected / connected physically from the CAN bus while the CANopen stack was runnning: 1. Disconnecting the node physically from CAN bus causes a bus off condition for the CAN controller. This caused an endless invocation of the error ISR because of the remaining bus off error condition. The fast ISR invokation blocked the application from running. 2. When the node was reconnected physically to CAN bus again, it could not always properly recover from bus off condition. This also happened after a reset of the CANopen application. The attached patch fixes both issues for lpc2xxx CAN driver. -- You are receiving this mail because: You are on the CC list for the bug.