 RE: RL-FlashFS combination. Leandro Gentili 1) Does RL-FS support both interface on the same system in parallel? If yes, there require any initialization more than finit()? Yes it's possible. 2) The files i must include in the project are - File_Config.c - MCI_LPC23xx.c/h (SD/MMC driver) - FS_SPI_FlashPrg.c/h (AT45DB321 flash programming) but no SPI driver for LPC23xx, it has only LPC214x driver (SPI_LPC214x.c). Any modification is needed? You need to change in spi_init (SPI_LPC214x.c) the SSP's GPIO and MUX used in your aapp. 3) The source code provided with RL-ARM using native SPI for AT45DBxxx at low speed mode, 400kps (SPI_LPC214x.c) but Atmel DataFlash support up to 30 Mps. The high speed mode (20Mps) for DataFlash does not allow but only support for SD/MMC in SPI mode. The question is how can i configure RL-FS using SSP0 rather than SPI to support DataFlash to get the performance of 20-30Mps? How can i configure SSP0 DMA support as same as in MCI source code (MCI_LPC23xx.c)? Just configure the SSP0 at 20-30Mps, you don't need to use the DMA. 4) The MCI source code (MCI_LPC23xx.c) at function mci_dma_start() it manage to use GPDMA, but the retricted access of GPDMA is buffer support only USB RAM (8Kbyte) and GPDMA peripherals. If i would like to copy file to internal RAM (32Kbyte) using RL-FS such as fread(), is it possible? Also if i would like to copy file from SD/MMC to AT45DB321 and vice versa. How can i manage to use it? The USB RAM buffer is not a restriction to the file size to manage. You don't have to modify nothing. 5) We would like to copy file such as JPEG picture (>16kbyte) between both. Does RL-FS has an interface for file copying? If no, is there any work around code to copy such file using RL-FS? The copy is just a loop of: read(src) - write (dst). |