Projekt

Allgemein

Profil

Aktionen

Diagnose » Historie » Revision 4

« Zurück | Revision 4/8 (diff) | Weiter »
Maximilian Seesslen, 11.01.2024 16:56


Diagnose

  • RTC drift

The drift of intern RTC is enormous. On CANRec its running way to fast (LSE not even enabled? and not used by RTC?).
The calibration is capable to adjust several seconds per month, not per day.
Not sure if an per-device config is even necessary or if it is an per type thing.

CANRec can request time values periodically from all devices. It can only compare it to the own clock, so this is not usefull.
Cordyceps can analyse this. It has a "real" working RTC form the computer.

Events

There is no logging available from devices that are only connected via CAN. The heartbeat "Warning" is nice. But useless as long as
the user does not know whats going on.
An event has to be send via CAN so at least Cordyceps can show the reason of warning.

Each warning needs to handle an Event-code additionally. Having it in the logging would be nice and clean for the using code.

Using something like errno would make it not thread-safe. Having extended logging functions/macros looks acceptable.

Von Maximilian Seesslen vor etwa 1 Jahr aktualisiert · 4 Revisionen