This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001897] New: lpc2xxx CAN driver improvements / enhancements


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]