FLASH Write

<< Click to Display Table of Contents >>

Navigation:  STM32F0 Target > Block References > On-chip Peripherals > FLASH >

FLASH Write

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

stm32f0_flash_write_block

What can be configured?

stm32f0_flash_write_mask

Configuration item

Selectable option/ Value

Description

Flash Base address

0x8000000

0x8004000

0x8008000

0x800C000

0x8010000

0x8014000

0x8018000

0x801C000

Flash memory base address to for Flash Write block.

Program data type

double | single | int16 | uint16 | int32 | uint32

Data type to write into flash.

Enable Status port

Checked | Unchecked

Enable of Disable status port for flash write operation.

Busy, Status = 1

Write protect, Status = 2

Program Error, Status = 3

Complete, Status = 4

Timeout, Status = 5

Sample Time (Sec)

(sampletime)

Specify block sample time.

 

Note: Flash must be erased before write new data.

When to use this block?

For application need store data Flash memory or run-time firmware upgrade.

The block Write data to Flash memory at specific memory address (Flash Base address + Offset).

Demo