#1689 closed defect (fixed)

intel flash ERASE times out

Reported by: strauman Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: bsps Version: 4.9
Severity: minor Keywords:
Cc: Blocked By:
Blocking:

Description

The flash driver (libbsp/powerpc/shared/intelFlash.c) fails to scale the ERASE timeout (used to wait for the operation to complete) with the system clock rate. The driver assumes a default clock rate of 50Hz. When the clock rate is substantially higher then the timeout becomes too short.

Attachments (1)

intelFlash.c.diff (2.0 KB) - added by strauman on Aug 25, 2010 at 9:16:24 PM.
patch which fixes the bug

Download all attachments as: .zip

Change History (4)

Changed on Aug 25, 2010 at 9:16:24 PM by strauman

Attachment: intelFlash.c.diff added

patch which fixes the bug

comment:1 Changed on Aug 25, 2010 at 9:17:04 PM by strauman

Milestone: 4.114.9

comment:2 Changed on Aug 25, 2010 at 9:32:04 PM by strauman

Resolution: fixed
Status: newclosed

comment:3 Changed on Aug 25, 2010 at 9:53:58 PM by Joel Sherrill

Replying to comment:3:

I can do that but I'm not sure it would be a 'significant change' as advertised
in the wiki.

If it has a PR, it goes in. And as the branch gets "colder" everything matters.

Note: See TracTickets for help on using tickets.