LilyGo-LoRa-Series/firmware/GPS_Reset/README.MD

91 lines
2.9 KiB
Markdown
Raw Normal View History

2022-09-20 09:36:19 +08:00
2024-04-23 15:57:50 +08:00
# GPS Reset firmware
- If the GPS is set to unknown parameters by mistake, causing the GPS to fail to operate normally, you can try to reset the GPS firmware.
- [T-Beam V1.x version record Video](https://youtu.be/Otu5d0fB6HU)
2024-04-23 16:07:27 +08:00
- [T-Beam Supreme GPS record Video](https://youtu.be/yYLgRMr5WDY)
2024-04-23 15:57:50 +08:00
2024-05-15 17:59:37 +08:00
| name | firmware |
| ------------------------- | --------------------------------------- |
| TBEAM_V1X_NMEA_RESET.bin | [firmware](./TBEAM_V1X_NMEA_RESET.bin) |
| TBEAM_V3.0_NMEA_RESET.bin | [firmware](./TBEAM_V3.0_NMEA_RESET.bin) |
- If the above two firmwares cannot make the GPS work properly, you can try the following two firmwares. Note that the two firmwares **TBEAM_V1X_NMEA_RESET** and **TBEAM_V3.0_NMEA_RESET** are used first to reset the GPS.
| name | firmware |
| ------------------------- | --------------------------------------- |
| GPS_ reset.bin* | [firmware](./GPS_%20reset.bin) |
| GPS_BasicNMEARead.bin* | [firmware](./GPS_BasicNMEARead.bin) |
2024-04-23 15:57:50 +08:00
## How to Flash ?
### Before burning firmware, please put the board into download mode and follow the steps below
1. Connect the board via the USB cable
2. Press and hold the **BOOT** button , While still pressing the **BOOT** button (If there is no **BOOT** button, you need to use wires to connect **GND** and **IO0** together.)
3. Press **RST** button
4. Release the **RST** button
5. Release the **BOOT** button (If there is no **BOOT** button, disconnect IO0 from GND.)
6. Upload sketch
7. Press the **RST** button to exit download mode
### Use ESP Download Tool
- Download [Flash_download_tool](https://www.espressif.com.cn/sites/default/files/tools/flash_download_tool_3.9.6_0.zip)
![web_flasher](../images/esp_downloader.gif)
* **Note that after writing is completed, you need to press RST to reset**.
### Use Web Flasher
- [ESP Web Flasher Online](https://espressif.github.io/esptool-js/)
![web_flasher](../images/web_flasher.gif)
* **Note that after writing is completed, you need to press RST to reset**.
### Use command line
If system asks about install Developer Tools, do it.
```
python3 -m pip install --upgrade pip
python3 -m pip install esptool
```
In order to launch esptool.py, exec directly with this:
```
python3 -m esptool
```
For ESP32 use the following command to write
```
esptool --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m 0x0 firmware.bin
```
For ESP32-S3 use the following command to write
```
esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m 0x0 firmware.bin
```
## How to check GPS data ?
1. Download [u-center2](https://www.u-blox.com/en/product/u-center)
2. Check the GPS data according to the guide below
![](../images/u-center2.gif)
2022-09-20 09:36:19 +08:00