This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

file system cache problem on LPC1788

LPC1788 with SDHC card attached using 4 data lines, e.g. not SPI. I'm using MDK-PRO 4.60 and my project is RTX based. I'm using networking and the RL-filesystem, with MCI_LPC177x_8x as my memory card driver.

When "File System Cache" is enabled (any value) data transfers to the SDHC card fail. A small fragment, which is equal in size to the FS cache size, is the only thing written to the SDHC card. The WriteBlock routine in the MCI driver fails -- I suspect a DMA issue.

When "File System Cache" is turned off, things are working OK, albeit slowly.

Do I need to relocate the FS cache to any particular place in memory? I see some notes about LPC23xx and FS cache location, but so far I've not read anything about LPC1788.

0