Problem with SD card data Write

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by schisanoa on Thu Feb 05 06:34:39 MST 2015
Hi, I'm testing a firmware that save data into an SD card(with example code included in LPC Open), on a LPC4088, and I discovered that if I write 16384 byte, and then read it back the last 512 byte wrote are always all set to 0.
It happens also with 32768 byte. I've not tested over that.

Another important thing I discovered is that this problem happens only when DMA is used, if I disable DMA and use FIFO the system work fine. Could someone help me to find the origin of the problem in order to solve it?

Thaks in advance