nRF52 Enter UF2 Mode
nrf52_enter_uf2Reboot an nRF52 Meshtastic node into its UF2 bootloader drive and return the mounted drive details, enabling firmware flashing when the device app is still responsive.
Instructions
Reboot an nRF52 node into its bootloader's UF2 drive and return the drive's info.
Sends enter_dfu_mode_request over the phone API, so the app must be running; for a hung
app, double-press reset instead. The drive appears within a couple of seconds. The node
stays in UF2 mode until a UF2 is written to it or it is power-cycled (uhubctl_cycle).
Requires confirm=True, or the user's answer when the client can ask.
Returns {ok, requested, drive}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nrf52_enter_uf2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The serial port of a board attached to this host by USB (the UF2 drive mounts here, so `tcp://` cannot work); omit to auto-select the one likely Meshtastic device. Keep passing the same `port` to the other `nrf52_*` tools. | |
| confirm | No | `True` once the user agreed; omitted, a client that can ask prompts the human. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||