Flash Write Block Description
This block enables writing data to the microcontroller’s internal Flash memory.

Table of Contents
Inputs
| Input Name | Type | Description |
|---|---|---|
| Address | uint32 | The target base memory address within Flash memory where the data is written. |
| Data[ ] | uint8 | The raw data payload sequence to be written to Flash memory. The total size of the input array is defined by the Data unit count parameter. |
Outputs
| Output Name | Type | Description |
|---|---|---|
| Status | uint8 | Outlines the final operational execution status of the Flash write command sequence:1 – operation completed successfully0 – operation failed |
Block Parameters
| Parameter | Description |
|---|---|
| Data unit size [bytes] | The size of an individual data unit data chunk written down to the Flash memory block. The available configuration selections for this parameter depend directly on the target MCU architecture. |
| Data unit count | The total number of consecutive data units scheduled to be written into the Flash memory space. |

CubeMX Configuration for a Given MCU Model
This block does not require any additional setup inside CubeMX.
See Also
Last updated on