Skip to content

Commit 1420639

Browse files
committed
Create Reset-the-flash-memory-on-STM32H747-based-devices.md
1 parent a1c2c80 commit 1420639

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Reset the flash memory on STM32H747-based devices"
3+
---
4+
5+
Learn how to reset the QSPI flash memory for STM32H747-based Arduino devices by uploading a utility sketch. The sketch will remove any previous partitioning scheme, and recreate the factory-defined partition scheme. Finally, the latest connectivity firmware and TLS certificates are reinstalled.
6+
7+
This procedure can help resolve issues with storage or connectivity.
8+
9+
Supported devices:
10+
11+
* GIGA R1 WiFi
12+
* Opta
13+
* Portenta H7
14+
* Portenta Machine Control
15+
16+
---
17+
18+
**Follow these steps:**
19+
20+
1. Download the following sketch:
21+
22+
[memory_partitioning.zip](https://docs.arduino.cc/3147be35e0c40957022af51f015c3e4d/memory_partitioning.zip){.link-download}
23+
24+
1. Open the sketch in your editor:
25+
26+
* Arduino IDE: Extract the .zip into your [Sketchbook](https://support.arduino.cc/hc/en-us/articles/4412950938514-Open-the-Sketchbook-folder). Ensure both `memory_partitioning.ino` and `certificates.h` are inside a folder named `memory_partitioning`.
27+
28+
* Cloud Editor: Open the [Sketches tab](https://app.arduino.cc/sketches) and click on the **Create** button in the top-right corner. Select **Import local file**.
29+
30+
1. Open the imported sketch in your editor.
31+
32+
1. Connect your device to your computer and select the device in the editor.
33+
34+
1. Click ![Upload button](img/symbol_upload2.png) **Upload** to upload the sketch to the device.
35+
36+
1. Click the ![Serial Monitor button](img/symbol_monitor.png) **Serial Monitor** button in the top-right corner or select Tools > Serial Monitor (IDE only).
37+
38+
1. Open the Serial Monitor. When this message appears, the process is complete:
39+
40+
```
41+
Firmware and certificates updated!
42+
It's now safe to reboot or disconnect your board.
43+
```

0 commit comments

Comments
 (0)