Flash Erase

<< Click to Display Table of Contents >>

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

Flash Erase

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

flash_erase_block

What can be configured?

flash_erase_mask

Configuration item

Selectable option/ Value

Description

Transfer

Blocking

The block support Blocking write mode only.

Flash sector

Sector 5:  0x08020000 - 0x0803FFFF

Sector 6:  0x08040000 - 0x0805FFFF

Sector 7:  0x08060000 - 0x0807FFFF

Sector 8:  0x08080000 - 0x0809FFFF

Sector 9:  0x080A0000 - 0x080BFFFF

Sector 10: 0x080C0000 - 0x080DFFFF

Sector 11: 0x080E0000 - 0x080FFFFF


Enable Status port

Checked | Unchecked

Enable/ Disable status port, to check result of operation.

Sample time (sec)

(Sample time)

Specify block sample time.

When to use this block?

Use this block to Erase flash memory sector.

IMPORTANT: Entire sector will be erased.

How does this block work?

This block will Erase the flash memory at specify sector. Recommend put the block in Enable subsystem to control when need to Erase.

Demos