---
tag: m0997
title: Firmware update
brief: Perform in-application firmware update
author: thinkyhead
contrib: reloxx13, p3p, shitcreek
since: 2.0.0

group: control

codes: [ M997 ]

notes: |
        [`M997`](/docs/gcode/M997.html) is not supported by all platforms!

        The following platforms will restart to trigger the update via bootloader\:
        - LPC176x
        - STM32
        - STM32F1


parameters:

examples:
  -
    pre: Trigger firmware update
    code: M997

---

Can be used to trigger a firmware update from the SD card after the firmware binary has been uploaded remotely.
