You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/Hardware Support/Generic/Reset-the-flash-memory-on-STM32H747-based-devices.md
+44-3Lines changed: 44 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,51 @@ Follow these steps:
62
62
63
63
1. Click the **Serial Monitor** button in the top-right corner or select Tools > Serial Monitor (Arduino IDE only).
64
64
65
-
1.Open the Serial Monitor. When this message appears, the process is complete:
65
+
1.You should see the text below in the serial monitor. If the serial monitor is empty, ensure the sketch has finished uploading and press the RST button on the device to restart the sketch.
66
66
67
67
```
68
-
Firmware and certificates updated!
68
+
WARNING! Running the sketch all the content of the QSPI flash will be erased.
69
+
The following partitions will be created:
70
+
Partition 1: WiFi firmware and certificates 1MB
71
+
Partition 2: OTA 5MB
72
+
Partition 3: Provisioning KVStore 1MB
73
+
Partition 4: User data / OPTA PLC runtime 7MB
74
+
Do you want to proceed? Y/[n]
75
+
```
76
+
77
+
1. Type "Y" into the Serial Monitor and press <kbd>Enter</kbd> to proceed.
78
+
79
+
1. The following should now appear in the serial monitor:
80
+
81
+
```
82
+
Do you want to perform a full erase of the QSPI flash before proceeding? Y/[n]
83
+
Note: Full flash erase can take up to one minute.
84
+
```
85
+
86
+
Type "Y" into the Serial Monitor and press <kbd>Enter</kbd> to confirm (recommended).
87
+
88
+
1. The following should now appear in the serial monitor:
89
+
90
+
```
91
+
Do you want to restore the WiFi firmware and certificates? Y/[n]
92
+
```
93
+
94
+
Type "Y" into the Serial Monitor and press <kbd>Enter</kbd> to confirm (recommended).
95
+
96
+
1. The following should now appear in the serial monitor:
97
+
98
+
```
99
+
Do you want to use LittleFS to format user data partition? Y/[n]
100
+
If No, FatFS will be used to format user partition.
101
+
Note: LittleFS is not supported by the OPTA PLC runtime.
102
+
```
103
+
104
+
Type "Y" into the Serial Monitor and press <kbd>Enter</kbd> to confirm (recommended).
105
+
106
+
1. The process is complete when this message appears in the serial monitor:
107
+
108
+
```
109
+
QSPI Flash formatted!
69
110
It's now safe to reboot or disconnect your board.
70
111
```
71
112
@@ -98,7 +139,7 @@ Follow these steps:
98
139
99
140
1. Connect your device to your computer and select the device in the editor.
100
141
101
-
1. Click **Upload** to upload the sketch to the device.
142
+
1. Click **Upload** to upload the sketch to the device. The partitioning and firmware update process will begin automatically when the sketch starts running.
102
143
103
144
1. Click the **Serial Monitor** button in the top-right corner or select Tools > Serial Monitor (IDE only).
0 commit comments