docs: note SIM868 RTC set via AT+CCLK (BUG-18 follow-up)

This commit is contained in:
Mathieu Moran
2026-08-14 19:03:09 -04:00
parent dc3a3d866d
commit c7329186f4
2 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -39,8 +39,11 @@ When CLOSED, move the entire entry to Resolved — don't duplicate.
- **Verification**: DS3231 probes at `0x68` (`UU`), its 24C32 EEPROM at `0x57`, `/dev/rtc0` - **Verification**: DS3231 probes at `0x68` (`UU`), its 24C32 EEPROM at `0x57`, `/dev/rtc0`
registered. Power-cycle test passed — after a full unplug/replug the boot log reads registered. Power-cycle test passed — after a full unplug/replug the boot log reads
`setting system clock to 2026-08-14…` from the RTC (was `2000-01-01` before), and `setting system clock to 2026-08-14…` from the RTC (was `2000-01-01` before), and
`hwclock -r` matches system time. (Debugging note: the first scans were an empty bus due to `hwclock -r` matches system time; the `SET TIME!` recovery line no longer appears (stable
a data-line wiring issue, resolved during re-soldering.) oscillator on CR2032). (Debugging note: the first scans were an empty bus due to a data-line
wiring issue, resolved during re-soldering.) SIM868 HAT RTC was also set to the correct time
via `AT+CCLK` (was factory-default 2004) — its CR1220 hold will be confirmed on the next
power cycle.
### BUG-17 — Server trip timestamps wrong after an offline period ### BUG-17 — Server trip timestamps wrong after an offline period
- **Status**: `CLOSED` 2026-08-14 - **Status**: `CLOSED` 2026-08-14
+4 -2
View File
@@ -2276,8 +2276,10 @@ logged as `BUG-XX` entries in [BUGS.md](./BUGS.md) (BUG-16 onward) and fixed + v
DS3231 install; historical trips 25136/25137 keep their bad data, future trips will be correct. DS3231 install; historical trips 25136/25137 keep their bad data, future trips will be correct.
- **BUG-18 (no RTC) — ✅ FIXED**: DS3231 on I²C (`0x68`) + CR2032 (charge diode removed), config - **BUG-18 (no RTC) — ✅ FIXED**: DS3231 on I²C (`0x68`) + CR2032 (charge diode removed), config
(`dtparam=i2c_arm=on` + `dtoverlay=i2c-rtc,ds3231`), `fake-hwclock` disabled, `i2c-dev` (`dtparam=i2c_arm=on` + `dtoverlay=i2c-rtc,ds3231`), `fake-hwclock` disabled, `i2c-dev`
persisted. Power-cycle test passed — boots with correct time from RTC. SIM868 CR1220 also persisted. Power-cycle test passed — boots with correct time from RTC (stable oscillator, no
installed (secondary). Optional follow-up: `AT+CCLK` boot-time clock fallback in `app_gps.py`. `SET TIME!`). SIM868 CR1220 installed + its RTC set via `AT+CCLK` (was 2004 default); hold
across power-off to confirm on next cycle. Optional follow-up: `AT+CCLK` boot-time clock
fallback in `app_gps.py`.
Open items from the drive — fill in as reported: Open items from the drive — fill in as reported:
- (none clock-related — BUG-17/BUG-18 closed 2026-08-14). - (none clock-related — BUG-17/BUG-18 closed 2026-08-14).