Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Drivers
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity Medium
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by roolku - 2007-06-17
Last edited by nls - 2007-06-19

FS#7321 - I2C driver working unreliable/not working on h1x0

The commit of “ FS#7264  - Build with -Os switch for coldfire targets.” broke the bit bang I2C driver (used for EEPROM and RTC MOD). At first guess because the delay loops get optimised away. It still works when un-boosted, but not at all when boosted.

Closed by  nls
2007-06-19 20:40
Reason for closing:  Fixed
Additional comments about closing:  

Fix comitted

nls commented on 2007-06-19 15:27

As I don't have a h100 to test on I do not know if this helps but it should keep gcc from opimizing away the delay loops

This seems to do the trick - RTC is working again and eeprom contents looks sensible.

I have tested this against the current svn build (rev 13673) on a real iriver h-140. After correcting for the last svn commit that broke the build (2007-06-19 09:54), this does solve the bootloader issue. Thanks nls!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing