Merge pull request #56 from apt105/ttgo

Adding instructions for flashing nRF52 devices
This commit is contained in:
Sacha Weatherstone 2021-07-17 19:24:13 +10:00 committed by GitHub
commit c8b3a64beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 6 deletions

View file

@ -1,7 +1,7 @@
---
id: flashing-firmware
title: Flashing Firmware
sidebar_label: Flashing Firmware
id: flashing-esp32
title: Flashing ESP32 devices firmware
sidebar_label: ESP32 devices
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

View file

@ -0,0 +1,38 @@
---
id: flashing-nrf52
title: Flashing nRF52 devices firmware
sidebar_label: nRF52 devices
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## Pre-requisits
Please ensure that you use a data USB cable, as some cables provide power only and not the data lines.
### T-Echo
You may need to install the [USB device drivers](http://www.wch-ic.com/search?q=ch340&t=downloads) if your device does not show up when connected.
### WisBlock RAK4631
Please ensure that you have updated the bootloader to the latest version using the information on the [RAK Documentation Center](https://docs.rakwireless.com/Product-Categories/WisBlock/RAK4631/Quickstart/#how-to-check-if-you-have-the-updated-rak4631-bootloader) website.
## Download Latest Firmware
Prebuilt binaries for the supported radios are available in our releases. Your initial installation has to happen over USB from your Mac, Windows or Linux PC. Once our software is installed, all future software updates happen over bluetooth from your phone.
<!--- TODO I'd like to create prettier buttons for this than just a table --->
| [Current Firmware](https://github.com/meshtastic/meshtastic-device/releases/latest) | [List of Firmware Versions](https://github.com/meshtastic/meshtastic-device/releases/) |
| :--------------: | :-----------------------: |
## Install/Update Firmware
:::caution
Be careful to install the correct load for your board. While it is unlikely that you will cause damage to your device, the wrong firmware will cause it to not work.
:::
* Connect your device to your computer with a USB cable. If you computer complains about needing to format a new drive, cancel the format command.
* Double click the reset button on your device, this will put it into boot loader mode.
* A new drive will then be mounted on your computer. Open this drive and you should see three files: `CURRENT.UF2`, `INDEX.HTM`, and `INFO_UF2.TXT`
* Copy the appropriate `firmware-xxxxx-1.2.x.uf2` file from the firmware zip file onto the new drive.
* Once the file has finished copying over, the device will reboot, loading the new firmware as it does.

View file

@ -32,6 +32,8 @@ If your device already has Meshtastic flashed to it, You can update it over the
- Install using the command line interface (CLI)
- Install using a graphical user interface (GUI)
The firmware installation method will also depend on whether you have an ESP32 based device or a nRF52 based device. See our [hardware section](/docs/hardware) to determine which microcontroller your device is based on.
## Connect to your Device
There are many ways to connect to your new radio!

View file

@ -27,5 +27,6 @@ There is currently fledgling support for the WisBlock RAK4631 module. The WisBlo
* [Purchase Link](https://docs.rakwireless.com/Product-Categories/WisBlock/RAK4631/Overview)
* [Installation instructions](https://docs.rakwireless.com/Product-Categories/WisBlock/RAK4631/Quickstart/#rak4631-lora-mesh-via-meshtastic)
* Dont forget to [update the bootloader](https://docs.rakwireless.com/Product-Categories/WisBlock/RAK4631/Quickstart/#updating-the-bootloader) first!
* RAK's [GitHub Page](https://github.com/RAKWireless/WisBlock) for the WisBlock
<img alt="RAK4631 Core Module" src="/img/hardware/rak4631.png" style={{zoom:'50%'}} />

View file

@ -18,5 +18,6 @@ The T-Echo has been in development by LILYGO® over the past few months and has
* firmware file: `firmware-t-echo-1.x.x.uf2`
* [Purchase link](https://www.aliexpress.com/item/1005002842456390.html)
* TTGO's [GitHub page](https://github.com/Xinyuan-LilyGO/LilyGO-T-Echo) for the T-Echo
<img alt="LILYGO T-Echo" src="/img/hardware/t-echo.png" style={{zoom: '15%'}} />

View file

@ -14,7 +14,7 @@ Open the App and you should see a screen like this. You can move through the tab
## Connecting
You will need a device with Meshtastic installed to go any further. See the [flashing firmware](/docs/getting-started/flashing-firmware) section for information on how to do this.
You will need a device with Meshtastic installed to go any further. See the [getting started](/docs/getting-started) section for information on how to do this.
Open the Settings tab (last tab), and it should look similar to the screen below. It shows any Meshtastic devices that are found over Bluetooth.

View file

@ -2,9 +2,11 @@ module.exports = {
Sidebar: {
"Getting Started": [
"getting-started/overview",
"getting-started/flashing-firmware",
{
"Howto's": [],
"Flashing firmware": [
"getting-started/flashing-esp32",
"getting-started/flashing-nrf52",
],
},
"getting-started/concepts",
],