meshtastic/docs/getting-started/flashing-nrf52.md

49 lines
2.2 KiB
Markdown
Raw Normal View History

---
id: flashing-nrf52
title: Flashing nRF52 devices firmware
sidebar_label: nRF52 devices
2022-03-04 12:06:18 -08:00
pagination_prev: getting-started/flashing-firmware
2022-03-04 12:11:13 -08:00
pagination_next: getting-started/clients
---
2021-12-07 20:50:23 -08:00
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## Prerequisites
2021-07-15 02:29:21 -07:00
### Device connectivity
2021-07-15 02:29:21 -07:00
Ensure your computer is communicating with the device correctly by following [these instructions](flashing-firmware).
### Download Latest Firmware
Firmware can be downloaded from the [Downloads](/downloads) page. Your initial installation has to happen over USB from your Mac, Windows, or Linux computer. Over the air updates are currently only available using the Android application after this initial installation.
2021-07-15 02:29:21 -07:00
### WisBlock RAK4631 Bootloader
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.
:::tip
[Meshtastic Flasher](meshtastic-flasher) can assist you in updating the bootloader to the latest version.
:::
## Install/Update Firmware
2021-12-07 20:50:23 -08:00
:::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 your computer complains about needing to format a new drive, cancel the format command.
2022-01-02 22:53:45 -08:00
- Double click the `Reset` button on your device, this will put it into bootloader mode.
2021-12-07 20:50:23 -08:00
[<img alt="LILYGO T-Echo" src="/img/hardware/t-echo-lilygo.jpg" style={{zoom:'25%'}} />](/img/hardware/t-echo-lilygo.jpg)
2021-12-07 20:50:23 -08:00
- 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.
:::note
2021-12-07 20:50:23 -08:00
You are going to copy/drop "as is" 'firmware-xxxxx-1.2.x.uf2' (_NOT_ over the "CURRENT.UF2" file) in the volume, and the device reboot will copy it/load it correctly.
:::
2021-12-07 20:50:23 -08:00
- Once the file has finished copying over, the device will reboot, loading the new firmware as it does.