Skip to content

Commit

Permalink
Update fw
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Dec 18, 2024
1 parent 4b8b68c commit e33052d
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 97 deletions.
64 changes: 2 additions & 62 deletions firmware/GPS_Reset/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -20,72 +20,12 @@
| GPS_ reset.bin* | [firmware](./GPS_%20reset.bin) |
| GPS_BasicNMEARead.bin* | [firmware](./GPS_BasicNMEARead.bin) |

## 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)
![](../images/u-center2.gif)


82 changes: 52 additions & 30 deletions firmware/README.MD
Original file line number Diff line number Diff line change
@@ -1,41 +1,63 @@


## How to Flash ?

# Firmware description

### 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

├─GPS_ reset_test # GPS reset procedure for t-beam-v1.x
├─NMEA_Reset # GPS reset procedure for t-beam-v1.x
├─T3_SleepTest
├─LORA_C6_test # LORA C6 SX1262
├─hardware_test # Used to detect whether the hardware is normal
│ ├─H594_LoRaS3_1.0
│ ├─lora32_v1.0_433
│ ├─lora32_v1.0_868
│ ├─lora32_v1.0_915
│ ├─lora32_v1.3_868
│ ├─lora32_v1.3_915
│ ├─lora32_v2.0_433
│ ├─lora32_v2.0_868
│ ├─lora32_v2.0_915
│ ├─lora32_V2.1_433
│ ├─lora32_V2.1_868
│ ├─lora32_v2.1_915
│ ├─lorac6_v1.0_868
│ ├─t-beam-v1.1
│ │ ├─SX1262
│ │ ├─SX1268
│ │ ├─SX1276
│ │ └─SX1278
│ ├─t-beam-v3.0
│ └─T3_V1.8_2.4G
└─
```
esptool --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m 0x0 firmware.bin
```

### To write firmware, please check the corresponding link below

[Flash firmware in Mac OS](https://github.com/Xinyuan-LilyGO/LilyGo-Document/blob/master/MacFlashBin.md)
For ESP32-S3 use the following command to write

[Flash firmware in windows](https://github.com/Xinyuan-LilyGO/LilyGo-Document/blob/master/WinFlashBin.md)
```
esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m 0x0 firmware.bin
```
5 changes: 0 additions & 5 deletions firmware/T3_SleepTest/README.MD

This file was deleted.

Binary file removed firmware/T3_SleepTest/SETTING.png
Binary file not shown.
Binary file removed firmware/T3_SleepTest/T3_V1.6.1_SLEEPTEST.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e33052d

Please sign in to comment.