mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-14 17:44:37 -08:00
b7237bad99
* updates and organizational changes to docs * fixed broken links Co-authored-by: sigmahour <>
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
---
|
|
id: flashing-nrf52-devices
|
|
title: Flash NRF52 Devices
|
|
sidebar_label: NRF52 Device
|
|
sidebar_position: 2
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
|
|
If you have RAK NRF based devices or a LilyGO T-Echo, [the drag and drop firmware installation process](/docs/getting-started/flashing-firmware/nrf52/flashing-nrf52) is the easiest solution.
|
|
|
|
|
|
## Convert RAK4631-R to RAK4631
|
|
|
|
Running Meshtastic on RAK WisBlock NRF52 based boards relies on the avaliability of the Arduino bootloader.
|
|
|
|
This process only needs to be performed once
|
|
|
|
This conversion requires the use of either a [DAPLink](https://daplink.io/) or [J-Link](https://www.segger.com/products/debug-probes/j-link/). The most reasonably priced and avaliable is the [RAKDAP1](https://store.rakwireless.com/products/daplink-tool).
|
|
|
|
1. Install [Python](https://www.python.org/downloads/)
|
|
2. Install [pyOCD](https://pyocd.io/)
|
|
|
|
```shell
|
|
pip3 install pyocd
|
|
```
|
|
|
|
3. Download the required bootloader: [WisCore_RAK4631_Board_Bootloader.hex](https://github.com/RAKWireless/WisBlock/releases/download/0.4.2/WisCore_RAK4631_Board_Bootloader.hex)
|
|
4. Connect the RAKDAP as follows:
|
|
[<img src="/img/rak4631-rakdap1.png" style={{zoom:'25%'}} />](/img/rak4631-rakdap1.png)
|
|
5. Flash the bootloader
|
|
|
|
```shell
|
|
pyocd flash -t nrf52840 .\WisCore_RAK4631_Board_Bootloader.hex
|
|
```
|
|
|
|
6. Continue with the [normal instructions](/docs/getting-started/flashing-firmware/nrf52/flashing-nrf52)
|
|
|
|
Alternate methods of flashing are outlined [here](https://github.com/RAKWireless/WisBlock/tree/master/bootloader/RAK4630). |