ts-7000
[Top] [All Lists]

Re: [ts-7000] RTC registers

To:
Subject: Re: [ts-7000] RTC registers
From: "Don W. Carr" <>
Date: Mon, 21 May 2007 08:54:39 -0500
Look up earlier posts on this, but you basically want to use hwclock to read and write those registers. You should not try to look at them directly.

On 5/21/07, Julien <> wrote:

Hello all,

I'm trying to control date&hours with one of my program. To do this,
I would like to use my TS5620. I read some details in TS7200 manual,
about addresses of RTC registers (starting at 0x11700000), and about
the size (just the first 14 bytes).

Unfortunatly, I don't really understand how it works, since I read
same value from 0x11700000 to 0x1170000E. For example if I write 0xF
at 0x1170000E, I will read 0xF at 0x11700002 too.

1) Is it even possible to succeed in what I want ? I mean handle date/
hours by an application that writes/reads in RTC registers ?

2) Are these registers linked together ? I can't figure out why I
read the same value at an other address after a write operation. My
code is quite simple, I just use a "mmap" with /dev/mem at
0x11700000, and then read or write the first 14 bytes...

Thanks for your help.

Regards.

Julien




--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930 __._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU