micropython/ports/stm32/boards/WEACT_STM32H743/deploy.md

20 wiersze
644 B
Markdown

### WeAct Studio STM32H7xx
WeAct Studio make a number of STM32H7xx-based boards, they can all be updated
using
[DFU](https://en.wikipedia.org/wiki/USB?useskin=vector#Device_Firmware_Upgrade_mechanism).
### DFU update
Hold the Boot button - the middle of the cluster of three buttons - while the
board is reset (either by connecting USB or by pressing reset). Release the Boot
button shortly after the board has reset. The board ought to now be in DFU mode
and detectable as such from a connected computer.
Use a tool like [`dfu-util`](https://dfu-util.sourceforge.net/) to update the
firmware:
```bash
dfu-util --alt 0 -D firmware.dfu
```