-
-
Notifications
You must be signed in to change notification settings - Fork 12
Create Reset-the-flash-memory-on-STM32H747-based-devices.md #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
1420639
Create Reset-the-flash-memory-on-STM32H747-based-devices.md
seaxwi 62b256d
Update content/Hardware Support/Generic/Reset-the-flash-memory-on-STM…
seaxwi d77a580
Added more info on uses of procedure
seaxwi 1aee0e9
Format PLC IDE runtime info as note
seaxwi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
...t/Hardware Support/Generic/Reset-the-flash-memory-on-STM32H747-based-devices.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: "Reset the flash memory on STM32H747-based devices" | ||
--- | ||
|
||
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. | ||
|
||
You may want to use this procedure to: | ||
|
||
* Restore the factory-defined memory allocation for full support of Arduino IDE or Arduino Cloud. | ||
* Resolve issues with storage or connectivity. | ||
|
||
> [!IMPORTANT] | ||
> Resetting the flash memory will remove the PLC IDE runtime. [Reinstall the runtime](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license/#3-download-the-runtime) to continue using PLC IDE with your device. | ||
|
||
Supported devices: | ||
|
||
* GIGA R1 WiFi | ||
* Opta | ||
* Portenta H7 | ||
* Portenta Machine Control | ||
|
||
--- | ||
|
||
**Follow these steps:** | ||
|
||
1. Download the following sketch: | ||
|
||
[memory_partitioning.zip](https://docs.arduino.cc/3147be35e0c40957022af51f015c3e4d/memory_partitioning.zip){.link-download} | ||
|
||
1. Open the sketch in your editor: | ||
|
||
* 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`. | ||
|
||
* 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** in the dropdown menu and import `memory_partitioning.zip`. | ||
|
||
1. Open the imported sketch in your editor. | ||
|
||
1. Connect your device to your computer and select the device in the editor. | ||
|
||
1. Click  **Upload** to upload the sketch to the device. | ||
|
||
1. Click the  **Serial Monitor** button in the top-right corner or select Tools > Serial Monitor (IDE only). | ||
|
||
1. Open the Serial Monitor. When this message appears, the process is complete: | ||
|
||
``` | ||
Firmware and certificates updated! | ||
It's now safe to reboot or disconnect your board. | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.