We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Keil, I'm having troubles with the LPC2378. Not sure if this is the appropriate forum, but thought I would try my luck.
I am attempting to read blocks from an SD card and reading works except when reading the last block of a file.
I can read back all the "full" (512 byte) blocks of the file, but when reading the last partial block (in this case 240 bytes), the device has an RxOverrun error and fails to complete the read. I am not specifically trying to read 240 bytes, rather I am attempting to read another 512 byte block which should inlcude the last 240 bytes of the file when this occurs.
I am using DMA mode and reading one block at a time. The SD card is a 512 MB model, but the same occurs with other sizes.
Can you help me?
Thanks, Bill