Flash Read

<< Click to Display Table of Contents >>

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

Flash Read

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

flash_read_block

What can be configured?

flash_read_mask

Configuration item

Selectable option/ Value

Description

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


Program data type

double | single | int8 | uint8 | int16 | uint16 | int32 | uint32

double | single | int8 | uint8 | int16 | uint16 | int32 | uint32

Sample time (sec)

(Sample time)

Specify block sample time.

When to use this block?

1. Load setting data from MCU flash memory (Non volatile).

2. Boot loader application.

3. EEPROM Emulation.

How does this block work?

Input data port:

1. Offset, offset of memory in Flash Sector.

  Example: For Sector 5, memory base is 0x08020000. The actual writing program memory address is 0x08020000 + Offset.

Output data port:

1. Data, reading data from flash memory.

Demos