Time Stamps On Log Messages Are Wrong
Posted: Wed Jul 19, 2017 3:36 am
The time stamps on log messages increase too fast during boot. This error remains as an offset in time stamps on log messages after boot. The error occurs because the wrong CPU frequency is used as a clock divider during second stage boot. For more detail see https://github.com/espressif/esp-idf/is ... -316258237 .
In my view, rather than correcting the CPU frequency value, a better solution is to use the REF_TICK clock that maintains a constant frequency regardless of CPU frequency as the clock source for log message time stamps. See 3.2.4.2 REF_TICK Source in https://espressif.com/sites/default/fil ... ual_en.pdf .
In my view, rather than correcting the CPU frequency value, a better solution is to use the REF_TICK clock that maintains a constant frequency regardless of CPU frequency as the clock source for log message time stamps. See 3.2.4.2 REF_TICK Source in https://espressif.com/sites/default/fil ... ual_en.pdf .