Location:
Search - sd fs
Search list
Description: This demo uses the selected hardware platform as an SD card reader. Connect the hardware platform to a computer through a USB cable.
To run this project, you will need to load the corresponding firmware into the devices. There are two methods available for loading the demos: Precompiled demos and source code projects.
Precompiled Demos are available in the “\USB – Precompiled Demos” folders. Each demo should be prefaced with the hardware platform it is compiled for. Select the file that matches the hardware that you have and the demo that you want to run. For more information about how to load a precompiled project, please see the “Getting Started – Loading a precompiled demo” guide.
The source code for this demo is available in the “Topics…->MPLAB IDE).
Please note that when using either the C30 or C32 demo projects you will be required to select the correct processor for the demo board.
1) Open the associated project file
2) In MPLAB Select “Configure->Select Device”
3) In the device list box in the top left corner of that window, select the desired device.
NOTE WHEN USING THE HID BOOTLOADER (for PIC18F87J50 PIM): The “USB Device - Mass Storage - SD Card reader” and “USB Device - Mass Storage - SD Card data logger” demos make use of the SD Card PICtail Daughter Board (Microchip® Direct: AC164122). This PICtail uses the RB4 I/O pin for the card detect (CD) signal, and is actively driven by the PICtail. The active drive overpowers the pull up resistor on the RB4 pushbutton (on the PIC18F87J50 FS USB Plug-In Module board). As a result, if the PIC18F87J50 is programmed with the HID bootloader, and an SD Card is installed in the socket when the microcontroller comes out of reset, the firmware will immediately enter the bootloader (irrespective of the RB4 pushbutton state). To exit the bootloader firmware, remove the SD Card from the SD Card socket, and tap the MCLR button. When the SD Card is not plugged in, the PICtail will drive the card detect signal (which is connected to RB4) logic high, which will enable the bootloader to exit to the main application after coming out of reset. Once the main application firmware is operating, the SD Card can be plugged in. The SD Card is “hot-swappable” and should be recognized by the host upon insertion. To avoid this inconvenience when using the bootloader with the PICtail, it is suggested to modify the bootloader firmware to use some other I/O pin for bootloader entry, such as RB0 (which has a pushbutton on it on the HPC Explorer board).
Platform: |
Size: 773398 |
Author: bluntpig |
Hits:
Description: 集STM32 Cortex ARM SD卡FATFS文件系统、BMP文件解析、TFT 驱动于一体,可直接用于数码相框等应用,编程风格规范,注解详细,含作者很多调试心得,学习好资料
Platform: |
Size: 2560426 |
Author: wwwonder001 |
Hits:
Description: 开发工具:ads1.2 或 gcc for linux
说明:可以供阅读嵌入式fs时参考。内含flash file system驱动原理介绍,以及uclinux和usos2下的各种文件系统实现(yaffs2,ffs,cf card,sd card,fat等),主要是周立功和优龙的代码。-Tools : ads1.2 or gcc for linux : can be read for Embedded fs reference. Intron flash file system driver on principle, Basis and usos2 and the various documents System (yaffs2, ffs. cf card, sd card, fat, etc.), Zhou, who is the main priority and Lung code.
Platform: |
Size: 5876736 |
Author: kvb |
Hits:
Description: 基于周立功的lpc213x的源码,sd卡读写模块-Ligong lpc213x weeks based on the source, sd card reader module
Platform: |
Size: 168960 |
Author: xcq |
Hits:
Description: 基于LPC2148的UCOSII,已经移植好了GUI,FS和SD卡驱动-Based on the LPC2148
Platform: |
Size: 1028096 |
Author: 张雷 |
Hits:
Description: uC/FS API函数源文件(sd卡的FAT驱动)-uC/FS API function source file (sd card FAT drive)
Platform: |
Size: 13312 |
Author: yehailong |
Hits:
Description: 这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试.
用法很简单, 如下
FILE *fp // 文件指针
unsigned char temp[24]="3.wav" // 文件明需要放在数组里
while(!initialize_media()) // 初始化sd卡
{
Uart_Printf("sd initializing....\n")
}
Uart_Printf("sd ready\n")
fp=fopen(temp, READ) // 打开文件就可以用了, 函数和标准c中的一样,所以不能加载stdio.h
if(!fp)
{
Uart_Printf("open file wrong\n")
while(1)
}
Uart_Printf("open file successed\n") -This code for fat system under 2410, use a sd card
Platform: |
Size: 28672 |
Author: 罗德强 |
Hits:
Description: 本资料包括建立在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
Platform: |
Size: 1565696 |
Author: 乔木 |
Hits:
Description: uc/FS 1.34版本 MMC/SD卡驱动-MMC/SD card driver for uc/FS 1.34
Platform: |
Size: 7168 |
Author: 李佳树 |
Hits:
Description: FAT32文件系统
基于LPC2200,前后台环境,可自己修改适配于各种RTOS。
验证环境: 搭载LPC2200的SmartARM2200开发板,使用该板上的SPI总线利用该程序读写SD卡
由于试验的SD卡比较特殊,1簇仅1扇区,所以不排除该程序对于非该情况的出错可能-FAT32 file system based on the LPC2200, the environment around Taiwan, can modify their own adaptation in a variety of RTOS. Verification environment: SmartARM2200 with the LPC2200 development board, using the on-board SPI bus of the use of the program to read and write SD card SD card as a result of testing is rather special, 1 cluster only 1 sector, so the program does not exclude the situation for non- error may
Platform: |
Size: 783360 |
Author: Freeman |
Hits:
Description: 我改写的在TFT上显示SD卡中BMP文件的程序,使用了一个日本人写的FAT FS-I have rewritten in TFT display BMP files in the SD card procedures, the use of a Japanese writing FAT FS
Platform: |
Size: 89088 |
Author: 刘靖 |
Hits:
Description: STM32-ucos-FS文件系统-uCGUI-SD卡-TFT9325-说有动移植好了,保证能用-STM32-ucos-FS file system-uCGUI-SD Card-TFT9325-said Udo transplant well, can be used to ensure
Platform: |
Size: 2683904 |
Author: taohai |
Hits:
Description: uc/fs文件系统的源码,可配合uc/os构建任意文件系统-uc/fs file system source code, coupled with uc/os build an arbitrary file system
Platform: |
Size: 722944 |
Author: 刘群 |
Hits:
Description: SD卡数据采集与读取,可应用于工业数据频繁采集的场合,有比较实际的意义。-SD card data acquisition and reading, can be applied to industrial data acquisition frequent occasions, there are more practical significance.
Platform: |
Size: 28672 |
Author: 孙文才 |
Hits:
Description: uCOS-II+uCGUI+uCFS ,内有ILI9320,SD卡的驱动的完整-uCOS-II+ uCGUI+ uCFS, there ILI9320, SD card drive complete
Platform: |
Size: 110592 |
Author: cn |
Hits:
Description: 基于单片机的SD语音系统的某一功能:文件索引表管理-Based on SCM SD phonetic system of a certain function: file index table management
Platform: |
Size: 2048 |
Author: stanley |
Hits:
Description: 基于单片机的文件系统应用,也可以试用与ARM系统包括SD卡、分区等功能。-File system based on microcontroller applications, you can also try with the ARM system, including SD card, zoning and other functions.
Platform: |
Size: 31744 |
Author: luyi |
Hits:
Description: STM32usb范例,SD读卡器,免驱鼠标等-STM32usb Example
Platform: |
Size: 2143232 |
Author: |
Hits:
Description: 基于ucos环境下的文件系统,实现多个功能
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(),关闭文件系统.
-Ucos environment based on the file system, multiple functions uc/FS basic use: 1. FS_Init (), call the uc/FS function needs to be initialized before 2. FS_IoCtl (), for medium format ( SD card formatted with a computer, so the format parameter is not given) 3. _write_file, 1) FS_FOpen (), create the document or open an existing file and return file structure pointer 2) FS_FWrite (), data written to the file 3) FS_FClose (), close the file 4. _dump_file, 1) 1) FS_FOpen (), create the document or open an existing file and return file structure pointer 2) FS_FRead (), read the file data 3) FS_FClose () , close the file 5. FS_Exit (), close the file system.
Platform: |
Size: 1600512 |
Author: 詹磊 |
Hits:
Description: YUV420播放器很好用,是个支持VC++播放的的视屏工具-YUV_PLAYER adad dadasd g fg f cv x v d fe x vd f sd fs f
Platform: |
Size: 519168 |
Author: mimr |
Hits: