I am working with lpc 2388. In my application I am using sd file system (using FS_ARM_L.LIB by KEIL ) .But I don't understander finit().How do it enter into mci_init()? Please give suggestion regarding this.
finit () -> fat_init () -> mci_init ()
thanks,I see fat_init() in the file_config.c(mcb2300 sd_file),don't call mci_init(),I still don't understander how it enter into mci_init(),and how do it call the fat_init()?
fat_init() in the file_config.c is useless! Are you sure that your MC_DEV == 0?
#if MC_DEV == 0 /* Provide empty functions to reduce code size when MC not used. */ int fat_init (void) { /* Initialize FAT File System driver. */ return (1); }
thanks!now I have been known that the finit() call the fs_init(),fs_spi_init(),fat_init() & mmc_init()(mci_init()).OK? which folder is it source code in?
Maybe:
C:\Keil\ARM\RL\FlashFS\SRC