文件名称:UCOSFS_SYS
介绍说明--下载内容均来自于网络,请自行研究使用
本资料包括建立在SD卡和NANDFLASH上的文件系统,具体如下:
SD卡:FAT32
NANDFLASH:FAT16
SD&NAND:整合的文件系统,SD(FAT32)的盘符是"ide",NANDFLASH(FAT16)的盘符是"FLASH"
uc/FS基本使用方法:
1. FS_Init(),在调用uc/FS功能前需要进行初始化
2. FS_IoCtl(),对媒质进行格式化(SD卡用电脑格式化,所以未给出格式化参数)
3. _write_file, 1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FWrite(),数据写入文件
3)FS_FClose(),关闭文件
4. _dump_file,1)1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FRead(),读出文件数据
3)FS_FClose(),关闭文件
5. FS_Exit(),关闭文件系统.
具体文件系统应用接口见fs_api.h-本资料包括建立在SD卡和NANDFLASH上的文件系统,具体如下:
SD卡:FAT32
NANDFLASH:FAT16
SD&NAND:整合的文件系统,SD(FAT32)的盘符是"ide",NANDFLASH(FAT16)的盘符是"FLASH"
uc/FS基本使用方法:
1. FS_Init(),在调用uc/FS功能前需要进行初始化
2. FS_IoCtl(),对媒质进行格式化(SD卡用电脑格式化,所以未给出格式化参数)
3. _write_file, 1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FWrite(),数据写入文件
3)FS_FClose(),关闭文件
4. _dump_file,1)1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FRead(),读出文件数据
3)FS_FClose(),关闭文件
5. FS_Exit(),关闭文件系统.
具体文件系统应用接口见fs_api.h
SD卡:FAT32
NANDFLASH:FAT16
SD&NAND:整合的文件系统,SD(FAT32)的盘符是"ide",NANDFLASH(FAT16)的盘符是"FLASH"
uc/FS基本使用方法:
1. FS_Init(),在调用uc/FS功能前需要进行初始化
2. FS_IoCtl(),对媒质进行格式化(SD卡用电脑格式化,所以未给出格式化参数)
3. _write_file, 1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FWrite(),数据写入文件
3)FS_FClose(),关闭文件
4. _dump_file,1)1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FRead(),读出文件数据
3)FS_FClose(),关闭文件
5. FS_Exit(),关闭文件系统.
具体文件系统应用接口见fs_api.h-本资料包括建立在SD卡和NANDFLASH上的文件系统,具体如下:
SD卡:FAT32
NANDFLASH:FAT16
SD&NAND:整合的文件系统,SD(FAT32)的盘符是"ide",NANDFLASH(FAT16)的盘符是"FLASH"
uc/FS基本使用方法:
1. FS_Init(),在调用uc/FS功能前需要进行初始化
2. FS_IoCtl(),对媒质进行格式化(SD卡用电脑格式化,所以未给出格式化参数)
3. _write_file, 1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FWrite(),数据写入文件
3)FS_FClose(),关闭文件
4. _dump_file,1)1)FS_FOpen(),建立文件或打开已有文件,返回文件结构指针
2)FS_FRead(),读出文件数据
3)FS_FClose(),关闭文件
5. FS_Exit(),关闭文件系统.
具体文件系统应用接口见fs_api.h
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UCOS FAT-SYS
............\NAND
............\....\build
............\....\.....\build.mcp
............\....\.....\build_Data
............\....\.....\..........\CWSettingsWindows.stg
............\....\.....\..........\Debug
............\....\.....\..........\.....\TargetDataWindows.tdt
............\....\.....\..........\DebugRel
............\....\.....\..........\........\build.axf
............\....\.....\..........\........\ObjectCode
............\....\.....\..........\........\TargetDataWindows.tdt
............\....\.....\..........\Release
............\....\.....\..........\.......\TargetDataWindows.tdt
............\....\common
............\....\......\def.h
............\....\......\includes.h
............\....\......\OS_CFG.H
............\....\......\os_cpu.h
............\....\......\Os_cpu_a.s
............\....\......\Os_cpu_c.c
............\....\FS
............\....\..\API
............\....\..\...\api_dir.c
............\....\..\...\api_in.c
............\....\..\...\api_int.h
............\....\..\...\api_misc.c
............\....\..\...\api_out.c
............\....\..\...\fs_api.h
............\....\..\...\fs_dev.h
............\....\..\...\fs_fsl.h
............\....\..\...\fs_info.c
............\....\..\...\fs_int.h
............\....\..\CLIB
............\....\..\....\clibmisc.c
............\....\..\....\fs_clib.h
............\....\..\CONFIG
............\....\..\......\EP7312
............\....\..\......\......\fs_conf.h
............\....\..\......\......\fs_port.h
............\....\..\......\M16C_137X_IP
............\....\..\......\............\fs_conf.h
............\....\..\......\............\fs_port.h
............\....\..\......\Win32
............\....\..\......\.....\fs_conf.h
............\....\..\......\.....\fs_port.h
............\....\..\DEVICE
............\....\..\......\IDE
............\....\..\......\...\ide.h
............\....\..\......\...\ide_drv.c
............\....\..\......\...\ide_x_hw.c
............\....\..\......\...\ide_x_hw.h
............\....\..\......\ram
............\....\..\......\...\r_misc.c
............\....\..\FSL
............\....\..\...\fat
............\....\..\...\...\fat_data.c
............\....\..\...\...\fat_dir.c
............\....\..\...\...\fat_in.c
............\....\..\...\...\fat_ioct.c
............\....\..\...\...\fat_misc.c
............\....\..\...\...\fat_open.c
............\....\..\...\...\fat_out.c
............\....\..\...\...\fs_fat.h
............\....\..\LBL
............\....\..\...\fs_lbl.h
............\....\..\...\lb_misc.c
............\....\..\OS
............\....\..\..\fs_os.h
............\....\..\..\fs_x_ucos_ii.c
............\....\..\sample
............\....\..\......\main.c
............\....\include
............\....\.......\intc.h
............\....\.......\sep4020.h
............\....\.......\ub4020evb.h
............\....\Init
............\....\....\boot_gfd.s
............\....\....\heap.s
............\....\....\int_gfd.s
............\....\....\int_vec_handler.c
............\....\....\memmp.scf
............\....\....\retarget.c
............\....\....\stack.s
............\....\list
............\....\....\emi.c
............\....\....\emi.h
............\....\SOURCE
............\....\......\os_core.c
............\....\......\os_flag.c
............\....\......\os_mbox.c
............\....\......\os_mem.c
............\....\......\os_mutex.c
............\....\......\os_q.c
............\....\......\os_sem.c
............\....\......\os_task.c
............\....\......\os_time.c
............\....\......\ucos_ii.h
............\....\user
............\....\....\user.c
............\NAND
............\....\build
............\....\.....\build.mcp
............\....\.....\build_Data
............\....\.....\..........\CWSettingsWindows.stg
............\....\.....\..........\Debug
............\....\.....\..........\.....\TargetDataWindows.tdt
............\....\.....\..........\DebugRel
............\....\.....\..........\........\build.axf
............\....\.....\..........\........\ObjectCode
............\....\.....\..........\........\TargetDataWindows.tdt
............\....\.....\..........\Release
............\....\.....\..........\.......\TargetDataWindows.tdt
............\....\common
............\....\......\def.h
............\....\......\includes.h
............\....\......\OS_CFG.H
............\....\......\os_cpu.h
............\....\......\Os_cpu_a.s
............\....\......\Os_cpu_c.c
............\....\FS
............\....\..\API
............\....\..\...\api_dir.c
............\....\..\...\api_in.c
............\....\..\...\api_int.h
............\....\..\...\api_misc.c
............\....\..\...\api_out.c
............\....\..\...\fs_api.h
............\....\..\...\fs_dev.h
............\....\..\...\fs_fsl.h
............\....\..\...\fs_info.c
............\....\..\...\fs_int.h
............\....\..\CLIB
............\....\..\....\clibmisc.c
............\....\..\....\fs_clib.h
............\....\..\CONFIG
............\....\..\......\EP7312
............\....\..\......\......\fs_conf.h
............\....\..\......\......\fs_port.h
............\....\..\......\M16C_137X_IP
............\....\..\......\............\fs_conf.h
............\....\..\......\............\fs_port.h
............\....\..\......\Win32
............\....\..\......\.....\fs_conf.h
............\....\..\......\.....\fs_port.h
............\....\..\DEVICE
............\....\..\......\IDE
............\....\..\......\...\ide.h
............\....\..\......\...\ide_drv.c
............\....\..\......\...\ide_x_hw.c
............\....\..\......\...\ide_x_hw.h
............\....\..\......\ram
............\....\..\......\...\r_misc.c
............\....\..\FSL
............\....\..\...\fat
............\....\..\...\...\fat_data.c
............\....\..\...\...\fat_dir.c
............\....\..\...\...\fat_in.c
............\....\..\...\...\fat_ioct.c
............\....\..\...\...\fat_misc.c
............\....\..\...\...\fat_open.c
............\....\..\...\...\fat_out.c
............\....\..\...\...\fs_fat.h
............\....\..\LBL
............\....\..\...\fs_lbl.h
............\....\..\...\lb_misc.c
............\....\..\OS
............\....\..\..\fs_os.h
............\....\..\..\fs_x_ucos_ii.c
............\....\..\sample
............\....\..\......\main.c
............\....\include
............\....\.......\intc.h
............\....\.......\sep4020.h
............\....\.......\ub4020evb.h
............\....\Init
............\....\....\boot_gfd.s
............\....\....\heap.s
............\....\....\int_gfd.s
............\....\....\int_vec_handler.c
............\....\....\memmp.scf
............\....\....\retarget.c
............\....\....\stack.s
............\....\list
............\....\....\emi.c
............\....\....\emi.h
............\....\SOURCE
............\....\......\os_core.c
............\....\......\os_flag.c
............\....\......\os_mbox.c
............\....\......\os_mem.c
............\....\......\os_mutex.c
............\....\......\os_q.c
............\....\......\os_sem.c
............\....\......\os_task.c
............\....\......\os_time.c
............\....\......\ucos_ii.h
............\....\user
............\....\....\user.c