mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-12 16:44:20 -08:00
SWDIO instructions - use hex
SWDIO upload uses hex files, not uf2.
This commit is contained in:
parent
8bbe4b9d54
commit
b919477f80
|
@ -7,7 +7,7 @@ description: Instructions for uploading firmware through SWDIO by using a Raspbe
|
||||||
---
|
---
|
||||||
|
|
||||||
Most Meshtastic devices can be flashed simply using USB.
|
Most Meshtastic devices can be flashed simply using USB.
|
||||||
However, some (eg Seeed WM1110) require the use of an external device that can connect via "SWDIO".
|
However, some (eg Seeed WM1110 Dev Kit) require the use of an external device that can connect via "SWDIO".
|
||||||
There are dedicated devices such as the [RAKDAP1](https://store.rakwireless.com/products/daplink-tool)
|
There are dedicated devices such as the [RAKDAP1](https://store.rakwireless.com/products/daplink-tool)
|
||||||
that can do this work. However, for many people a Raspberry Pi is more convenient.
|
that can do this work. However, for many people a Raspberry Pi is more convenient.
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ If you see “Error connecting DP: cannot read IDR”, then you've probably conn
|
||||||
|
|
||||||
## Obtaining Firmware
|
## Obtaining Firmware
|
||||||
Check the instructions for your [hardware](/docs/hardware/devices) to find the correct firmware for your device.
|
Check the instructions for your [hardware](/docs/hardware/devices) to find the correct firmware for your device.
|
||||||
|
For most devices following this guide, a .hex file is required.
|
||||||
Then, copy the firmware file to your Raspberry Pi.
|
Then, copy the firmware file to your Raspberry Pi.
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,7 +94,7 @@ Open On-Chip Debugger
|
||||||
> reset init
|
> reset init
|
||||||
> halt
|
> halt
|
||||||
> nrf5 mass_erase
|
> nrf5 mass_erase
|
||||||
> program new2.uf2 verify
|
> program firmware.hex verify
|
||||||
> reset
|
> reset
|
||||||
> exit 0
|
> exit 0
|
||||||
```
|
```
|
||||||
|
@ -102,4 +103,3 @@ Unplug the power and plug it back in after flashing.
|
||||||
|
|
||||||
## Connecting
|
## Connecting
|
||||||
Congratulations, you should now be able to connect to your device through Bluetooth in the Meshtastic app.
|
Congratulations, you should now be able to connect to your device through Bluetooth in the Meshtastic app.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue