Hello,
I want to use FlashFs but I'm also using USB on my LPC2368. Therefore I can not relocate the cache buffer to memory address 0x7FD00000 (start USB memory) because this is already in use. The LPC2368 user manual specifies only DMS access to USB memory, so I can not use the ethernet ram for this purpose... Is it possible to use FlashFs without DMA? What do I have to do for this?
Regards,
Roland Beuker
I could be wrong but, I didn't see any part using the DMA (maybe the MCI driver?), I think its placed at 0x7FD00000 just as default. Try and change the cache to another position.
Yes I'm talking about the MCI driver (for accessing a SD Card with FlashFs). In this situation DMA is used, and therefore another cache position is not working...
You will have to rewrite mci_write_sect and mci_read_sect functions to work without DMA.
But it seems that MCI would have to be serviced without loosing anything from FIFO meaning no interrupts that would block MCI FIFO filling and emptying for longer time than MCI can work with it.
In other ways without DMA you will probably have to drive the card via SPI.