Skip to Content

Flash Write Block Description

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



Flash Write block

Table of Contents

Inputs

Input NameTypeDescription
Addressuint32The target base memory address within Flash memory where the data is written.
Data[ ]uint8The 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 NameTypeDescription
Statusuint8Outlines the final operational execution status of the Flash write command sequence:
1 – operation completed successfully
0 – operation failed

Block Parameters

ParameterDescription
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 countThe total number of consecutive data units scheduled to be written into the Flash memory space.


Parameters for Flash Write block

CubeMX Configuration for a Given MCU Model

This block does not require any additional setup inside CubeMX.

See Also

Last updated on