PiRTC DS3231 won't allow pi to boot

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tfrohling
 
Posts: 9
Joined: Sat Jun 25, 2016 7:20 pm

PiRTC DS3231 won't allow pi to boot

Post by tfrohling »

I have a Pi 4b, 8bg board. When I install the clock on the first three pins from the top, the pi won't boot. I see both the red and green pi leds light up on power up. A short time later the green goes away, with only the red one shining, but the pi does not boot up. I've tested continuity on the 6 pins and none of them are shorted to the others, other than the two 5V pins. I did prepare the pi for the i2c hookup in the /boot/config.txt file and added the module to the /etc/modules file (i2c-dev). Running i2cdetect -y 1 does not detect any i2c modules.

Any idea why this is not working?

Thanks,

ted

Followup. Looked at the kern.log for the failed boot and received:

rtc-ds1307: probe of 1-0068 failed with error -121

but I have a ds3231. Here is the line from /boot/config.txt

dtoverlay=i2c-rtc,ds3231

Why would the kernel be looking for a ds1307? What am I missing.

Here is what I'm running:

Linux camera-server 5.10.94-v7l+ #1518 SMP Thu Jan 27 14:54:16 GMT 2022 armv7l GNU/Linux

Thanks, again.
ted

User avatar
tfrohling
 
Posts: 9
Joined: Sat Jun 25, 2016 7:20 pm

Re: PiRTC DS3231 won't allow pi to boot

Post by tfrohling »

The problem is apparently fixed.
I found that I had an extra dtparam line which probably conflicted.
Fixed with:
dtparam=i2c_arm=on
#dtparam=i2c_vc=on

Sorry for taking up your time.
ted

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”