Support and General Use > Hardware
iriver h1x0 - RTC (real time clock) mod
jmdearras:
--- Quote from: roolku on December 26, 2006, 11:25:01 AM ---
--- Quote from: jmdearras on December 26, 2006, 10:07:52 AM ---I have ordered a few DS3231 clock chips, with TCXO, and trim. Â They are the same size, and look like the firmware will operate it without change. Â Pinout is different. Â And the -INT/SQW pin defaults to -INT, and it's disabled. Â So no square wave on startup.
--- End quote ---
They have indeed changed the default value for the INTCN on powerup to logic 0.
Let me know how you get on.
--- End quote ---
The parts arrived and I have installed 4 DS3231 chips so far. They work perfectly with the patch code. Also, they have no effect on operation even without RockBox installed, including the alarm patch. The first one I installed was on an old iHP120 I had just repaired, but had not yet flashed Rockbox. After installation, the iRiver firmware ran without noticing the new chip. Then when I flashed Rockbox and installed the patched code, the clock showed up, and alarms worked!
Here's the wiring (DS3231 shown upside down, as installed):
Here's the VBat connection point, from a recommendation:
This point is not directly connected to the battery, there is a RC curcuit in the path of unknown value, that causes this point to rise to vBat (no diode drops) over a few seconds after initial battery connection.
Here's Ground:
Here's the play pad, for the Alarm part of the mod:
I prepared the chip for mounting upside down with superglue by flatening and shortening the leads as below:
(Now that I am writing this, I realize there is no good reason to mount the chip upside down, after bending the leads flat like this! Hindsight is 20/20! )
Here's where I super glued the chip:
Chip installed:
Here's the final product:
Many thanks to my son for taking the pictures, sizing and adding graphics!
YBIC
Jim
Peter200lx:
I'm getting an error when trying to build against the latest CVS, is there anything else I should try?
http://www.rockbox.org/tracker/task/6419
roolku:
--- Quote from: jmdearras on December 27, 2006, 06:49:13 PM ---The parts arrived and I have installed 4 DS3231 chips so far.
--- End quote ---
Great stuff. I have added a link to this posting to the Wiki page.
IpaqMan:
--- Quote from: Peter200lx on January 03, 2007, 11:50:04 AM ---I'm getting an error when trying to build against the latest CVS, is there anything else I should try?
http://www.rockbox.org/tracker/task/6419
--- End quote ---
I ran into that same problem, too. I modified the patch file as follows:
#endif /* HAVE_EEPROM_SETTINGS */
@@ -136,6 +137,8 @@
drivers/rtc/rtc_pcf50605.c
#elif (CONFIG_RTC == RTC_S3C2440)
Software_Samurai:
Fantastic mod! I've been depressed that my poor H120 didn't have an RTC. (But it will soon now!)
IpaqMan: Did you modify the patch file and save it back into the system, or will I need to download the patch file and apply your patch to it?
Cheers!
PS: I ended up buying 10 of the DS3231 chips. As soon as I mod my H120 and make sure it's all working, I'd be more than happy to sell the remaining 9 to anyone for $6/ea (+shipping...probably $2 or less I'm guessing).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version