Description: Fatfs is an excellent file system, but also an easy-to-portable file system, the current version of Fatfs just need to write six functions and configurations can be done a few macro transplant.
Many transplant Fatfs online articles, remember that a well-written well, I did not find a source, many people regarded reproduced the title as the "a more detailed description FatFs file system migration, the article" the need to refer a friend can go to the next.
Many online Fatfs transplant project, based on the AVR s, STM32 many, but few are ready to transplant a good project based on 51 Keil for reference. I am not familiar with those AVR, STM32, refer to them a little bit awkward ^ _ ^.
For the first time the file system access to SD card and the novice, there is a complete reference of the transplants can greatly reduce instances of migration time and effort.
1, this project is based on one of EDN User upload source packages finishing I personally thi
File list (Check if you may need any files):
为51单片机移植Fatfs文件系统读写SD卡的Keil工程\c8051F340.h
.............................................\diskio.c
.............................................\diskio.h
.............................................\diskio.LST
.............................................\diskio.OBJ
.............................................\ff.c
.............................................\ff.h
.............................................\ff.LST
.............................................\ff.OBJ
.............................................\integer.h
.............................................\mcu_init.c
.............................................\mcu_init.h
.............................................\mcu_init.LST
.............................................\mcu_init.OBJ
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程.lnp
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程.M51
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程_Opt.Bak
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程.plg
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程.Uv2
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程_Uv2.Bak
.............................................\sd.c
.............................................\sd.h
.............................................\sd.LST
.............................................\sd.OBJ
.............................................\spi.c
.............................................\spi.h
.............................................\spi.LST
.............................................\spi.OBJ
.............................................\STARTUP.A51
.............................................\STARTUP.LST
.............................................\STARTUP.OBJ
.............................................\test1_main.c
.............................................\test1_main.LST
.............................................\test1_main.OBJ
.............................................\uart.c
.............................................\uart.h
.............................................\uart.LST
.............................................\uart.OBJ
.............................................\microSD卡SPI模式读写及FATfs移植--Keil工程.Opt
为51单片机移植Fatfs文件系统读写SD卡的Keil工程