
16 Dec
2010
16 Dec
'10
9:51 p.m.
On Thu, 16 Dec 2010 14:03:09 +0100 Guy Morand Morand@telecontrol.ch wrote:
Hello,
I'm working on a board based on MPC8308 and trying to configure the RTC. The problem is that when I try to write into these registers, their value is always 0x0 !!! I've tried a lot of things such as debugging step by step with gdb/JTAG/Peedi, writing to these registers with the Peedi, desabling address translation, using writel/out_le32/..., they are always 0x0 ! However, writing in RAM works perfectly !
Have you reset the RTC using RTCCR?
And you should be using out_be32()/in_be32(). writel()/out_le32() are for little-endian registers.
I have the same problem with ANY register !
Any IMMR register at all, or any RTC register?
-Scott