Dear friends.
I'm trying to Access the RTC non-volatile RAM on a TS7400 board.
Using a Ts7200 and TS-5620 I execute the following commands getting
the expected results :
:dex# peekpoke 8 0x10800000 0x20
:dex# peekpoke 8 0x11700000 0x60
0x60
:dex# peekpoke 8 0x10800000 0x21
:dex# peekpoke 8 0x11700000 0x61
0x61
:dex# peekpoke 8 0x10800000 0x20
:dex# peekpoke 8 0x11700000
0x60
:dex# peekpoke 8 0x10800000 0x21
:dex# peekpoke 8 0x11700000
0x61
As you can see I set the index 0x20h and set the data register to
0x60h. Then I changed to index 0x21h and set the data to 0x61h.
After that I checked the data on index 0x20 = 0x60. And checked data
on index 0x21h = 0x61 as it should be.
When I execute the same commands on a TS7400 board with RTC optional
included, although the manual indicate the same addresses for RTC
index register and data register (0x10800000 and 0x11700000), I can't
set the RAM values :
:root# peekpoke 8 0x10800000 0x20
:root# peekpoke 8 0x11700000 0x60
0x0
:root# peekpoke 8 0x10800000 0x21
:root# peekpoke 8 0x11700000 0x61
0x84
:root# peekpoke 8 0x10800000 0x20
:root# peekpoke 8 0x11700000
0x0
:root# peekpoke 8 0x10800000 0x21
:root# peekpoke 8 0x11700000
0x84
As you can see above it shows very weird values.
I'm running kernel 2.6 on both boards. Please help me.
Best Regards,
Fábio Vaz.
------------------------------------
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/
|