beautypg.com

3 file system (mdf) task processing function, File system (mdf) task processing function – FUJITSU FMB AN706 User Manual

Page 85

background image

AN706-00040-2v0-E

84

7.2.8.3 File System (MDF) Task Processing Function

File System (MDF) processing is executed. (av_demoapp_MDF_task)

After reading MBR (*1) and PBR (*2) data, the number of blocks for each sector is

calculated.

When the MDF file system is initialized, media read and write processing is registered.

Start

MDF operation stage judgment

MDF opened successfully

MDF open processing

(av_demoapp_MDF_open)

Set action stage for MDF stage.

Light LED 1.

MDF close processing

(av_demoapp_MDF_close)

Set MDF stage for initialization stage.

File open

File close

Finish

Initialization

Action

Others

No

Yes

Audio stage initialized?

No

Yes

Figure 59 File System (MDF) Task Processing Function

(*1) Master Boot Record

(*2) Partition Boot Record