#323 closed defect (fixed)

Bug in the mbus / i2c state machine for the Coldfire mcf5206

Reported by: paulw Owned by: Victor V. Vengerov
Priority: normal Milestone: 2
Component: unspecified Version: 4.5
Severity: major Keywords:
Cc: bugs@…, joel.sherrill@… Blocked By:
Blocking:

Description

There is a bug in the state machine for the I2C driver. When sending the first address byte / cmd the state of the state machine is set, and then the byte in sent, if an MBUS interrupt occurs BEFORE the code has set the state, then the state machine locks up.

Release:
RTEMS-4.5

Environment:
Cygwin / Coldfire 5307

How-To-Repeat:
Send continous messages using the I2C bus

Attachments (1)

mcfmbus.c (18.9 KB) - added by paulw on 12/03/06 at 13:31:13.
mcfmbus.c

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 12/02/02 at 17:01:14 by Victor V. Vengerov

Owner: changed from joel to Victor V. Vengerov

comment:2 Changed on 01/03/03 at 16:07:43 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: working->closed
State-Changed-Why: Patch applied.

Changed on 12/03/06 at 13:31:13 by paulw

Attachment: mcfmbus.c added

mcfmbus.c

comment:3 Changed on 10/10/17 at 06:35:44 by Sebastian Huber

Component: miscunspecified
Note: See TracTickets for help on using tickets.