UCSD-E4E / smartfin-fw2

Smartfin FW 2
GNU General Public License v3.0
1 stars 0 forks source link

v2.0.0.4 sometimes reads in GPS time incorrectly #18

Closed ntlhui closed 3 years ago

ntlhui commented 3 years ago
2021-05-29 23:58:27,703 - INFO: /dev/ttyACM0 opened
2021-05-29 23:58:27,712 - INFO: Wet/Dry Sensor LOW
2021-05-29 23:58:27,718 - INFO: Wet/Dry Sensor HIGH
2021-05-29 23:58:27,734 - INFO: Serial - b'Next State: STATE_SESSION_INIT\n'
2021-05-29 23:58:27,740 - INFO: Serial - b'Exit complete\n'
2021-05-29 23:58:27,749 - INFO: Serial - b'Initializing State STATE_SESSION_INIT\n'
2021-05-29 23:58:27,759 - INFO: Serial - b'Entering SYSTEM_STATE_SURF_SESSION_INIT\n'
2021-05-29 23:58:33,761 - INFO: Serial - b'GPS Initialised @ 1847898ms\n'
2021-05-29 23:58:33,766 - INFO: Serial - b'Executing state body\n'
2021-05-29 23:58:33,772 - INFO: Serial - b'GPS Time Recorded @ 1847899ms\n'
2021-05-29 23:58:33,781 - INFO: Serial - b'Setting session name to 20210411-055547\n'
2021-05-29 23:58:33,788 - INFO: Serial - b'Filename is 20210411-055547\n'
ntlhui commented 3 years ago

This resolves after a full power cycle. GPS chip related?

ntlhui commented 3 years ago

smartfin5.log

Indicator that something else is up with either the GPS chip or the driver. Needs more exploration.

ntlhui commented 3 years ago

Test Plan: Test 5, 10, 15, and 20 minute sessions on v2.0.0.4 on SN0005. Repeat test on SN0003 if GPS works.

ntlhui commented 3 years ago

This appears to be not fixable without a rewrite of the GPS module. Marking as duplicate of #1