---
id: rp2040-erase
title: Flash rp2040 Factory Erase
sidebar_label: Factory Erase RP2040
sidebar_position: 4
---

import Link from "@docusaurus/Link";

If you encounter problems with your board and you would like to perform a factory reset, follow the instructions below.

To reset the flash storage on your RP2040 board:

1. Download [flash_nuke.uf2](https://datasheets.raspberrypi.com/soft/flash_nuke.uf2) to your computer.
2. Press the BOOTSEL button and while keeping it pressed, connect it to your computer via a USB cable. The board should now appear as a mass storage device on your computer with the label RPI-RP2.
3. Copy the flash_nuke.uf2 file to the device.
4. The board will now restart and the flash memory will be erased.

Once the device has been erased, you can proceed to install the latest Meshtastic firmware on a clean storage filesystem by clicking the link below.

<div className="indexCtasBody">
  <Link
    className={"button button--outline button--lg cta--button"}
    to={"/docs/getting-started/flashing-firmware/nrf52/"}
  >
    Flash nRF52/RP2040 Firmware
  </Link>
</div>
