I dug out the info from the data sheet. Seems I send 0x20 to register
A (poke8 0x10800000 0x0A; poke8 0x11700000 0x20).
Problem solved, thanks.
--- In "sletter1" <> wrote:
>
> Ahh, another possibility. I tried reset and clear pins thinking it
> might need a hardware knock, but didn't think of software. I am
> reading the data sheet now...
>
> --- In Eddie Dawydiuk <eddie@> wrote:
> >
> > Hello,
> >
> > > I purchased a TS-7300 without the onboard RTC. I realized that I
> > > really wanted one, so I purchased (a direct replacement,
DS12887A) the
> > > recommended M48T86PC1 module (TS-7300 Manual) and installed it. My
> > > soldering skills aren't the best but are usually adequate. I
noticed
> > > in the schematic (after I installed the RTC) that the part is
slightly
> > > different there, a DS1687.
> > >
> > > I now get errors trying to access the RTC, "Timed out waiting
for time
> > > change." so I know there is something wrong. I did a search and saw
> > > one other thread about this error but no resolution to it.
> > >
> > > The other thread asked for this, I include it in case it is helpful.
> > > :root# cat /proc/driver/rtc
> > > rtc_time : 55:110:55
> > > rtc_date : 2055-55-110
> > > rtc_epoch : 1900
> > > alarm : **:**:55
> > > DST_enable : yes
> > > BCD : yes
> > > 24hr : yes
> > > square_wave : no
> > > alarm_IRQ : no
> > > update_IRQ : no
> > > periodic_IRQ : no
> > > periodic_freq : 0
> > > batt_status : okay
> > > :root#
> > >
> > >
> > > I'm guessing I have one of the following problems, and hope the
group
> > > can help me pin it down.
> > >
> > > 1. I can't solder as good as I thought I could.
> > > 2. I read the wrong document first and should have ordered the
DS1687
> > > 3. I have the driver for the add on pc104 RTC in my kernel (stock
> > > SDCard), not the on board RTC.
> > > 4. I need to modify the driver, and the fix is...
> > > 5. I need to install an older driver, I can get it...
> >
> > If I remember correctly there is a special software knock that
needs to
> > be done to enable the battery on the RTC. Once the battery has
started
> > you can use the hwclock command to read/write the RTC date/time. The
> > software knock is documented in the RTC datasheet.
> >
> > --
> > Best Regards,
> > ________________________________________________________________
> > Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
> > 16610 East Laser Drive Suite 10 | fax: (480) 837-5300
> > Fountain Hills, AZ 85268 | web: www.embeddedARM.com
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|