QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1804|回复: 0

rtc驱动问题,请各位大虾指点

[复制链接]
发表于 2006-12-21 17:10:38 | 显示全部楼层 |阅读模式
我在使用DS1307时钟芯片的过程中,添加了该芯片的驱动,但是却出现了下面的错误,不解,是不是我的DS1307_I2C_SLAVE_ADDR设置不对, DS1307_I2C_SLAVE_ADDR是读写地址的哪一个呢?

请路过的朋友指点一下,谢谢先!!!

Unable to handle kernel NULL pointer dereference at virtual address 00000028
mm = c0282120 pgd = c0f74000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<c00e5dbc>]    lr : [<c00e68bc>]    Not tainted
sp : c0837e2c  ip : 00000000  fp : c0837e74
r10: 00002000  r9 : bfffddec  r8 : c0aad000
r7 : c0837eb8  r6 : c0aad000  r5 : c01bec84  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : 00000040  r0 : c0837eb8
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C000317F  Table: 20F74000  DAC: 00000015
Process cat (pid: 93, stack limit = 0xc0836374)
Stack: (0xc0837e2c to 0xc0838000)
7e20:                            0002bbe0 c002bcf4 00000001 c01b40c0 20000013
7e40: 00000041 c01b6488 c0f79980 00000000 c01b6248 c01b6484 000001d2 c0837e98
7e60: 00000000 00000c00 c0837f18 c0837e78 c00e68bc c00e5dac c0f79980 c0282120
7e80: 00000000 c01cfab0 c05327f4 c0837ea8 20c550bf c021cec4 c0f79980 c0837ed4
7ea0: c0837eac c00369a0 c0022754 bfffd000 c0282120 c0f79980 c0282120 20000013
7ec0: 00000041 c01b6468 00000000 00000000 c01b6248 c01b6464 000001f0 c0837f18
7ee0: c0837eec c0041a80 c0041508 c0836000 00002000 c0292d20 00000000 00000c00
7f00: c0aad000 c0837f4c c0292d40 c0837f38 c0837f1c c00e6b08 c00e68a8 00002000
7f20: 00000c00 00000000 c0aad000 c0837f78 c0837f3c c00660a0 c00e6af8 c0837f48
7f40: 00000000 c02e74a0 00000000 00000000 00002000 c0292d20 ffffffea 00000000
7f60: bfffddec c0836000 400dc26c c0837fa4 c0837f7c c00476d0 c0065f98 400dc26c
7f80: c0837fac 00000003 00002000 bfffddec 00000003 c001c584 00000000 c0837fa8
7fa0: c001c3e0 c0047604 00000003 c002250c 00000003 bfffddec 00002000 fbad2084
7fc0: 00000003 00002000 bfffddec 00000003 00000002 0202e094 400dc26c bffffeb8
7fe0: 40092f20 bfffddd8 0202ff54 40092f24 60000010 00000003 d43a9cd7 96d23999
Backtrace:
Function entered at [<c00e5d9c>] from [<c00e68bc>]
r5 = 00000C00  r4 = 00000000
Function entered at [<c00e6898>] from [<c00e6b08>]
r8 = C0292D40  r7 = C0837F4C  r6 = C0AAD000  r5 = 00000C00
r4 = 00000000
Function entered at [<c00e6ae8>] from [<c00660a0>]
r7 = C0AAD000  r6 = 00000000  r5 = 00000C00  r4 = 00002000
Function entered at [<c0065f88>] from [<c00476d0>]
Function entered at [<c00475f4>] from [<c001c3e0>]
r8 = C001C584  r7 = 00000003  r6 = BFFFDDEC  r5 = 00002000
r4 = 00000003
Code: e59f5078 e24dd034 e54b3045 e595c000 (e1dc22b
Segmentation fault
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 04:27 , Processed in 0.037633 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表