Closed xman5735 closed 1 year ago
This is most likely a timing issue during boot. the 'no GPS' check is coming too early. You don't need to flash the GPS reset sketch by the way, the firmware is sending the same command sequence when it detects the chip needs to be reset.
Thank you. pyCLI claims GPS is enabled. I was unable to find a command to manually tell the board to re-check for gps module. So far, running that sketch is the only way I have found to get the GPS to work again.
Considering the cause of the problem, could the esp32 be getting stuck in a low voltage situation and it causes the gps to disable? I know the esp8266 is susceptible to data corruption from that issue.
Either way, if there is a way to reset it with a command instead of re-flashing, that is good enough for me.
Ill try and get my scope out and test the chip and the internal boost converter this weekend
If the tbeam goes to deepsleep (SDS) and wakes up again then GPS is not powered up. It gets powered down just before deep sleep is initiated. I fixed this in my clone and wanted report as a separate issue, but then I found this one.
If the tbeam goes to deepsleep (SDS) and wakes up again then GPS is not powered up. It gets powered down just before deep sleep is initiated. I fixed this in my clone and wanted report as a separate issue, but then I found this one.
I appreciate you figuring it out and posting about it. I've been focusing mostly on hardware so clearly I was wasting my time.
The latest 2.0.8.090e166 Alpha looks like having the gps on/off fix for TBeam and at least switching gps works now and I will also test if it powers up GPS after SDS
Let us know if you are still seeing this
@garthvh Thanks, I forgot to comment that GPS comes up properly after SDS
Category
Other
Hardware
T-Beam
Firmware Version
2.0.0.18ab874, 2.0.3.09fe616 Alpha
Description
I have confirmed this with 4 of my ttgo t-beam v1.1. Low battery shutoff and occasionally hard resets will cause the device to output 'no gps module' and the log states 'GPS FactoryReset requested'. I then flash the device with the gps NMEA reset sketch modified by ErikThevking. GPS works again and then I reinstall the meshtastic software, everything works as expected.
I have the other logs when things are working properly and after the sketch, if wanted.
Relevant log output